removed logic in class characteristic importer
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 17s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 16s
Laravel Pint / pint (pull_request) Successful in 3m8s
Laravel Larastan / larastan (pull_request) Failing after 6m37s

This commit is contained in:
dhanabalan
2026-11-10 12:52:37 +05:30
parent 92ba1e128a
commit 4509089516

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