mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:44:28 -04:00
Added additional fields to invoice transformer
This commit is contained in:
parent
7182078acb
commit
def729bfac
@ -64,7 +64,9 @@ class InvoiceTransformer extends EntityTransformer
|
|||||||
'has_tasks' => (bool) $invoice->has_tasks,
|
'has_tasks' => (bool) $invoice->has_tasks,
|
||||||
'auto_bill' => (bool) $invoice->auto_bill,
|
'auto_bill' => (bool) $invoice->auto_bill,
|
||||||
'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_value2' => $invoice->custom_value2
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user