Vishal Thakkar
Vishal Thakkar
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
@Leandro Ferreira Thank you for your support
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
Thank you very much for a great help
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
@Lucky0 Problem is resolved as per your suggestion
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
have you use domPDF ?
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
will get back to you within an hour
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
hope both the technique suggested works
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
@Lucky0 will try this and get back to you once it works
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
will get back to you with this
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
okay let me try if that can work
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
how to pass that array to route its not possible
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
Acion in filament resource Tables\Actions\Action::make('Download Pdf') ->icon('heroicon-o-code-bracket-square')->url('/pdf') Routes Route::any('/pdf', [ProductsController::class, 'index'])->name('products.index'); // Function in contorller public function index() { $product = Products::orderBy('position','asc')->get(); $pdf = pdf::loadView('catalogpdf',array('product' => $product))->setPaper('letter'); return $pdf->download('catalog.pdf'); }
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
i am getting selected records with the help of this in bulk action Tables\Actions\DeleteBulkAction::make()->before( function (Collection $records) { $records->each(function (Products $record) { // i can get single record through this }); }), ]) with this i am able to access single record i cannot pass an array to routes
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
@Lucky0 This code i am using for generating all records PDF and its working fine /* Code in controller function start / $product = Products::orderBy('position','asc')->get(); $pdf = pdf::loadView('catalogpdf',array('product' => $product))->setPaper('letter'); return $pdf->download('catalog.pdf'); / Code in controller ends */ and i am using this action Tables\Actions\Action::make('Download Pdf') ->icon('heroicon-o-code-bracket-square')->url('/pdf')
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
i have already tried this but this does not help in my senario
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
@Lucky0 i agree with you this working but this thing work for a single record not working for selected records
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
@Lucky0 $selected = $livewire->getSelectedTableRecords(); through this i can get selected records but i can use the records one by one. i cannot pass the array to route. and livewire is not allwowing to generate PDF as i am using domPDF package
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
this is the filament issue only how can i get selected records array to pass in route
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
No description
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
@Leandro Ferreira check this image and red box which i have mark you will come to know that i mean to say
64 replies
FFilament
Created by Vishal Thakkar on 6/27/2024 in #❓┊help
How to get selected records in PDF using filament 3
if you have any solution to build a single PDF for selected records do send me
64 replies