Added required mapping for import columns and Updated plant selection logic in various resources on Advanced Filters
This commit is contained in:
@@ -126,7 +126,6 @@ class GrMasterResource extends Resource
|
||||
}
|
||||
// else if (preg_match('/E CODE\s*:\s*(\S+)/i', $text, $matches)) {
|
||||
|
||||
|
||||
// $item2 = $matches[1];
|
||||
// dd($item2);
|
||||
// }
|
||||
@@ -189,14 +188,13 @@ class GrMasterResource extends Resource
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Notification::make()
|
||||
->title('Item Code not matched')
|
||||
->body("Item Code: {$item->code} not matched with the uploaded pdf code $item1.")
|
||||
->danger()
|
||||
->send();
|
||||
|
||||
if (Storage::disk('local')->exists($storedPath)) {
|
||||
if (Storage::disk('local')->exists($storedPath)) {
|
||||
Storage::disk('local')->delete($storedPath);
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user