Updated duration for failure messages to 5 seconds
This commit is contained in:
@@ -268,7 +268,7 @@ class LocatorInvoiceValidationResource extends Resource
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNumber}' does not exist.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
return;
|
||||
}
|
||||
@@ -290,7 +290,7 @@ class LocatorInvoiceValidationResource extends Resource
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNumber}' is not completed in masters")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
return;
|
||||
}
|
||||
@@ -528,7 +528,7 @@ class LocatorInvoiceValidationResource extends Resource
|
||||
->title('Invalid Locator Invoice Found')
|
||||
->body('Uploaded excel sheet is empty or<br>contains no valid data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($path)) {
|
||||
@@ -579,7 +579,7 @@ class LocatorInvoiceValidationResource extends Resource
|
||||
->title('Invalid Serial Numbers Found')
|
||||
->body('The following serial numbers should contain minimum 9 digit (and maximum 20 digit) alpha numeric values:<br>' . implode(', ', $uniqueSerialCodes))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($path)) {
|
||||
@@ -595,7 +595,7 @@ class LocatorInvoiceValidationResource extends Resource
|
||||
->title('Duplicate Serial Numbers Found')
|
||||
->body('The following serial numbers are already exist in imported excel:<br>' . implode(', ', $duplicateSerialCodes))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($path)) {
|
||||
@@ -609,7 +609,7 @@ class LocatorInvoiceValidationResource extends Resource
|
||||
->title('Invalid Locator Invoice Found')
|
||||
->body('Uploaded excel sheet is empty or<br>contains no valid data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($path)) {
|
||||
@@ -631,7 +631,7 @@ class LocatorInvoiceValidationResource extends Resource
|
||||
->title('Duplicate Serial Numbers Found')
|
||||
->body('The following serial numbers already exist with a different invoice number:<br>' . implode(', ', $existingSerials))
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($path)) {
|
||||
|
||||
Reference in New Issue
Block a user