removed logic for skipping in remark import
This commit is contained in:
@@ -340,6 +340,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -352,6 +353,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -383,6 +385,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -395,6 +398,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -407,6 +411,7 @@ class InvoicePendingReason extends Page
|
|||||||
->send();
|
->send();
|
||||||
$this->filtersForm->fill([
|
$this->filtersForm->fill([
|
||||||
'file' => null,
|
'file' => null,
|
||||||
|
'plant_id' => $plantId,
|
||||||
]);
|
]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,13 +72,6 @@ class InvoicePendingReasonImport implements ToCollection
|
|||||||
];
|
];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (! $remark) {
|
|
||||||
$this->remarkEmpty[] = [
|
|
||||||
'row' => $rowNo,
|
|
||||||
'reason' => "Remark can't be empty!",
|
|
||||||
];
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Excel-level duplicate check
|
//Excel-level duplicate check
|
||||||
$key = $plantCode . '|' . $documentNumber;
|
$key = $plantCode . '|' . $documentNumber;
|
||||||
|
|||||||
Reference in New Issue
Block a user