diff --git a/app/Ninja/Transformers/InvoiceTransformer.php b/app/Ninja/Transformers/InvoiceTransformer.php index 8415374d4e00..19e823a10cf5 100644 --- a/app/Ninja/Transformers/InvoiceTransformer.php +++ b/app/Ninja/Transformers/InvoiceTransformer.php @@ -64,7 +64,9 @@ class InvoiceTransformer extends EntityTransformer 'has_tasks' => (bool) $invoice->has_tasks, 'auto_bill' => (bool) $invoice->auto_bill, '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 ]; } } \ No newline at end of file