mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
added user_id to invoicetransformer
This commit is contained in:
parent
e1d61b7454
commit
6461ff3d4f
@ -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