import and export parent number issues fixed
This commit is contained in:
@ -35,7 +35,7 @@ class Bills extends Import
|
||||
$row['currency_code'] = $this->getCurrencyCode($row);
|
||||
$row['type'] = Model::BILL_TYPE;
|
||||
$row['contact_country'] = !empty($country) ? $country : null;
|
||||
$row['parent_id'] = $this->getParentId($row);
|
||||
$row['parent_id'] = $this->getParentId($row) ?? 0;
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ class Invoices extends Import
|
||||
$row['currency_code'] = $this->getCurrencyCode($row);
|
||||
$row['type'] = Model::INVOICE_TYPE;
|
||||
$row['contact_country'] = !empty($country) ? $country : null;
|
||||
$row['parent_id'] = $this->getParentId($row);
|
||||
$row['parent_id'] = $this->getParentId($row) ?? 0;
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
Reference in New Issue
Block a user