i'm using chart widget with Trend Is it possible to configure it For multi tenant ?

I want to show how many employee is join in my company in a chart! but if i do it normal way It show all the employee I want to show only company related employee number! There is no querybuilder in Trand so I cant use whereBelongsTo(getTenant)
1 Reply
awcodes
awcodes5d ago
From trend’s readme:
Trend::query(
Order::query()
->hasBeenPaid()
->hasBeenShipped()
)
Trend::query(
Order::query()
->hasBeenPaid()
->hasBeenShipped()
)