Added required mapping for import columns and Updated plant selection logic in various resources on Advanced Filters

This commit is contained in:
dhanabalan
2025-10-08 17:46:19 +05:30
parent 377fd4c615
commit 98dc59538f
16 changed files with 177 additions and 123 deletions

View File

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