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

Reviewed-on: #1404
This commit was merged in pull request #1404.
This commit is contained in:
2026-11-10 07:22:54 +00:00

View File

@@ -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 = [];