1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Update InvoiceItemTransformer.php

This commit is contained in:
David Bomba 2017-09-20 11:33:35 +10:00 committed by GitHub
parent e1eb97b206
commit 08532cc042

View File

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