added user_id to invoicetransformer

This commit is contained in:
David Bomba 2015-11-21 20:31:31 +11:00
parent e1d61b7454
commit 6461ff3d4f

View File

@ -69,7 +69,8 @@ class InvoiceTransformer extends EntityTransformer
'partial' => (float) $invoice->partial, 'partial' => (float) $invoice->partial,
'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
]; ];
} }
} }