import rules not applicable in map
This commit is contained in:
@@ -15,6 +15,10 @@ class Bills extends Import
|
||||
|
||||
public function map($row): array
|
||||
{
|
||||
if ($this->isEmpty($row, 'bill_number')) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$row = parent::map($row);
|
||||
|
||||
$row['category_id'] = $this->getCategoryId($row, 'expense');
|
||||
|
||||
Reference in New Issue
Block a user