1
0
forked from poc/pds

Updated duration for failure messages to 5 seconds and label changed for total sno quantity field

This commit is contained in:
dhanabalan
2025-07-18 19:11:51 +05:30
parent c363faa357
commit 31ad036d0e

View File

@@ -61,7 +61,7 @@ class InvoiceFinder extends Page implements HasForms
->readOnly() ->readOnly()
->reactive(), ->reactive(),
TextInput::make('total_sno_quantity') TextInput::make('total_sno_quantity')
->label('Total SNo. Quantity') ->label('Invoice Quantity')
->readOnly() ->readOnly()
->reactive(), ->reactive(),
@@ -79,7 +79,7 @@ class InvoiceFinder extends Page implements HasForms
Notification::make() Notification::make()
->title("Invoice number '$invoiceNo' can't be empty!") ->title("Invoice number '$invoiceNo' can't be empty!")
->danger() ->danger()
->duration(1200) ->duration(5000)
->send(); ->send();
$this->dispatch('loadData', '', [], [], [], [], $plantId); $this->dispatch('loadData', '', [], [], [], [], $plantId);
$this->form->fill([ $this->form->fill([
@@ -101,7 +101,7 @@ class InvoiceFinder extends Page implements HasForms
Notification::make() Notification::make()
->title("Invoice number '$invoiceNo' does not exist in locator invoice table!") ->title("Invoice number '$invoiceNo' does not exist in locator invoice table!")
->danger() ->danger()
->duration(2000) ->duration(5000)
->send(); ->send();
$this->dispatch('loadData', '', [], [], [], [], $plantId); $this->dispatch('loadData', '', [], [], [], [], $plantId);
$this->form->fill([ $this->form->fill([
@@ -128,7 +128,7 @@ class InvoiceFinder extends Page implements HasForms
Notification::make() Notification::make()
->title("Invoice number '$invoiceNo' already completed the scanning process..!") ->title("Invoice number '$invoiceNo' already completed the scanning process..!")
->success() ->success()
->duration(2000) ->duration(5000)
->send(); ->send();
$this->dispatch('loadData', '', [], [], [], [], $plantId); $this->dispatch('loadData', '', [], [], [], [], $plantId);