diff --git a/app/Livewire/InvoiceDataTable.php b/app/Livewire/InvoiceDataTable.php index f7fede6..d729f67 100644 --- a/app/Livewire/InvoiceDataTable.php +++ b/app/Livewire/InvoiceDataTable.php @@ -196,7 +196,8 @@ class InvoiceDataTable extends Component ->title('Invalid Panel Box QR Format:') ->body('Scan the valid panel box QR code to proceed!') ->danger() - ->duration(3000) + // ->duration(3000) + ->seconds(2) ->send(); return; } @@ -216,7 +217,8 @@ class InvoiceDataTable extends Component ->title('Unknown: Panel Box Code') ->body("Unknown panel box code: $itemCode found for item code: $this->currentItemCode") ->danger() - ->duration(4000) + // ->duration(4000) + ->seconds(2) ->send(); $this->capacitorInput = ''; return; @@ -304,7 +306,7 @@ class InvoiceDataTable extends Component // ->title("Panel box code scanned: $itemCode") ->body("'Capacitor' QR scanned status updated, Scan next QR.") ->success() - ->duration(3000) + ->seconds(2) ->send(); $totalQuantity = InvoiceValidation::where('invoice_number', $matchingValidation->invoice_number)->where('plant_id', $this->plantId)->count(); @@ -323,6 +325,7 @@ class InvoiceDataTable extends Component ->title('Completed: Serial Invoice') ->body("Serial invoice '$matchingValidation->invoice_number' completed the scanning process.
Scan the next 'Serial Invoice' to proceed!") ->success() + ->seconds(2) ->send(); $this->loadCompletedData($matchingValidation->invoice_number, $matchingValidation->plant_id); }