Added indentations
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user