Field::kansio()
Version 3.7
Return pages
Version 3.7
Return pages
As default, when asked a method that join -field does not have, join -field will create pages -object and call pages->method()
If field and pages have same method names, you can get pages before calling the method.
use getPages()
Object Pages
Calculate order total amount:
$totalAmount = $Order->order_lines->kansio()->calculate('amount*price');