@php
$title = admin_trans('offers_by_type');
$description = 'View offers grouped by type (discount, coupon, deal, etc.)';
$icon = 'layers';
@endphp
@extends('admin.analytics.base')
@section('analytics-content')
@if($data->isEmpty())
@else
@foreach($data as $item)
{{ ucfirst($item->type) }}
{{ number_format($item->total) }}
@endforeach
@endif
@endsection