Compare commits
5 Commits
7106d2aa13
...
renovate/a
| Author | SHA1 | Date | |
|---|---|---|---|
| 961c281c02 | |||
| 62e577a87f | |||
|
|
dbd7c2860f | ||
| 651f25b8de | |||
|
|
8bf3bfc3f8 |
@@ -29,7 +29,7 @@ class WeightValidationExporter extends Exporter
|
||||
ExportColumn::make('item.code')
|
||||
->label('ITEM CODE'),
|
||||
ExportColumn::make('obd_number')
|
||||
->label('OBD NUMBER'),
|
||||
->label('OBD / GR NUMBER'),
|
||||
ExportColumn::make('line_number')
|
||||
->label('LINE NUMBER'),
|
||||
ExportColumn::make('batch_number')
|
||||
@@ -41,7 +41,7 @@ class WeightValidationExporter extends Exporter
|
||||
ExportColumn::make('vehicle_number')
|
||||
->label('VEHICLE NUMBER'),
|
||||
ExportColumn::make('bundle_number')
|
||||
->label('BUNDLE NUMBER'),
|
||||
->label('BUNDLE / COIL NUMBER'),
|
||||
ExportColumn::make('picked_weight')
|
||||
->label('PICKED WEIGHT'),
|
||||
ExportColumn::make('scanned_by')
|
||||
|
||||
@@ -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