Update InvoiceItemTransformer.php

This commit is contained in:
David Bomba 2017-09-20 11:33:58 +10:00 committed by GitHub
parent 67ba4c9a11
commit 651fae745e

View File

@ -21,6 +21,8 @@ class InvoiceItemTransformer extends EntityTransformer
'tax_name2' => $item->tax_name2 ? $item->tax_name2 : '',
'tax_rate2' => (float) $item->tax_rate2,
'invoice_item_type_id' => (int) $item->invoice_item_type_id,
'custom_value1' => $item->custom_value1,
'custom_value2' => $item->custom_value2,
]);
}
}