mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fixes for payment transformerS (#3437)
This commit is contained in:
parent
46d795a61f
commit
000ae58fc6
@ -92,7 +92,7 @@ class PaymentTransformer extends EntityTransformer
|
||||
'project_id' => (string) $this->encodePrimaryKey($payment->project_id),
|
||||
'vendor_id' => (string) $this->encodePrimaryKey($payment->vendor_id),
|
||||
'currency_id' => (string) $payment->currency_id ?: '',
|
||||
'exchange_rate' => (string) $payment->exchange_rate ?: '',
|
||||
'exchange_rate' => (float) $payment->exchange_rate ?: 1,
|
||||
'exchange_currency_id' => (string) $payment->exchange_currency_id ?: '',
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user