mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Hiveage Import doesn't correctly import the Amount (paid total) #1710
This commit is contained in:
parent
4366bc28ed
commit
8b2c5d91d7
@ -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…
Reference in New Issue
Block a user