removed logic in class characteristic importer #1404
@@ -3368,19 +3368,19 @@ class ClassCharacteristicResource extends Resource
|
|||||||
$firstDataRow = reset($dataRows);
|
$firstDataRow = reset($dataRows);
|
||||||
$orderQuantity = (int) $firstDataRow[4];
|
$orderQuantity = (int) $firstDataRow[4];
|
||||||
|
|
||||||
if ($rowCount != $orderQuantity) {
|
// if ($rowCount != $orderQuantity) {
|
||||||
Notification::make()
|
// Notification::make()
|
||||||
->title('Order Quantity Mismatch')
|
// ->title('Order Quantity Mismatch')
|
||||||
->body("Excel row count ({$rowCount}) does not match Order Quantity ({$orderQuantity}).")
|
// ->body("Excel row count ({$rowCount}) does not match Order Quantity ({$orderQuantity}).")
|
||||||
->danger()
|
// ->danger()
|
||||||
->send();
|
// ->send();
|
||||||
|
|
||||||
if ($disk->exists($path)) {
|
// if ($disk->exists($path)) {
|
||||||
$disk->delete($path);
|
// $disk->delete($path);
|
||||||
}
|
// }
|
||||||
|
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
$invalidMplaCodes = [];
|
$invalidMplaCodes = [];
|
||||||
$invalidItemCodes = [];
|
$invalidItemCodes = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user