@extends('admin::layouts.master') @push('styles') @endpush @section('content')
{{ translate('Coupons Stat') }}
{{ translate('Coupon Name:' . ' ' . $coupon->name) }}
{{ translate('Coupon Code:' . ' ' . $coupon->couponcode) }}

{{ intval($coupon->couponcount) + $usedCouponCount }}

{{ $usedCouponCount }}

{{ $totalRedeemedRate }}

Count
Used
Total Redeemed
{{ translate('Coupon History') }}
@foreach ($stats as $key => $stat) @endforeach
SN {{ translate('Date') }} {{ translate('Customer') }} {{ translate('Mobile') }} {{ translate('Total cart amount') }} {{ translate('Redeemed') }}
{{ $key + 1 + ($stats->currentPage() - 1) * $stats->perPage() }} {{ $stat->created_at }} {{ $stat->user->name }} {{ $stat->user->phone }} @if ($stat->order) {{ $stat->order->total_amount }} @endif @if ($stat->order) {{ $stat->order->discount_rate }} @endif
{{ $stats->links() }}
@endsection @section('modal') @include('admin::modals.delete_modal') @include('admin::modals.confirm_modal') @endsection @section('script') @include('tax::scripts.index_scripts') @endsection