EL REKT
EL REKT
Explore posts from servers
FFilament
Created by EL REKT on 6/28/2024 in #❓┊help
Hide submit button on wizard
No description
6 replies
TLCTuto's Laravel Corner
Created by EL REKT on 5/24/2024 in #💡filament
Searchable for models/relationships with different database connections
No description
6 replies
FFilament
Created by EL REKT on 5/24/2024 in #❓┊help
Searchable for models/relationships with different database connections
No description
8 replies
FFilament
Created by EL REKT on 5/18/2024 in #❓┊help
Hide action table by role
I use spatie shield to set roles for users, I want to hide some actions in the table if the role is not super admin, how do I do that? I have tried this but it doesn't work.
5 replies
FFilament
Created by EL REKT on 3/5/2024 in #❓┊help
View and edit pages suddenly go blank
No description
2 replies
FFilament
Created by EL REKT on 2/24/2024 in #❓┊help
The server responded with a status of 401 (Unauthorized) when upload image/file
No description
16 replies
FFilament
Created by EL REKT on 2/20/2024 in #❓┊help
Redirect to index after creation
I used modification when creating a record with the handleRecordCreation function, but the function to create notifications and redirect to index doesn't work, is there a proper way to solve this? so far that's what I've done.. protected function handleRecordCreation(array $data): Model { $create = DB::select( 'EXEC create_ticket ?, ?, ?, ?, ?, ?, ?', [ $data['location_id'], $data['priority_id'], $data['type_id'], $data['created_by'], $data['ticket_name'], $data['ticket_desc'], $data['images'], ] ); $id = DB::scalar('SELECT ' . $create[0]->Id); return TicketHeader::find($id); } protected function afterCreate(): void { Notification::make() ->success() ->title('Ticket Created!') ->body('Trouble ticket created successfully.'); } protected function getRedirectUrl(): string { return $this->getResource()::getUrl('index'); }
10 replies
FFilament
Created by EL REKT on 2/12/2024 in #❓┊help
filled form on custom modals
No description
5 replies
FFilament
Created by EL REKT on 2/8/2024 in #❓┊help
Updating record with custom action
No description
12 replies
TLCTuto's Laravel Corner
Created by EL REKT on 2/7/2024 in #💡filament
Three level dependent select
i have 3 table like this : table a => id, name table b =>id, table_a_id, name table c => id, table_b_id, name How do I create a relationship in table model C to get data related to tables B and A? anyone can help ?
4 replies
FFilament
Created by EL REKT on 2/7/2024 in #❓┊help
Relationship many to many
i have 3 table like this : table a => id, name table b =>id, table_a_id, name table c => id, table_b_id, name How do I create a relationship in table model C to get data related to tables B and A? anyone can help ?
7 replies
FFilament
Created by EL REKT on 2/7/2024 in #❓┊help
Error class "NumberFormatter" not found after deploying to linux server
No description
5 replies
FFilament
Created by EL REKT on 2/4/2024 in #❓┊help
Many to many Relationship
No description
3 replies
FFilament
Created by EL REKT on 2/2/2024 in #❓┊help
Route in Nested Resources
I created nested resources by following the steps from here: https://laraveldaily.com/post/filament-v3-nested-resources-trait-pages but I still have 1 more resource under child resource (in this case under LessonResource), how do I write the route?
5 replies
FFilament
Created by EL REKT on 2/2/2024 in #❓┊help
Target [Illuminate\Database\Eloquent\Model] is not instantiable On Nested Resources.
No description
6 replies
TLCTuto's Laravel Corner
Created by EL REKT on 1/21/2024 in #💡filament
How to integrate filament v3 with stored procedure
I want to use stored procedures for CRUD needs. But I'm confused about how to call the stored procedure function from the create/edit button, or when I want to display the resulting data from the stored procedure in a table. anyone can help ?
11 replies
FFilament
Created by EL REKT on 1/17/2024 in #❓┊help
How to integrate filament v3 with stored procedure
I want to use stored procedures for CRUD needs. But I'm confused about how to call the stored procedure function from the create/edit button, or when I want to display the resulting data from the stored procedure in a table. anyone can help ?
3 replies