abdullafahem
abdullafahem
FFilament
Created by abdullafahem on 7/4/2024 in #❓┊help
Repeater Fields to TextColumn
Hi, I have a Repeater with one field stage_name and I need to display it in table but when I display it shows all stages name how to show only the last stage name? Thank you!
12 replies
FFilament
Created by abdullafahem on 6/3/2024 in #❓┊help
Table Actions Fixed Width
Is there any chance for table action like edit/delete to be fixed width if we have more than column the action should be fixed not need to go in the end of the table to click the actions?
18 replies
FFilament
Created by abdullafahem on 5/8/2024 in #❓┊help
Form in Dashboard
How to display a form in dashboard to collect data from users?
4 replies
FFilament
Created by abdullafahem on 5/6/2024 in #❓┊help
Filament Export Action
Hi, I have this code for exporting it still work in Laravel 10 and Filament v3.2, but now I tried the same code in Laravel 11 Filament v3.2, it doesn't work. I see the problem doesn't create a filament_exports folder in public/storage. ExportAction::make() ->label('تصدير') ->color('red') ->icon('heroicon-o-arrow-down-tray') ->exporter(ContactExporter::class) ->formats([ ExportFormat::Xlsx, ]) ->fileName(fn (Export $export): string => "تصدير المساهمين-{$export->getKey()}") ->after(function () { $id = Export::latest()?->first()?->id; $path = 'filament_exports/' . $id . '/تصدير المساهمين-' . $id . '.xlsx'; // you can change the filename based on the Exporter if (Storage::disk('public')->exists($path)) { return response()->stream( function () use ($path, $id) { $stream = Storage::disk('public')->readStream($path); dd($stream); fpassthru($stream); fclose($stream); Storage::disk('public')->deleteDirectory('filament_exports/' . $id); Export::truncate(); }, 200, [ 'Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'Content-Disposition' => 'attachment; filename=' . $id . '.xlsx', ] ); } else { abort(404, 'الملف غير موجود.'); } }) Any solution please?
10 replies
FFilament
Created by abdullafahem on 4/28/2024 in #❓┊help
Relation Manager not in modal
I need from a Relation Manager to be open not in a modal but in a new page, but that page should have another Relation Manager down. Is there any solution?
1 replies
FFilament
Created by abdullafahem on 2/26/2024 in #❓┊help
Using createOptionForm
Hi I am using createOptionForm, I used in version 2 and worked well but in version 3 it shows me that I need to use createOptionUsing but I don't know why. Any solution???
4 replies
FFilament
Created by abdullafahem on 2/26/2024 in #❓┊help
Change a date field from a child status field
Hi guys! I have a Project resource and his Units as a Relation Manager, in the project resource I have a date that should be changed automatically if a unit status changed from available to sold. Any solution please
4 replies
FFilament
Created by abdullafahem on 2/10/2024 in #❓┊help
Same model different Relation Managers
Hi guys! Is there anyway to filter the same model to different Relation Managers. For example I have Unit the model from this I have 3 Relation Managers 1) Apartments 2) Roofs 3) Villas, but now when I create an Apartment it shows in other Relation Managers. Please any solution!
5 replies
FFilament
Created by abdullafahem on 2/5/2024 in #❓┊help
PDF area height
No description
12 replies
FFilament
Created by abdullafahem on 2/4/2024 in #❓┊help
The POST method is not supported for route login. Supported methods: GET, HEAD.
Hi guys! I am deploying a Laravel FilamanetPHP app in my VPS and after I login in show me this error. What should I do? Please any solution?
21 replies
FFilament
Created by abdullafahem on 12/5/2023 in #❓┊help
Count with Eloquent
I have a "project" table and I want to count projects by status. Any solution please?
6 replies
FFilament
Created by abdullafahem on 12/1/2023 in #❓┊help
Date disable before today
Hi, guys! How can I disable the dates before today in DatePicker?
3 replies
FFilament
Created by abdullafahem on 11/27/2023 in #❓┊help
Filament Notifications outside Filament
How can I use the Filament Notifications in a livewire v3 jetstream app. Is it possible?
23 replies
FFilament
Created by abdullafahem on 11/11/2023 in #❓┊help
Login Form
Is it possible to customise the layout of login form.
7 replies
FFilament
Created by abdullafahem on 6/18/2023 in #❓┊help
Filter a Select Field in a Repeater
How to filter a Select Field in a Repeater to avoid duplicated?
5 replies