fixed items, invoices, bills import
This commit is contained in:
parent
4570cc4ffd
commit
bd6773e869
@ -10,11 +10,6 @@ class ItemTaxes extends Import
|
||||
{
|
||||
public function model(array $row)
|
||||
{
|
||||
// @todo remove after laravel-excel 3.2 release
|
||||
if ($row['item_name'] === $this->empty_field) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Model($row);
|
||||
}
|
||||
|
||||
|
@ -11,11 +11,6 @@ class BillHistories extends Import
|
||||
{
|
||||
public function model(array $row)
|
||||
{
|
||||
// @todo remove after laravel-excel 3.2 release
|
||||
if ($row['bill_number'] === $this->empty_field) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Model($row);
|
||||
}
|
||||
|
||||
|
@ -13,11 +13,6 @@ class BillItemTaxes extends Import
|
||||
{
|
||||
public function model(array $row)
|
||||
{
|
||||
// @todo remove after laravel-excel 3.2 release
|
||||
if ($row['bill_number'] === $this->empty_field) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Model($row);
|
||||
}
|
||||
|
||||
|
@ -11,11 +11,6 @@ class InvoiceHistories extends Import
|
||||
{
|
||||
public function model(array $row)
|
||||
{
|
||||
// @todo remove after laravel-excel 3.2 release
|
||||
if ($row['invoice_number'] === $this->empty_field) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Model($row);
|
||||
}
|
||||
|
||||
|
@ -13,11 +13,6 @@ class InvoiceItemTaxes extends Import
|
||||
{
|
||||
public function model(array $row)
|
||||
{
|
||||
// @todo remove after laravel-excel 3.2 release
|
||||
if ($row['invoice_number'] === $this->empty_field) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Model($row);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user