Part:12 | Want Print Functionality in Your Filament Invoices? Watch This Now
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- If you're using Filament and want to add print functionality to your invoices, this video is a must-watch! Learn how to incorporate custom print actions in Filament using Laravel.
Learn how to add print functionality to your Filament invoices with this easy tutorial in Laravel. Watch now to customize your Filament invoices and create a seamless printing experience! #laravel #filament #print #pdf #invoicesIn this tutorial, we'll show you how to add print functionality to your Filament invoices using Laravel. Watch now to learn how to create custom pages and enable the print action in Filament for a seamless user experience! #laravel #filament #pdfinlaravel #custompageinfliament #printactioninfilament #FilamentPrintIn this tutorial, we'll show you how to add print functionality to your Filament invoices using Laravel. Watch now to learn how to create custom pages and enable the print action in Filament for a seamless user experience! #laravel #filament #pdfinlaravel #custompageinfliament #printactioninfilament #FilamentPrintIn this tutorial, we continue building on our Filament project by adding print functionality to our invoices. You’ll learn how to create and integrate print actions, enabling users to print invoice records directly from the application. This step-by-step guide is perfect for developers looking to enhance their Filament dashboard with practical features. Whether you're new to Filament or looking to expand your application's capabilities, this video will help you implement a seamless and user-friendly print option for managing invoice records. Stay tuned for more tips and tricks on improving your Filament projects!
Merci pour le code, mais je recois cette erreur : "Using $this when not in object context " voici le bout de code : $commande=encaissement::with(['lettrevoiture'],['modepaiement'])->find($id);
if ($commande)
{
facturerecord::create(
[
"user_id"=>auth()->user()->id,
"lettrevoiture_id"=>$id
]);
$pdf= \PDF::loadview('pdf.commandefacture',compact('commande')); // VOICI OU SE TROUVE L'ERREUR
return $pdf->stream();
}
It will be easier for me if you will share the file. You can email me the file and i will reply for that. Because your above code does not use $this. Also check if you are using $this inside the static methods. we cannot do that.