Sayy
Sayy
FFilament
Created by Sayy on 11/10/2024 in #❓┊help
how to handle widget with multiple dashboard ?
thanks bg udh clear kok pertanyaan
10 replies
FFilament
Created by Sayy on 11/10/2024 in #❓┊help
how to handle widget with multiple dashboard ?
tinggal di panelprovider nya gnti sesuai dashboard custom nya aja bang
10 replies
FFilament
Created by Sayy on 11/10/2024 in #❓┊help
how to handle widget with multiple dashboard ?
bkin dlu dashboard page nya bg pakai ini bisa
php artisan make:filament-page Dashboard --type=custom --panel=app
php artisan make:filament-page Dashboard --type=custom --panel=app
10 replies
FFilament
Created by Sayy on 10/3/2024 in #❓┊help
how to custom actions on editing record
any idea ? or solution
3 replies
FFilament
Created by Sayy on 8/21/2024 in #❓┊help
Getting error display-text filter datepicker
before already set with native, after i remove native no error, and how if im using native ?
3 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
thanks for help me sir, already clear
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
wait if the $this->form->getState() with create first then get data its possible ?
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
ok i will try it
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
yeah i think can already check. but i have data repeater then how to get this ? because already check my repeater not show
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
then how to access the data form $this->form->getState()
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
if click this will open modal right ?
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
ok but how to get data form then i want to generate pdf to print with this code like this maybe ?
Actions\CreateAction::make()->label('Simpan & Cetak')
->color('warning')
->action(function (Order $record) {
$pdf = Pdf::loadView('pdf.print-order', [
'order' => $record,
]);

return response()->streamDownload(function () use ($pdf) {
echo $pdf->stream();
}, 'receipt-' . $record->order_number . '.pdf');
$this->create();
})
Actions\CreateAction::make()->label('Simpan & Cetak')
->color('warning')
->action(function (Order $record) {
$pdf = Pdf::loadView('pdf.print-order', [
'order' => $record,
]);

return response()->streamDownload(function () use ($pdf) {
echo $pdf->stream();
}, 'receipt-' . $record->order_number . '.pdf');
$this->create();
})
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
inside action ?
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
No description
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
because this action in form action
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
depends after click button will save ? like same with default create?
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
Actions\CreateAction::make()
->label('Simpan Draft')
->action(function (){

}),
Actions\CreateAction::make()
->label('Simpan Draft')
->action(function (){

}),
like this on function ? can give me example sir ?
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
then how if the data its same like create function but just want to update data ?
27 replies
FFilament
Created by Sayy on 8/7/2024 in #❓┊help
how to custom actions on create record
functional its same like create, but i just want to update my data if i click this button, or just print my pdf from $this->record how to get $this->record with custom ?
27 replies
FFilament
Created by Sayy on 6/13/2024 in #❓┊help
how to get data relationship from table text column in description
solve with code like this :
->description(fn (Product $record): string => $record->productItems()->pluck('satuan')->implode(', '))
->description(fn (Product $record): string => $record->productItems()->pluck('satuan')->implode(', '))
10 replies