mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:44:31 -04:00
transformer fixes
This commit is contained in:
parent
f5d4ec951e
commit
1248407101
@ -58,9 +58,9 @@ class ClientTransformer extends EntityTransformer
|
|||||||
'name' => $client->name ?: '',
|
'name' => $client->name ?: '',
|
||||||
'website' => $client->website ?: '',
|
'website' => $client->website ?: '',
|
||||||
'private_notes' => $client->private_notes ?: '',
|
'private_notes' => $client->private_notes ?: '',
|
||||||
'balance' => $client->balance ?: '',
|
'balance' => (float) $client->balance,
|
||||||
'currency_id' => (string)$client->currency_id ?: '',
|
'currency_id' => (string)$client->currency_id ?: '',
|
||||||
'paid_to_date' => $client->paid_to_date ?: '',
|
'paid_to_date' => (float) $client->paid_to_date,
|
||||||
'last_login' => $client->last_login ?: '',
|
'last_login' => $client->last_login ?: '',
|
||||||
'address1' => $client->address1 ?: '',
|
'address1' => $client->address1 ?: '',
|
||||||
'address2' => $client->address2 ?: '',
|
'address2' => $client->address2 ?: '',
|
||||||
@ -80,7 +80,7 @@ class ClientTransformer extends EntityTransformer
|
|||||||
'shipping_postal_code' => $client->shipping_postal_code ?: '',
|
'shipping_postal_code' => $client->shipping_postal_code ?: '',
|
||||||
'shipping_country_id' => $client->shipping_country_id ?: '',
|
'shipping_country_id' => $client->shipping_country_id ?: '',
|
||||||
'settings' => $client->settings ?: '',
|
'settings' => $client->settings ?: '',
|
||||||
'is_deleted' => (bool) $client->is_deleted ?: '',
|
'is_deleted' => (bool) $client->is_deleted,
|
||||||
'payment_terms' => $client->payment_terms ?: '',
|
'payment_terms' => $client->payment_terms ?: '',
|
||||||
'vat_number' => $client->vat_number ?: '',
|
'vat_number' => $client->vat_number ?: '',
|
||||||
'id_number' => $client->id_number ?: '',
|
'id_number' => $client->id_number ?: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user