Updated duration for failure messages to 5 seconds
This commit is contained in:
@@ -138,7 +138,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -159,7 +159,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -183,7 +183,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' does not found in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -267,7 +267,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNo}' does not completed the master packing.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -348,7 +348,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -369,7 +369,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -390,7 +390,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -419,7 +419,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' already exists in invoice number '$invoiceNo' and completed the scanning process..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -457,7 +457,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Scanned serial number '$serialNo' already exist in pallet number '$palletnumber'!<br>Scan the valid new serial number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
// $this->form->fill([
|
||||
@@ -550,7 +550,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -571,7 +571,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -597,7 +597,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '{$scanLocator}' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
// $this->form->fill([
|
||||
@@ -630,7 +630,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("No space available for locator number '{$scanLocator}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -659,7 +659,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -688,7 +688,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNo}' does not completed the master packing.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -714,7 +714,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' is already assigned to locator number '{$locatorExist->locator_number}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -755,7 +755,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number is required to add or remove when pallet number is empty.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -776,7 +776,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -797,7 +797,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -826,7 +826,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' already exists in invoice number '$invoiceNo' and completed the scanning process..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -852,7 +852,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' is already assigned to locator number '{$serialExist->locator_number}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -873,7 +873,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' already exists in pallet number '{$serialExist->pallet_number}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -958,7 +958,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -979,7 +979,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1005,7 +1005,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '{$scanLocator}' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1030,7 +1030,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("No space available for locator number '{$scanLocator}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1054,7 +1054,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1078,7 +1078,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' does not found in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1107,7 +1107,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNo}' does not completed the master packing.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1136,7 +1136,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNo}' is already added into locator number '{$alreadyAssigned->locator_number}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1204,7 +1204,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("pallet number failed to add into locator number '$scanLocator'")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1227,7 +1227,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number is required to add when pallet number is empty.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1248,7 +1248,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1269,7 +1269,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1298,7 +1298,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' already exists in invoice number '$invoiceNo' and completed the scanning process..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1326,7 +1326,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' already exists in pallet number '{$palletexists->pallet_number}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1354,7 +1354,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' already exists in locator number '{$exists->locator_number}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1451,7 +1451,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1472,7 +1472,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1498,7 +1498,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '{$scanLocator}' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1522,7 +1522,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1545,7 +1545,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' does not found in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1574,7 +1574,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNo}' does not completed the master packing.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1602,7 +1602,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNo' is exists in locator number '$palletValidation->locator_number'<br>Scan the valid locator number to remove pallet number.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator', '', $plantId);
|
||||
@@ -1630,7 +1630,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNo}' doesn't exist in locator number.<br>Add locator number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1724,7 +1724,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("No matching pallet found or locator number already empty.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1749,7 +1749,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number is required to remove when pallet number is empty.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1770,7 +1770,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1791,7 +1791,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1819,7 +1819,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$serialNo' already exists in invoice number '$invoiceNo' and completed the scanning process..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1844,7 +1844,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '{$serialNo}' doesn't exist in the pallet table to remove.<br>Add serial number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1871,7 +1871,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '{$serialNo}' already exists in pallet number '$existsInPallet->pallet_number'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1898,7 +1898,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '{$serialNo}' exist in the locator number '$existsInPallet->locator_number'.<br>Scan the valid locator number to remove serial number.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -1947,7 +1947,7 @@ class LocatorValidation extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number failed to remove from locator number '$scanLocator'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
|
||||
@@ -145,7 +145,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Press enter on "Scan Serial Number" field to proceed..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -164,7 +164,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Press enter on "Remove Serial Number" field to proceed..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -185,7 +185,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Locator Number')
|
||||
->body("Locator number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -205,7 +205,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Locator Number')
|
||||
->body("Locator number '$locatorNo' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -230,7 +230,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Unknown: Locator Number')
|
||||
->body("Locator number '$locatorNo' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -263,7 +263,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->body("Scanned locator number '$locatorNo' does not have any locator serial numbers to store into the pallet.<br>
|
||||
Please scan a valid stored locator number to proceed.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -514,7 +514,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Press enter on "Scan Locator Number" field to proceed..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -533,7 +533,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Press enter on "Remove Serial Number" field to proceed..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -554,7 +554,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Serial number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -574,7 +574,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -594,7 +594,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -633,7 +633,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Serial number '$serialNo' already exists in invoice number '$invoiceNo' and completed the scanning process..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -653,7 +653,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Unknown: Serial Number')
|
||||
->body("Scanned serial number: '$serialNo' doesn't exist in pallet table.<br>Scan the valid exist locator-serial number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -674,7 +674,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Scanned serial number: '$serialNo' already exist in pallet number '".$serialLocator->pallet_number."'.<br>Scan the valid locator-serial number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -707,7 +707,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Locator Serials Not Found')
|
||||
->body("Add some locator serial numbers to proceed generate pallet..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -822,7 +822,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Failed: Pallet Generated')
|
||||
->body("No locator serial number records found to generate pallet..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -882,7 +882,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Press enter on "Scan Locator Number" field to proceed..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -901,7 +901,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Press enter on "Scan Serial Number" field to proceed..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -922,7 +922,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Serial number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -942,7 +942,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -962,7 +962,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Invalid: Serial Number')
|
||||
->body("Serial number '$removeSno' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
@@ -995,7 +995,7 @@ class PalletFromLocator extends Page implements HasForms
|
||||
->title('Unknown: Serial Number')
|
||||
->body("Scanned serial number: '$removeSno' doesn't exist in 'PALLET DATA' table.<br>Scan the valid exist locator-serial number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $this->records, $plantId);
|
||||
|
||||
@@ -15,7 +15,6 @@ use Filament\Forms\Form;
|
||||
use Filament\Forms\Components\Section;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Forms\Components\Radio;
|
||||
use Filament\Forms\Get;
|
||||
use Filament\Notifications\Notification;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
@@ -129,7 +128,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please select a plant first.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -151,7 +150,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please upload a file!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -175,7 +174,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Choose a proper Excel file')
|
||||
->body('The file must be an Excel file (xlsx, xls, csv).')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -197,7 +196,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('File not found after upload!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -255,7 +254,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Invalid Serial Numbers Found')
|
||||
->body('The following serial numbers are invalid, length should contain minimum of 9 digits (and maximum 20 digits) alpha numeric values:<br>' . implode(', ', $uniqueInvalidSerial))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -275,7 +274,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Invalid Locator Numbers Found')
|
||||
->body('The following locator numbers are invalid, length should contain minimum of 7 digits alpha numeric values:<br>' . implode(', ', $uniqueInvalidLocator))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -310,7 +309,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Duplicate Serial Numbers in Excel')
|
||||
->body('The following serial numbers are duplicated in the file:<br>' . implode(', ', $duplicates))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -336,7 +335,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Locators with Insufficient Space')
|
||||
->body('The following locators does not have space:<br>' . implode(', ', $locatorsWithQuantityTwo))
|
||||
->warning()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('open-confirm-modal', locatorNo: $locator, plantId: $plantId);
|
||||
@@ -356,7 +355,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Duplicate Serial Numbers Found')
|
||||
->body('The following serial numbers already exist and cannot be imported:<br>' . implode(', ', $existingSerials))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('open-confirm-serial', locatorNo: $locator, plantId: $plantId);
|
||||
@@ -398,7 +397,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
if ($insertedCount > 0) {
|
||||
Notification::make()
|
||||
->title('Serial Locators imported successfully!')
|
||||
->body("{$insertedCount} locator serial number(s) have been imported.")
|
||||
->body("'{$insertedCount}' locator serial number(s) have been imported.")
|
||||
->success()
|
||||
->duration(1000)
|
||||
->send();
|
||||
@@ -419,7 +418,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Serial Locators imported Failed!')
|
||||
->body('No new serial number(s) found in the uploaded excel file..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -445,7 +444,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please select a plant first.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -467,7 +466,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please upload a file!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -491,7 +490,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Choose a proper Excel file')
|
||||
->body('The file must be an Excel file (xlsx, xls, csv).')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -513,7 +512,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('File not found after upload!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -571,7 +570,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Duplicate Serial Numbers Found')
|
||||
->body('The following serial numbers already exist and cannot be imported: ' . implode(', ', $existingSerials))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('open-confirm-serial', locatorNo: $locator, plantId: $plantId);
|
||||
@@ -612,7 +611,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
if ($insertedCount > 0) {
|
||||
Notification::make()
|
||||
->title('Serial Locators imported successfully!')
|
||||
->body("{$insertedCount} locator serial number(s) have been imported.")
|
||||
->body("'{$insertedCount}' locator serial number(s) have been imported.")
|
||||
->success()
|
||||
->duration(1000)
|
||||
->send();
|
||||
@@ -633,7 +632,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Serial Locators imported Failed!')
|
||||
->body('No new serial number(s) found in the uploaded excel file..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -672,7 +671,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please select a plant first.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -694,7 +693,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please upload a file!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -718,7 +717,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Choose a proper Excel file')
|
||||
->body('The file must be an Excel file (xlsx, xls, csv).')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -740,7 +739,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('File not found after upload!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -825,7 +824,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
if ($insertedCount > 0) {
|
||||
Notification::make()
|
||||
->title('Serial Locators imported successfully!')
|
||||
->body("{$insertedCount} locator serial number(s) have been imported.")
|
||||
->body("'{$insertedCount}' locator serial number(s) have been imported.")
|
||||
->success()
|
||||
->duration(1000)
|
||||
->send();
|
||||
@@ -844,7 +843,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title('Serial Locators imported Failed!')
|
||||
->body('No new serial number(s) found in the uploaded excel file..!')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -883,7 +882,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please select a plant first.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -902,7 +901,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please enter serial number and locator number to add data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -921,7 +920,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please enter serial number to add data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -939,7 +938,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -957,7 +956,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Serial number must contain alpha-numeric values only.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -976,7 +975,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please enter locator number to add data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -993,7 +992,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1016,7 +1015,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1035,7 +1034,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("No space available for locator number '{$scanLocator}'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1062,7 +1061,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in locator number '$palletRecord->locator_number'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1080,7 +1079,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in pallet number '$palletRecord->pallet_number'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1098,7 +1097,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in pallet number '$palletRecord->pallet_number' with locator number '$palletRecord->locator_number'.")
|
||||
->warning()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1126,7 +1125,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in invoice number '$invoiceNo' and completed the scanning process.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1180,7 +1179,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Failed to add serial number '$scanSno' into locator number '$scanLocator'!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->form->fill
|
||||
@@ -1207,7 +1206,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please select a plant first.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -1226,7 +1225,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please enter atleast a serial number or locator number to view data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1245,7 +1244,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1263,7 +1262,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Serial number must contain alpha-numeric values only.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1281,7 +1280,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1303,7 +1302,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1329,7 +1328,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' exists in invoice number '$invoiceNo' and completed the scanning process.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1352,7 +1351,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' and locator number '$scanLocator' does not exist in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1372,7 +1371,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in pallet number '$serialNumberExists->pallet_number' with locator number '$serialNumberExists->locator_number'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1411,7 +1410,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1429,7 +1428,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Serial number must contain alpha-numeric values only.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1473,7 +1472,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in pallet number '$palletRecord->pallet_number'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1491,7 +1490,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in pallet number '$palletRecord->pallet_number' with locator number '$palletRecord->locator_number'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1519,7 +1518,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' exists in invoice number '$invoiceNo' and completed the scanning process.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1537,7 +1536,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' does not exist in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1558,7 +1557,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1580,7 +1579,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1601,7 +1600,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' does not exist in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1647,7 +1646,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please select a plant first.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', 0);
|
||||
@@ -1666,7 +1665,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please enter serial number and locator number to delete data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1684,7 +1683,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please enter serial number to delete data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1701,7 +1700,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number should contain minimum 9 digits and maximum 20 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1719,7 +1718,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Serial number must contain alpha-numeric values only.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1737,7 +1736,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title('Please enter locator number to delete data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1755,7 +1754,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' must be at least 7 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1775,7 +1774,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Locator number '$scanLocator' does not exist in the master.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1801,7 +1800,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' exists in invoice number '$invoiceNo' and completed the scanning process.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1827,7 +1826,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
Notification::make()
|
||||
->title("Serial number '$scanSno' already exists in pallet number '$palletExists->pallet_number'!<br>Please enter locator serial number to remove data.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
@@ -1869,7 +1868,7 @@ class UploadSerialLocator extends Page implements HasForms
|
||||
->title("Failed to remove serial number '$scanSno' from locator number '$scanLocator'!")
|
||||
//->title("Serial number '{$scanSno}' and Locator number '{$scanLocator}' does not exist in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $scanLocator, $scanSno, $plantId);
|
||||
|
||||
Reference in New Issue
Block a user