1
0
forked from poc/pds

Updated duration for failure messages to 5 seconds

This commit is contained in:
dhanabalan
2025-07-18 19:06:42 +05:30
parent a71864905e
commit c363faa357
9 changed files with 272 additions and 257 deletions

View File

@@ -172,8 +172,9 @@ class ReworkLocatorInvoiceValidationResource extends Resource
Notification::make()
->title("Scanned invoice number: '$invoiceNumber' does not completed the scanning process!<br>Has '$notCompletedCount' pending serial number to scan!<br>Please, scan the valid completed invoice number to proceed...")
->danger()
->duration(1200)
->duration(5000)
->send();
$set('invoice_number', null);
$set('update_invoice', null);
return;
@@ -209,8 +210,9 @@ class ReworkLocatorInvoiceValidationResource extends Resource
Notification::make()
->title("Scanned pallet number '$palletNumber' does not completed the master packing!<br>Please, scan the valid completed pallet number to proceed...")
->danger()
->duration(1200)
->duration(5000)
->send();
$set('scan_pallet_no', null);
$set('update_pallet', null);
return;