1
0
forked from poc/pds

Removed colon symbol in notifications

This commit is contained in:
dhanabalan
2025-07-09 17:03:09 +05:30
parent 34b2a05166
commit 49d2f1088f

View File

@@ -254,7 +254,7 @@ class CreatePalletValidation extends CreateRecord
if ($record) if ($record)
{ {
Notification::make() Notification::make()
->title("Scanned serial number : '{$serialNumber}' successfully inserted into pallet table!<br>Scan the next new serial number to proceed...") ->title("Scanned serial number '{$serialNumber}' successfully inserted into pallet table!<br>Scan the next new serial number to proceed...")
->success() ->success()
->duration(600) ->duration(600)
->send(); ->send();
@@ -277,7 +277,7 @@ class CreatePalletValidation extends CreateRecord
else else
{ {
Notification::make() Notification::make()
->title("Failed to insert scanned serial number : '$serialNumber' into pallet table!") ->title("Failed to insert scanned serial number '$serialNumber' into pallet table!")
->danger() ->danger()
->duration(1200) ->duration(1200)
->send(); ->send();
@@ -298,7 +298,7 @@ class CreatePalletValidation extends CreateRecord
{ {
Notification::make() Notification::make()
->title('Error: Serial not inserted.') ->title('Error: Serial not inserted.')
->body("Something went wrong while inserting serial number : '{$serialNumber}' into pallet table!\nScan the new serial number to proceed...") ->body("Something went wrong while inserting serial number '{$serialNumber}' into pallet table!\nScan the new serial number to proceed...")
->danger() ->danger()
->duration(1200) ->duration(1200)
->send(); ->send();
@@ -581,7 +581,7 @@ class CreatePalletValidation extends CreateRecord
if ($invoiceExist) if ($invoiceExist)
{ {
Notification::make() Notification::make()
->title("Scanned serial number '{$serialNumber}' already completed the scanning process and exist in invoice number : '{$invoiceExist->invoice_number}'.<br>Scan the valid exist serial number to remove!") ->title("Scanned serial number '{$serialNumber}' already completed the scanning process and exist in invoice number '{$invoiceExist->invoice_number}'.<br>Scan the valid exist serial number to remove!")
->danger() ->danger()
->duration(1200) ->duration(1200)
->send(); ->send();
@@ -684,7 +684,7 @@ class CreatePalletValidation extends CreateRecord
if ($deleted) if ($deleted)
{ {
Notification::make() Notification::make()
->title("Scanned serial number : '$serialNumber' successfully removed from pallet table!<br>Scan the next exist serial number to remove...") ->title("Scanned serial number '$serialNumber' successfully removed from pallet table!<br>Scan the next exist serial number to remove...")
->success() ->success()
->duration(600) ->duration(600)
->send(); ->send();
@@ -708,7 +708,7 @@ class CreatePalletValidation extends CreateRecord
else else
{ {
Notification::make() Notification::make()
->title("Failed to remove scanned serial number : '$serialNumber' from pallet table!") ->title("Failed to remove scanned serial number '$serialNumber' from pallet table!")
->danger() ->danger()
->duration(1200) ->duration(1200)
->send(); ->send();