Zakhaev
Zakhaev
FFilament
Created by lodeki on 10/28/2023 in #❓┊help
Wizard blade component ?
I would also like to know if this is possible
4 replies
FFilament
Created by Zakhaev on 5/7/2024 in #❓┊help
FillForms not working on a custom page with multiple forms.
Fixed the problem
3 replies
FFilament
Created by Zakhaev on 3/8/2024 in #❓┊help
Accessing accessor trough a relationship
Thanks anyway💪
12 replies
FFilament
Created by Zakhaev on 3/8/2024 in #❓┊help
Accessing accessor trough a relationship
I fixed it using the $state property. It was too much work so just went trough the tables manually
12 replies
FFilament
Created by Zakhaev on 3/8/2024 in #❓┊help
Accessing accessor trough a relationship
Alright thank you for your answer. But how would i make a textcolumn from a eloquentaccessor. Maybe that is easier to explain. I just want to use a field that is filtered thats why im using a accessor
12 replies
FFilament
Created by Zakhaev on 3/8/2024 in #❓┊help
Accessing accessor trough a relationship
I could provide screenshots if needed
12 replies
FFilament
Created by Zakhaev on 3/8/2024 in #❓┊help
Accessing accessor trough a relationship
Hey thanks for to reply. Initially its a check for the additionalLineItems model. So the additionalLineItems model has multiple rows connected to a line item. This is how its stored. In additionalLineItems. Total=100 TotalVat=50 And in my invoice resource, that has a lineitem. I want to display a column in the table giving me the totalVat. Its a bit hard to explain but i hope im explaining it good
12 replies
FFilament
Created by Zakhaev on 1/29/2024 in #❓┊help
problem when editing or viewing deleted records
It was a global filter in the model being added and it made the records unavailable.
12 replies
FFilament
Created by Zakhaev on 1/29/2024 in #❓┊help
problem when editing or viewing deleted records
I found the problem
12 replies
FFilament
Created by Zakhaev on 1/29/2024 in #❓┊help
problem when editing or viewing deleted records
Anyone 😅
12 replies
FFilament
Created by Zakhaev on 1/29/2024 in #❓┊help
problem when editing or viewing deleted records
this is my resource if it helps
public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('name')
->label('Naam')
->searchable(['name'])
->sortable(['name']),
Tables\Columns\TextColumn::make('users_count')
->label('Leden')
->counts('users'),
Tables\Columns\TextColumn::make('starting_date')->date()
->label('Ingangsdatum'),
Tables\Columns\TextColumn::make('ending_date')->date()
->label('Vervaldatum'),
])
->defaultSort('name', 'desc')
->filters([
//
])
->actions([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make(),
])
->bulkActions([
Tables\Actions\DeleteBulkAction::make(),
]);
}
public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('name')
->label('Naam')
->searchable(['name'])
->sortable(['name']),
Tables\Columns\TextColumn::make('users_count')
->label('Leden')
->counts('users'),
Tables\Columns\TextColumn::make('starting_date')->date()
->label('Ingangsdatum'),
Tables\Columns\TextColumn::make('ending_date')->date()
->label('Vervaldatum'),
])
->defaultSort('name', 'desc')
->filters([
//
])
->actions([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make(),
])
->bulkActions([
Tables\Actions\DeleteBulkAction::make(),
]);
}
12 replies
FFilament
Created by Zakhaev on 1/29/2024 in #❓┊help
problem when editing or viewing deleted records
Yes, im using softdeletes
12 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
@Andrew Wallo found a way, i put the solution above this reply
28 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
protected function MaximumPriceExcVat(): Attribute
{
return Attribute::make(
get: fn ($value) => price($value,2),
);
}
protected function MaximumPriceExcVat(): Attribute
{
return Attribute::make(
get: fn ($value) => price($value,2),
);
}
28 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
in the model i use this
28 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
i fixed it
28 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
nevermind
28 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
28 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
im trying to use this
28 replies
FFilament
Created by Zakhaev on 8/15/2023 in #❓┊help
Problem with decimal format (EUR) (,)
can i use the get/set attribute magic functions?
28 replies