mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Change purchase order transformer type
This commit is contained in:
parent
290ac8dc7e
commit
a7c5779eea
@ -89,7 +89,7 @@ class PurchaseOrderTransformer extends EntityTransformer
|
|||||||
'custom_surcharge_tax3' => (bool)$purchase_order->custom_surcharge_tax3,
|
'custom_surcharge_tax3' => (bool)$purchase_order->custom_surcharge_tax3,
|
||||||
'custom_surcharge_tax4' => (bool)$purchase_order->custom_surcharge_tax4,
|
'custom_surcharge_tax4' => (bool)$purchase_order->custom_surcharge_tax4,
|
||||||
'line_items' => $purchase_order->line_items ?: (array)[],
|
'line_items' => $purchase_order->line_items ?: (array)[],
|
||||||
'entity_type' => 'purchase_order',
|
'entity_type' => 'purchaseOrder',
|
||||||
'exchange_rate' => (float)$purchase_order->exchange_rate,
|
'exchange_rate' => (float)$purchase_order->exchange_rate,
|
||||||
'paid_to_date' => (float)$purchase_order->paid_to_date,
|
'paid_to_date' => (float)$purchase_order->paid_to_date,
|
||||||
'subscription_id' => $this->encodePrimaryKey($purchase_order->subscription_id),
|
'subscription_id' => $this->encodePrimaryKey($purchase_order->subscription_id),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user