@php $categories = App\Models\Category::active() ->where('is_featured', Status::YES) ->orderBy('id', 'DESC') ->withCount([ 'jobs' => function ($query) { $query->published()->approved(); }, ]) ->get(); @endphp @if ($categories->count())
{{ $category->jobs_count }} @lang('Job')