php artisan make:filament-page Dashboard --type=custom --panel=app
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 Draft')->action(function (){ }),
->description(fn (Product $record): string => $record->productItems()->pluck('satuan')->implode(', '))