Salah Kanjo
Salah Kanjo
FFilament
Created by lucianosnchz on 10/17/2023 in #❓┊help
Chart Widget - Multiple results
Something like:
[$adminLabels, $adminData] = Trend::make(\App\Models\Admin::class)
->range($this->filter)
->rangesFromOptions($this->getFilters())
->countByMonths();

[$userLabels, $userData] = Trend::make(\App\Models\User::class)
->range($this->filter)
->rangesFromOptions($this->getFilters())
->countByMonths();
[$adminLabels, $adminData] = Trend::make(\App\Models\Admin::class)
->range($this->filter)
->rangesFromOptions($this->getFilters())
->countByMonths();

[$userLabels, $userData] = Trend::make(\App\Models\User::class)
->range($this->filter)
->rangesFromOptions($this->getFilters())
->countByMonths();
and pass the data to datasets array
7 replies
FFilament
Created by lucianosnchz on 10/17/2023 in #❓┊help
Chart Widget - Multiple results
just create two instances of the Trend and pass it to datasets
7 replies
FFilament
Created by lucianosnchz on 10/17/2023 in #❓┊help
Chart Widget - Multiple results
7 replies
FFilament
Created by Pixxle_chris on 10/10/2023 in #❓┊help
Hide the Delete button on Resource
You're welcome, make sure to check on other pages
6 replies
FFilament
Created by Pixxle_chris on 10/10/2023 in #❓┊help
Hide the Delete button on Resource
Make sure to delete it in the pages also, view, edit pages
6 replies
FFilament
Created by Pixxle_chris on 10/10/2023 in #❓┊help
Hide the Delete button on Resource
Just delete it from the resource, it should something like DeleteAction
6 replies
FFilament
Created by Xiquita on 9/26/2023 in #❓┊help
Send mail for other customer
Not what i meant.
->before(function (DeleteAction $action, Model $record) {...})
->before(function (DeleteAction $action, Model $record) {...})
10 replies
FFilament
Created by Xiquita on 9/26/2023 in #❓┊help
Send mail for other customer
Which will resolve the current model which you ran the action on
10 replies
FFilament
Created by Xiquita on 9/26/2023 in #❓┊help
Send mail for other customer
Add Model $record as argument to the function
10 replies
FFilament
Created by Yagamii on 9/26/2023 in #❓┊help
Login
You can mark the discussion as solved
13 replies
FFilament
Created by Yagamii on 9/26/2023 in #❓┊help
Login
@Yagamii any time!
13 replies
FFilament
Created by Yagamii on 9/26/2023 in #❓┊help
Login
Make sure to add the admin auth to auth.php config file
13 replies
FFilament
Created by Yagamii on 9/26/2023 in #❓┊help
Login
Change the auth guard in the panel
13 replies
FFilament
Created by Yagamii on 9/26/2023 in #❓┊help
Login
13 replies
FFilament
Created by Yagamii on 9/26/2023 in #❓┊help
Login
@Yagamii by using a panel for each one.
13 replies
FFilament
Created by Salah Kanjo on 9/10/2023 in #❓┊help
Dynamic columns
Latest three records with dynamic value just like summary option
14 replies
FFilament
Created by Salah Kanjo on 9/10/2023 in #❓┊help
Dynamic columns
I am aware of summary option in the table, not what i want.
14 replies
FFilament
Created by Salah Kanjo on 9/10/2023 in #❓┊help
Dynamic columns
No description
14 replies
FFilament
Created by Salah Kanjo on 9/10/2023 in #❓┊help
Dynamic columns
Simply Sub-Column field in table.
14 replies
FFilament
Created by Salah Kanjo on 9/10/2023 in #❓┊help
Dynamic columns
Dynamic sub-column
14 replies