mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #567 from turbo124/master
Custom Taxes boolean added to InvoiceTransformer.
This commit is contained in:
commit
27ee8bcb6e
@ -66,7 +66,9 @@ class InvoiceTransformer extends EntityTransformer
|
|||||||
'account_key' => $this->account->account_key,
|
'account_key' => $this->account->account_key,
|
||||||
'user_id' => (int) $invoice->user->public_id + 1,
|
'user_id' => (int) $invoice->user->public_id + 1,
|
||||||
'custom_value1' => $invoice->custom_value1,
|
'custom_value1' => $invoice->custom_value1,
|
||||||
'custom_value2' => $invoice->custom_value2
|
'custom_value2' => $invoice->custom_value2,
|
||||||
|
'custom_taxes1' => (bool) $invoice->custom_taxes1,
|
||||||
|
'custom_taxes2' => (bool) $invoice->custom_taxes2,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user