import rules not applicable in map

This commit is contained in:
denisdulici
2020-02-25 14:56:48 +03:00
parent 695a3ed0b1
commit 34c339ca8d
13 changed files with 82 additions and 12 deletions

View File

@ -15,6 +15,10 @@ class InvoiceTransactions extends Import
public function map($row): array
{
if ($this->isEmpty($row, 'invoice_number')) {
return [];
}
$row = parent::map($row);
$row['type'] = 'income';