mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Minor fixes for imports
This commit is contained in:
parent
abae112fba
commit
7536cefc84
@ -1097,6 +1097,9 @@ class Import implements ShouldQueue
|
||||
$modified['user_id'] = $this->processUserId($resource);
|
||||
$modified['company_id'] = $this->company->id;
|
||||
$modified['line_items'] = $this->cleanItems($modified['line_items']);
|
||||
|
||||
//31/08-2023 set correct paid to date here:
|
||||
$modified['paid_to_date'] = $modified['amount'] - $modified['balance'] ?? 0;
|
||||
|
||||
unset($modified['id']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user