mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Load default product taxes in the API
This commit is contained in:
parent
652673176b
commit
bc8e21153d
@ -298,6 +298,10 @@ class InvoiceApiController extends BaseAPIController
|
|||||||
'notes',
|
'notes',
|
||||||
'custom_value1',
|
'custom_value1',
|
||||||
'custom_value2',
|
'custom_value2',
|
||||||
|
'tax_name1',
|
||||||
|
'tax_rate1',
|
||||||
|
'tax_name2',
|
||||||
|
'tax_rate2',
|
||||||
];
|
];
|
||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
if (! isset($item[$field])) {
|
if (! isset($item[$field])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user