@php $title = admin_trans('offers_by_category'); $icon = 'layout-grid'; @endphp @extends('admin.analytics.base') @section('analytics-content') @if($data->isEmpty()) @else @foreach($data as $item) {{ $item->category_name ?? 'N/A' }} {{ number_format($item->total) }} @endforeach @if($data->hasPages())
@endif @endif @endsection