mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix imported payment date
This commit is contained in:
parent
003a5be614
commit
a83f441b98
@ -20,7 +20,7 @@ class PaymentTransformer extends BaseTransformer
|
||||
return new Item($data, function ($data) {
|
||||
return [
|
||||
'amount' => $this->getFloat($data, 'paid'),
|
||||
'payment_date_sql' => isset($data->invoice_date) ? $data->invoice_date : null,
|
||||
'payment_date_sql' => $this->getDate($data, 'invoice_date'),
|
||||
'client_id' => $data->client_id,
|
||||
'invoice_id' => $data->invoice_id,
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user