LucaCvg
LucaCvg
FFilament
Created by LucaCvg on 12/24/2023 in #❓┊help
How to compare two fields value of different tables in Relation Manager?
It was recommended to me on GitHub to use $record->wbe->budget_to_complete and this worked. So, also your answer is correct! Thank You! Here is the code: Tables\Columns\TextColumn::make('estimate_at_completion') ->label('EAC') ->badge() ->color(fn ($state, $record): string => floatval($state) < floatval($record->wbe->budget_to_complete) ? 'success' : 'danger'),
6 replies
FFilament
Created by LucaCvg on 12/23/2023 in #❓┊help
Showing Multiple Charts (ChartWidget) in ViewPage
Solved. protected function getFooterWidgets(): array { return [WbeStatsCostChart::class, WbeStatsKpiChart::class]; }
4 replies
FFilament
Created by LucaCvg on 12/21/2023 in #❓┊help
RepeatableEntry on InfoList dont show any data
Hi, trying several times I couldn't get the "RepeatableEntry" to work. However I solved it differently using Filament's "Relation Manager". I hope it can be useful to all those like me who are beginners. Un esempio qui: https://www.youtube.com/watch?v=ReCxgWsSTBA&t=231s
4 replies