Added indentations

This commit is contained in:
dhanabalan
2025-07-02 16:04:47 +05:30
parent 6e7b847e89
commit fd3ef4656c

View File

@@ -46,18 +46,18 @@ class InvoiceDashboard extends Page
$this->dispatch('invoiceChart'); $this->dispatch('invoiceChart');
}), }),
Select::make('invoice') Select::make('invoice')
->options([ ->options([
'serial_invoice' => 'Serial Invoice', 'serial_invoice' => 'Serial Invoice',
'individual_material' => 'Individual Material Invoice', 'individual_material' => 'Individual Material Invoice',
'bundle_material' => 'Bundle Material Invoice', 'bundle_material' => 'Bundle Material Invoice',
]) ])
->label('Select Invoice') ->label('Select Invoice')
->reactive() ->reactive()
->default(0) ->default(0)
->afterStateUpdated(function ($state) { ->afterStateUpdated(function ($state) {
session(['select_invoice' => $state]); session(['select_invoice' => $state]);
$this->dispatch('invoiceChart'); $this->dispatch('invoiceChart');
}) })
]) ])
->columns(2); ->columns(2);
} }