mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 17:34:30 -04:00
Merge: Hiveage Import doesn't correctly import the Amount (paid total)
This commit is contained in:
parent
08c0cfe022
commit
937e7bb92a
@ -524,7 +524,6 @@ class ImportService
|
||||
|
||||
if ($resource = $paymentTransformer->transform($row)) {
|
||||
$data = $this->fractal->createData($resource)->toArray();
|
||||
$data['amount'] = min($data['amount'], Utils::parseFloat($row->amount));
|
||||
$data['invoice_id'] = $invoicePublicId;
|
||||
if (Payment::validate($data) === true) {
|
||||
$data['invoice_id'] = $invoiceId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user