shashika
shashika
FFilament
Created by shashika on 11/3/2024 in #❓┊help
image not show. please help
Does this not work because it uses relationship?
9 replies
FFilament
Created by shashika on 11/3/2024 in #❓┊help
image not show. please help
No description
9 replies
FFilament
Created by shashika on 11/3/2024 in #❓┊help
image not show. please help
this code working on blade. <img src="{{ Storage::disk(config('filesystems.default'))->url(App\Enums\FilePath::DRIVER_PHOTO->value . Auth::user()->driver->photo) . '?timestamp=' . time() }}" alt="Driver Photo" class="object-cover w-20 h-20 rounded-full">
9 replies
FFilament
Created by shashika on 11/3/2024 in #❓┊help
image not show. please help
yes
9 replies
FFilament
Created by shashika on 5/2/2024 in #❓┊help
Filament Install Error
No description
5 replies
FFilament
Created by shashika on 5/2/2024 in #❓┊help
Filament Install Error
No description
5 replies
FFilament
Created by shashika on 2/16/2024 in #❓┊help
How to override filament default form data store method
Thank you everyone 🫡
14 replies
FFilament
Created by shashika on 2/16/2024 in #❓┊help
How to override filament default form data store method
use below methodpublic function handleRecordCreation(array $data): Model {
}
14 replies
FFilament
Created by shashika on 2/16/2024 in #❓┊help
How to override filament default form data store method
I want data pass to CreateVehicle Action class.
14 replies
FFilament
Created by shashika on 2/16/2024 in #❓┊help
How to override filament default form data store method
No description
14 replies
FFilament
Created by shashika on 2/16/2024 in #❓┊help
How to override filament default form data store method
<?php namespace App\Filament\Company\Resources\VehicleResource\Pages; use App\Enums\Status; use App\Filament\Company\Resources\VehicleResource; use App\Models\Company; use App\Models\VehicleCategory; use App\Models\VehicleType; use Filament\Resources\Pages\CreateRecord; use Illuminate\Support\Facades\Auth; use Localift\Vehicle\Actions\CreateVehicle as LocaliftCreateVehicle; class CreateVehicle extends CreateRecord { protected static string $resource = VehicleResource::class; public function __construct( private LocaliftCreateVehicle $createVehicle ) { } protected function beforeCreate(): void { //dd($this->data['vehicle_category_id']); $this->createVehicle->execute( $this->data['name'], Status::ACTIVE->toStatus(), VehicleType::query()->find($this->data['vehicle_type_id'])->toVehicleType(), VehicleCategory::query()->find($this->data['vehicle_category_id'])->toVehicleCategory(), Company::query()->find(Auth::id())->toCompany(), $this->data['name'], ); } }
14 replies
FFilament
Created by shashika on 2/16/2024 in #❓┊help
How to override filament default form data store method
sure.
14 replies
FFilament
Created by shashika on 2/16/2024 in #❓┊help
How to override filament default form data store method
This doesn't work.. please help
14 replies
FFilament
Created by shashika on 8/4/2023 in #❓┊help
Custom Action Class (DDD)
Tysm ❤️
7 replies
FFilament
Created by shashika on 8/4/2023 in #❓┊help
Custom Action Class (DDD)
is it there in documentacion?
7 replies
FFilament
Created by shashika on 5/16/2023 in #❓┊help
How to execute custom action written outside of filament?
yes
6 replies
FFilament
Created by shashika on 5/16/2023 in #❓┊help
How to execute custom action written outside of filament?
For example I want store data in database using my custom action when my create function on my vehicle resource is executed without executing the default logic of filament for create function on resources. Further, I need to achieve the above as I'm currently using domain driven development.
6 replies