Merge pull request 'removed logic in class characteristic importer' (#1404) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Reviewed-on: #1404
This commit was merged in pull request #1404.
This commit is contained in:
@@ -3368,19 +3368,19 @@ class ClassCharacteristicResource extends Resource
|
||||
$firstDataRow = reset($dataRows);
|
||||
$orderQuantity = (int) $firstDataRow[4];
|
||||
|
||||
if ($rowCount != $orderQuantity) {
|
||||
Notification::make()
|
||||
->title('Order Quantity Mismatch')
|
||||
->body("Excel row count ({$rowCount}) does not match Order Quantity ({$orderQuantity}).")
|
||||
->danger()
|
||||
->send();
|
||||
// if ($rowCount != $orderQuantity) {
|
||||
// Notification::make()
|
||||
// ->title('Order Quantity Mismatch')
|
||||
// ->body("Excel row count ({$rowCount}) does not match Order Quantity ({$orderQuantity}).")
|
||||
// ->danger()
|
||||
// ->send();
|
||||
|
||||
if ($disk->exists($path)) {
|
||||
$disk->delete($path);
|
||||
}
|
||||
// if ($disk->exists($path)) {
|
||||
// $disk->delete($path);
|
||||
// }
|
||||
|
||||
return;
|
||||
}
|
||||
// return;
|
||||
// }
|
||||
|
||||
$invalidMplaCodes = [];
|
||||
$invalidItemCodes = [];
|
||||
|
||||
Reference in New Issue
Block a user