mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Merge pull request #543 from turbo124/master
added user_id to invoicetransformer
This commit is contained in:
commit
5fb8da2f84
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user