mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
[V1] Update payment fields for export (#3469)
* Update export payment fields * Add currency_id, export
This commit is contained in:
parent
3f25b62ab6
commit
8bb70c7e9a
@ -506,6 +506,9 @@ trait GenerateMigrationResources
|
|||||||
'transaction_reference' => $payment->transaction_reference,
|
'transaction_reference' => $payment->transaction_reference,
|
||||||
'payer_id' => $payment->payer_id,
|
'payer_id' => $payment->payer_id,
|
||||||
'is_deleted' => $payment->is_deleted,
|
'is_deleted' => $payment->is_deleted,
|
||||||
|
'exchange_rate' => $payment->exchange_rate ? number_format((float)$payment->exchange_rate, 6) : null,
|
||||||
|
'exchange_currency_id' => $payment->exchange_currency_id,
|
||||||
|
'currency_id' => $payment->client->currency->id,
|
||||||
'updated_at' => $payment->updated_at ? $payment->updated_at->toDateString() : null,
|
'updated_at' => $payment->updated_at ? $payment->updated_at->toDateString() : null,
|
||||||
'created_at' => $payment->created_at ? $payment->created_at->toDateString() : null,
|
'created_at' => $payment->created_at ? $payment->created_at->toDateString() : null,
|
||||||
'deleted_at' => $payment->deleted_at ? $payment->deleted_at->toDateString() : null,
|
'deleted_at' => $payment->deleted_at ? $payment->deleted_at->toDateString() : null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user