Merge pull request #543 from turbo124/master

added user_id to invoicetransformer
This commit is contained in:
David Bomba 2015-11-21 20:32:03 +11:00
commit 5fb8da2f84

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
]; ];
} }
} }