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
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:
@@ -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