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)) {
|
||||
|
||||
@@ -62,8 +62,9 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Plant Not Found')
|
||||
->body("Plant can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $plantId);
|
||||
$this->form->fill([
|
||||
'plant_id' => $plantId,
|
||||
@@ -104,8 +105,9 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Completed: Locator Invoice')
|
||||
->body("Locator invoice '$invoiceNumber' completed the scanning process.<br>Scan the next 'Locator Invoice' to proceed..!")
|
||||
->info()
|
||||
->duration(1000)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $plantId);
|
||||
$this->form->fill([
|
||||
'plant_id' => $plantId,
|
||||
@@ -149,8 +151,9 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice File Not Found')
|
||||
->body("Import the scanned 'Invoice' file to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->form->fill([
|
||||
'plant_id' => $plantId,
|
||||
'plant' => $plantId,
|
||||
@@ -177,7 +180,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath))
|
||||
@@ -240,7 +243,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath)) {
|
||||
@@ -267,7 +270,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath)) {
|
||||
@@ -291,7 +294,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath)) {
|
||||
@@ -324,7 +327,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath))
|
||||
@@ -405,6 +408,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->info()
|
||||
->duration(800)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($filePath))
|
||||
{
|
||||
$disk->delete($filePath);
|
||||
@@ -454,7 +458,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Updated Invoice File Not Found')
|
||||
->body("Import the updated 'Invoice' file to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->form->fill([
|
||||
@@ -489,7 +493,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invalid Updated Locator Invoice Found')
|
||||
->body('Uploaded excel sheet is empty or<br>contains no valid data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($filePath))
|
||||
@@ -552,7 +556,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath)) {
|
||||
@@ -579,7 +583,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath))
|
||||
@@ -605,7 +609,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invalid Updated Locator Invoice Found')
|
||||
->body('Uploaded excel sheet is empty or<br>contains no valid data.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($filePath)) {
|
||||
@@ -638,7 +642,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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($filePath)) {
|
||||
@@ -697,6 +701,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->info()
|
||||
->duration(800)
|
||||
->send();
|
||||
|
||||
if ($disk->exists($filePath))
|
||||
{
|
||||
$disk->delete($filePath);
|
||||
@@ -755,8 +760,9 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Error: Locator invoice insertion (or updation).')
|
||||
->body($e->getMessage())
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
$snoCount = LocatorInvoiceValidation::where('plant_id', $plantId)
|
||||
->where('invoice_number', $invoiceNumber)
|
||||
@@ -812,7 +818,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Found')
|
||||
->body("Scanned invoice number '$invoiceNumber' does not exist in invoice table!<br>Import the scanned 'Invoice' file to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -872,7 +878,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$snoCount = LocatorInvoiceValidation::where('plant_id', $plantId)->where('invoice_number', $invoiceNumber)
|
||||
@@ -898,7 +904,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNumber' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -925,7 +931,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNumber}' does not exist in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -960,7 +966,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number '{$palletNumber}' does not completed the master packing!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1002,7 +1008,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Scanned pallet number '$palletNumber' does not have invoice serial numbers.<br>Scan the valid exist pallet number to start the scanning process..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1043,7 +1049,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Partial Pallet Serial Numbers Found")
|
||||
->body($missingSerialsString)
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1295,7 +1301,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Found')
|
||||
->body("Scanned invoice number '$invoiceNumber' does not exist in invoice table!<br>Import the scanned 'Invoice' file to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->form->fill([
|
||||
@@ -1356,7 +1362,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1379,7 +1385,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->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', $invoiceNumber, $plantId);
|
||||
@@ -1401,7 +1407,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body('Serial number must contain alpha-numeric values only.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1426,7 +1432,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Unknown: Serial Number")
|
||||
->body("Serial number '{$serialNumber}' does not exist in invoice number '$invoiceNumber'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1448,7 +1454,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Completed: Serial Number")
|
||||
->body("Serial number '{$serialNumber}' already completed the scanning process for the invoice number '$invoiceNumber'.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1480,7 +1486,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Unknown: Serial Number")
|
||||
->body("Serial number '{$serialNumber}' does not exist in pallet table.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1513,7 +1519,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Incompleted Pallet: Serial Number")//Pallet number '{$existPallNum}' does not completed the master packing!
|
||||
->body("Serial number '{$serialNumber}' exist in pallet number '$existPallNum' and it does not completed the master packing!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
@@ -1640,7 +1646,7 @@ class CreateLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Failed to check Serial number '{$serialNumber}' existence.<br>Scan the valid serial number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNumber, $plantId);
|
||||
|
||||
@@ -20,7 +20,6 @@ use Filament\Tables\Table;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingScope;
|
||||
use Filament\Forms\Components\Actions;
|
||||
use Filament\Notifications\Notification;
|
||||
use Filament\Tables\Actions\ExportAction;
|
||||
use Filament\Tables\Actions\ImportAction;
|
||||
use Log;
|
||||
|
||||
@@ -62,7 +62,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number can't be empty")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->form->fill([
|
||||
@@ -85,7 +85,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Serial number is required to add.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -105,7 +105,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Serial number should contain minimum 9 digits and maximum 20 digits.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -125,7 +125,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Serial number must contain alpha-numeric values only.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -152,7 +152,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Scanned serial number '{$serialNumber}' already completed the scanning process and exist in invoice number : {$invoiceNumber}.<br>Scan the new serial number to add!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -179,7 +179,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
// Notification::make()
|
||||
// ->title("Scanned serial number '{$serialNumber}' exists in pallet table .<br>scan the valid serial number to proceed...")
|
||||
// ->danger()
|
||||
// ->duration(1200)
|
||||
// ->duration(5000)
|
||||
// ->send();
|
||||
// $this->form->fill([
|
||||
// 'serial_number' => null,
|
||||
@@ -198,7 +198,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Scanned serial number '{$serialNumber}' is already exists in pallet number '{$palletNumber}'.<br>Scan the new serial number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
}
|
||||
else if ($existingRecord && $existingRecord->pallet_number && $existingRecord->pallet_number != $palletNumber)
|
||||
@@ -206,7 +206,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Scanned serial number '{$serialNumber}' already exists in pallet number '{$existingRecord->pallet_number}'.<br>Scan the new serial number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
}
|
||||
else if ($existingRecord && $existingRecord->locator_number)
|
||||
@@ -214,7 +214,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Scanned serial number '{$serialNumber}' is already exists in locator number '{$existingRecord->locator_number}'.<br>Scan the new serial number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
}
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -284,7 +284,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Failed to insert scanned serial number '$serialNumber' into pallet table!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -305,7 +305,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
->title('Error: Serial not inserted.')
|
||||
->body("Something went wrong while inserting serial number '{$serialNumber}' into pallet table!\nScan the new serial number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -381,7 +381,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNumber' does not have serial numbers to save!<br>Add the valid serial number into pallet number to proceed...")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -407,7 +407,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNumber' already completed the master packing!<br>Generate the new pallet number or choose from pending pallet list!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $plantId);
|
||||
@@ -438,7 +438,11 @@ class CreatePalletValidation extends CreateRecord
|
||||
|
||||
if ($updated > 0)
|
||||
{
|
||||
Notification::make()->title("Pallet number '$palletNumber' records saved successfully!")->success()->duration(800)->send();
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNumber' records saved successfully!")
|
||||
->success()
|
||||
->duration(800)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $plantId);
|
||||
$this->form->fill([
|
||||
@@ -465,7 +469,11 @@ class CreatePalletValidation extends CreateRecord
|
||||
|
||||
if ($updated > 0)
|
||||
{
|
||||
Notification::make()->title("Pallet number '$palletNumber' completed the master packing successfully!")->success()->duration(800)->send();
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNumber' completed the master packing successfully!")
|
||||
->success()
|
||||
->duration(800)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $plantId);
|
||||
$this->form->fill([
|
||||
@@ -507,7 +515,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Pallet number is required to remove.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
return;
|
||||
}
|
||||
@@ -522,7 +530,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Serial number is required to remove.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -542,7 +550,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Serial number should contain minimum 9 digits and maximum 20 digits.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -562,7 +570,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Serial number must contain alpha-numeric values only.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -588,7 +596,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
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!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -612,7 +620,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Serial number not exists in pallet table.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -639,8 +647,9 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Scanned serial number exist in pallet number '$palletExist->pallet_number'.<br>Scan the valid exist serial number to remove!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
$this->form->fill([
|
||||
'serial_number' => null,
|
||||
@@ -665,8 +674,9 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Scanned serial number exist in locator number '$locatorExist->locator_number'.<br>Scan the valid exist serial number to remove!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
$this->form->fill([
|
||||
'serial_number' => null,
|
||||
@@ -715,7 +725,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Failed to remove scanned serial number '$serialNumber' from pallet table!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
@@ -728,7 +738,6 @@ class CreatePalletValidation extends CreateRecord
|
||||
'created_by' => $operatorName,
|
||||
'scanned_by' => $operatorName,
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
//$this->dispatch('removeSno', $serialNumber, $palletNumber, $plantId);
|
||||
@@ -770,7 +779,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title('Pallet number is required.')
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $plantId);
|
||||
@@ -791,7 +800,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Pallet number '$palletNumber' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadLocator' ,'',$plantId);
|
||||
@@ -823,7 +832,7 @@ class CreatePalletValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Already completed for pallet number $palletNumber!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $palletNumber, $plantId);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -54,7 +54,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Invoice Number")
|
||||
->body("Invoice number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -83,7 +83,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Found')
|
||||
->body("Invoice number '$invoiceNo' doesn't exist in invoice table!<br><br>Scan the valid exist 'Invoice Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -129,7 +129,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -154,7 +154,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->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', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -179,7 +179,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -252,7 +252,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Completed: Invoice Found')
|
||||
->body("Press 'Yes' and Press 'Enter' in Scan Invoice No to do rework for entire invoice.<br><br>Press 'No' to do rework against 'Pallet or Serial Number'..!")
|
||||
->info()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -278,7 +278,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Completed')
|
||||
->body("Scanned invoice number '$invoiceNo' doesn't completed the scanning process!<br><br>Has '$notCompletedCount' pending serial number to scan!<br><br>Please, scan the valid completed invoice number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -304,7 +304,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Choosed: Pallet Rework Type")
|
||||
->body("Scan valid pallet number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
return;
|
||||
}
|
||||
@@ -313,7 +313,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Rework Type Not Found")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -369,7 +369,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Invoice Number")
|
||||
->body("Invoice number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -398,7 +398,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Found')
|
||||
->body("Invoice number '$invoiceNo' doesn't exist in invoice table!<br><br>Scan the valid exist 'Invoice Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -444,7 +444,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -470,7 +470,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -498,7 +498,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Pallet Not Found')
|
||||
->body("Pallet number '$palletNo' doesn't exist in scanned invoice number '$invoiceNo'!<br><br>Scan the valid exist 'Pallet Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -524,7 +524,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->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', $invoiceNo, $palletNo, $plantId, $reworkType);
|
||||
@@ -549,7 +549,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, $palletNo, $plantId, $reworkType);
|
||||
@@ -651,7 +651,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Completed')
|
||||
->body("Scanned invoice number '$invoiceNo' doesn't completed the scanning process!<br><br>Has '$notCompletedCount' pending serial number to scan!<br><br>Please, scan the valid completed invoice number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -679,7 +679,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -705,7 +705,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -733,7 +733,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Pallet Not Found')
|
||||
->body("Pallet number '$palletNo' doesn't exist in pallet table!<br><br>Scan the valid exist 'Pallet Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -773,7 +773,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Locator Pallet Found')
|
||||
->body("Scanned pallet number '$palletNo' exist in locator number '$locatExist'.<br><br>Remove scanned 'Pallet' from 'Locator' to proceed re-master packing..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -800,7 +800,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->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', '', $palletNo, $plantId, $reworkType);
|
||||
@@ -825,7 +825,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $palletNo, $plantId, $reworkType);
|
||||
@@ -881,7 +881,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Completed: Pallet Found')
|
||||
->body("Press 'Yes' and Press 'Enter' in Scan Pallet No to do re-master packing for entire pallet.<br><br>Press 'No' to do partial re-master packing against 'Serial Number'..!")
|
||||
->info()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $palletNo, $plantId, $reworkType);
|
||||
@@ -908,7 +908,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Pallet Not Completed')
|
||||
->body("Scanned pallet number '$palletNo' doesn't completed the master packing!<br><br>Please, scan the valid completed pallet number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -933,7 +933,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Rework Type Not Found")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -989,7 +989,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Invoice Number")
|
||||
->body("Invoice number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -1018,7 +1018,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Found')
|
||||
->body("Invoice number '$invoiceNo' doesn't exist in invoice table!<br><br>Scan the valid exist 'Invoice Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -1064,7 +1064,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -1089,7 +1089,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -1115,7 +1115,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->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', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -1140,7 +1140,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -1168,7 +1168,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Serial Not Found')
|
||||
->body("Serial number '$serialNo' doesn't exist in scanned invoice number '$invoiceNo'!<br><br>Scan the valid exist 'Serial Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', $invoiceNo, '', $plantId, $reworkType);
|
||||
@@ -1270,7 +1270,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Invoice Not Completed')
|
||||
->body("Scanned invoice number '$invoiceNo' doesn't completed the scanning process!<br><br>Has '$notCompletedCount' pending serial number to scan!<br><br>Please, scan the valid completed invoice number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -1298,7 +1298,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -1324,7 +1324,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Pallet Number")
|
||||
->body("Pallet number '$palletNo' must be at least 10 digits.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -1352,7 +1352,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Pallet Not Found')
|
||||
->body("Pallet number '$palletNo' doesn't exist in pallet table!<br><br>Scan the valid exist 'Pallet Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
@@ -1392,7 +1392,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Locator Pallet Found')
|
||||
->body("Scanned pallet number '$palletNo' exist in locator number '$locatExist'.<br><br>Remove scanned 'Pallet' from 'Locator' to proceed re-master packing..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '' , '', $plantId, $reworkType);
|
||||
@@ -1419,7 +1419,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number can't be empty!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $palletNo, $plantId, $reworkType);
|
||||
@@ -1445,7 +1445,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->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', '', $palletNo, $plantId, $reworkType);
|
||||
@@ -1470,7 +1470,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title("Invalid: Serial Number")
|
||||
->body("Serial number '$serialNo' must contain alpha-numeric values only.")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $palletNo, $plantId, $reworkType);
|
||||
@@ -1498,7 +1498,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Serial Not Found')
|
||||
->body("Serial number '$serialNo' doesn't exist in pallet number '$palletNo'!<br><br>Scan the valid exist 'Serial Number' to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', $palletNo, $plantId, $reworkType);
|
||||
@@ -1589,7 +1589,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
->title('Pallet Not Completed')
|
||||
->body("Pallet number '$palletNo' doesn't completed the master packing for scanned serial number '$serialNo'!<br><br>Please, scan the valid completed pallet number to proceed..!")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '' , '', $plantId, $reworkType);
|
||||
@@ -1614,7 +1614,7 @@ class CreateReworkLocatorInvoiceValidation extends CreateRecord
|
||||
Notification::make()
|
||||
->title("Rework Type Not Found")
|
||||
->danger()
|
||||
->duration(1200)
|
||||
->duration(5000)
|
||||
->send();
|
||||
|
||||
$this->dispatch('loadData', '', '', $plantId, $reworkType);
|
||||
|
||||
Reference in New Issue
Block a user