Mina
Mina
FFilament
Created by Mina on 4/5/2024 in #❓┊help
Is there a way to put maxHeight on stats widget
bump ⬆️
4 replies
FFilament
Created by Mina on 4/4/2024 in #❓┊help
filter query join is not working for me
I couldn't make this one work, so we moved it into a widget because we need this info from anywhere
8 replies
FFilament
Created by Mina on 4/4/2024 in #❓┊help
filter query join is not working for me
I've also tried with the baseQuery method and it doesn't work
8 replies
FFilament
Created by Mina on 4/4/2024 in #❓┊help
filter query join is not working for me
I will try to do that, the query checks out, i get the result
8 replies
FFilament
Created by Mina on 4/4/2024 in #❓┊help
filter query join is not working for me
i've also tried with relationship, and i didn't manage to get it to work: Tables\Filters\Filter::make('least_money_made')->query(function (Builder $query) { return $query->withCount('orderRelation') ->with(['orderRelation' => function ($query) { $query->selectRaw('funnel_id, SUM(total_price) as total_money_made') ->groupBy('funnel_id'); }]) ->get() ->sortBy(function ($funnel) { return $funnel->orderRelation_count > 0 ? $funnel->orderRelation->sum('total_money_made') : PHP_INT_MAX; }) ->first(); }),
8 replies
FFilament
Created by Mina on 4/4/2024 in #❓┊help
filter query join is not working for me
⬆️
8 replies
FFilament
Created by Mina on 3/27/2024 in #❓┊help
Widget getColumns not working
No description
14 replies
FFilament
Created by Mina on 3/27/2024 in #❓┊help
Widget getColumns not working
actually, that one works only if the colspan of the widget is set to 1, and it doesn't look good
14 replies
FFilament
Created by Mina on 3/27/2024 in #❓┊help
Widget getColumns not working
thanks guys, it was the getHeaderWidgetsColumns(). Sometimes it takes 5 minutes of your time to help someone not have a panic attack
14 replies
FFilament
Created by Mina on 3/27/2024 in #❓┊help
Widget getColumns not working
please help, I don't understand why is it not working
14 replies