Becker Maxime
Becker Maxime
FFilament
Created by Becker Maxime on 10/22/2024 in #❓┊help
All Tenant
This setup doesn’t meet my expectations, as it won’t be restricted to specific tenants. It will see all tenants, whereas what I want is for it to only view all entities associated with its tenants. But otherwise a good idea.
13 replies
FFilament
Created by Becker Maxime on 10/22/2024 in #❓┊help
All Tenant
yes but I haven't found the solution yet
13 replies
FFilament
Created by Becker Maxime on 10/23/2024 in #❓┊help
Problem Dehydrated Multiple Select
the solution is to put in the mount() function "$this->form->fill([]);"
9 replies
FFilament
Created by Becker Maxime on 10/23/2024 in #❓┊help
Problem Dehydrated Multiple Select
even using mutateFormDataBeforeCreate, I still have the problem
9 replies
FFilament
Created by Becker Maxime on 10/23/2024 in #❓┊help
Problem Dehydrated Multiple Select
Here's my component, I don't understand why without multiple I have the data but with multiple I don't.
9 replies
FFilament
Created by Becker Maxime on 10/23/2024 in #❓┊help
Problem Dehydrated Multiple Select
they only suck when I set the select to multiple
9 replies
FFilament
Created by Becker Maxime on 10/22/2024 in #❓┊help
All Tenant
is it possible ?
13 replies
FFilament
Created by Becker Maxime on 10/22/2024 in #❓┊help
All Tenant
I'd like the user to be able to select these current tenants or see all of them at once.
13 replies
FFilament
Created by Becker Maxime on 9/16/2024 in #❓┊help
Is it possible to have a minimum width for the text input column in mobile?
Thank you, you are the boss !
5 replies
FFilament
Created by Benjámin on 11/14/2023 in #❓┊help
Saving relationships when creating record with Repeater
Why not use the create() function to check your data.
6 replies
FFilament
Created by Becker Maxime on 11/15/2023 in #❓┊help
filepload display problem
The solution is to type the following command:
php artisan storage:link
php artisan storage:link
10 replies
FFilament
Created by Becker Maxime on 11/15/2023 in #❓┊help
filepload display problem
10 replies
FFilament
Created by Becker Maxime on 11/15/2023 in #❓┊help
filepload display problem
I still don't have a preview
10 replies
FFilament
Created by Becker Maxime on 11/15/2023 in #❓┊help
filepload display problem
FileUpload::make('logo')
->image()
->imageEditor()
->previewable(true)
->columnSpan(2),
FileUpload::make('logo')
->image()
->imageEditor()
->previewable(true)
->columnSpan(2),
10 replies
FFilament
Created by Becker Maxime on 11/15/2023 in #❓┊help
filepload display problem
No description
10 replies
FFilament
Created by Becker Maxime on 11/14/2023 in #❓┊help
reactive action
QuoteResource :
Forms\Components\Select::make('status')
->disabled(function ($record) {
return $record?->invoice;
})
->options([
Quote::UNPAID => 'Non payé',
Quote::PENDING => 'En attente',
Quote::PAID => 'Payé',
])
Forms\Components\Select::make('status')
->disabled(function ($record) {
return $record?->invoice;
})
->options([
Quote::UNPAID => 'Non payé',
Quote::PENDING => 'En attente',
Quote::PAID => 'Payé',
])
4 replies
FFilament
Created by Becker Maxime on 11/14/2023 in #❓┊help
reactive action
Example : I'd like to update this hidden function without reloading my page. EditQuote :
Action::make('paid_deposit_amount')
->label(__('quote-resource.action.paid_deposit_amount'))
->requiresConfirmation()
->url(fn($record): string => route('generate.payement.quote', ['id' => $record->id]))
->openUrlInNewTab()
->hidden(function ($record) {
return !is_numeric($record->artist->vat_rate)
|| !is_numeric($record->deposit_amount)
|| !$record->artist->key_stripe
|| $record->status == Quote::PAID;
}),
Action::make('paid_deposit_amount')
->label(__('quote-resource.action.paid_deposit_amount'))
->requiresConfirmation()
->url(fn($record): string => route('generate.payement.quote', ['id' => $record->id]))
->openUrlInNewTab()
->hidden(function ($record) {
return !is_numeric($record->artist->vat_rate)
|| !is_numeric($record->deposit_amount)
|| !$record->artist->key_stripe
|| $record->status == Quote::PAID;
}),
4 replies
FFilament
Created by Becker Maxime on 10/27/2023 in #❓┊help
Update repeater
@Hugh Messenger Thank you very much. it works, I didn't know laravel didn't handle composite keys, thank you very much. Bisous
25 replies
FFilament
Created by Becker Maxime on 10/27/2023 in #❓┊help
Update repeater
Thank you very much for your time. I hope I won't have to call you back.
25 replies
FFilament
Created by Becker Maxime on 10/27/2023 in #❓┊help
Update repeater
Ok thanks for your help, I'll try that on Monday. Thanks
25 replies