mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added currency_id to client transformer
This commit is contained in:
parent
14152fd3f1
commit
79bef21e82
@ -91,7 +91,8 @@ class ClientTransformer extends EntityTransformer
|
||||
'payment_terms' => (int) $client->payment_terms,
|
||||
'vat_number' => $client->vat_number,
|
||||
'id_number' => $client->id_number,
|
||||
'language_id' => (int) $client->language_id
|
||||
'language_id' => (int) $client->language_id,
|
||||
'currency_id' => (int) $client->currency_id
|
||||
];
|
||||
}
|
||||
}
|
@ -13,8 +13,6 @@ class InvoiceItemTransformer extends EntityTransformer
|
||||
'product_key' => $item->product_key,
|
||||
'account_key' => $this->account->account_key,
|
||||
'user_id' => (int) $item->user_id,
|
||||
'invoice_id' => (int) $item->invoice->public_id,
|
||||
'product_id' => (int) $item->product->public_id,
|
||||
'updated_at' => $item->updated_at,
|
||||
'deleted_at' => $item->deleted_at,
|
||||
'product_key' => $item->product_key,
|
||||
|
Loading…
x
Reference in New Issue
Block a user