Compare commits
3 Commits
651f25b8de
...
renovate/a
| Author | SHA1 | Date | |
|---|---|---|---|
| 961c281c02 | |||
| 62e577a87f | |||
|
|
dbd7c2860f |
@@ -588,7 +588,7 @@ class WeightValidationResource extends Resource
|
||||
} else {
|
||||
$lineNumbers[] = $lineNumber;
|
||||
}
|
||||
if (Str::length($batchNumber) < 8 || ! is_numeric($batchNumber)) {// ctype_alnum
|
||||
if (Str::length($batchNumber) < 1 || ! is_numeric($batchNumber)) {// ctype_alnum
|
||||
$validData = false;
|
||||
$invalidBatch[] = $materialCode;
|
||||
}
|
||||
@@ -663,7 +663,7 @@ class WeightValidationResource extends Resource
|
||||
if (! empty($uniqueInvalidBatch)) {
|
||||
Notification::make()
|
||||
->title('Invalid: Batch Numbers')
|
||||
->body('Batch number should contain minimum 8 digit numeric values!<br>Following item codes has invalid batch number:<br>'.implode(', ', $uniqueInvalidBatch))
|
||||
->body('Batch number should contain minimum 1 digit numeric values!<br>Following item codes has invalid batch number:<br>'.implode(', ', $uniqueInvalidBatch))
|
||||
->danger()
|
||||
->seconds(2)
|
||||
->send();
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"alperenersoy/filament-export": "^3.0",
|
||||
"althinect/filament-spatie-roles-permissions": "^2.3",
|
||||
"althinect/filament-spatie-roles-permissions": "^4.0",
|
||||
"diogogpinto/filament-auth-ui-enhancer": "^1.0",
|
||||
"erag/laravel-pwa": "^1.9",
|
||||
"filament/filament": "^3.3",
|
||||
|
||||
Reference in New Issue
Block a user