{{-- @dd( \App\Models\Employee::query()->find(auth()->id())->first()->store->id)--}}
{{t_("today orders")}}

{{\App\Models\OrdersStores::query() ->where('store_id', \App\Models\Employee::query()->find(auth()->id())->first()->store->id) ->whereDate('created_at', \Illuminate\Support\Carbon::today())->get()->count()}}

{{t_("Compared to last week")}}

{{t_("Latest Orders")}}

{{\App\Models\OrdersStores::query() ->where('store_id', \App\Models\Employee::query()->find(auth()->id())->first()->store->id) ->latest()->get()->count()}}

{{t_("Compared to last week")}}

{{t_("All Orders")}}

{{\App\Models\OrdersStores::query() ->where('store_id', \App\Models\Employee::query()->find(auth()->id())->first()->store->id)->get()->count()}}

{{t_("Total Number")}}

{{t_("Tickets")}}

{{\App\Models\Ticket::query()->where('store_id', \App\Models\Employee::query()->find(auth()->id())->first()->store->id)->whereNull('parent_id')->get()->count()}}

{{t_("Total Number")}}