@section('site_title', formatTitle([__('Coupons'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('admin.dashboard'), 'title' => __('Admin')], ['title' => __('Coupons')], ]])

{{ __('Coupons') }}

{{ __('New') }}
{{ __('Coupons') }}
@include('shared.message') @if(count($coupons) == 0) {{ __('No results found.') }} @else
{{ __('Name') }}
{{ __('Type') }}
{{ __('Status') }}
@foreach($coupons as $coupon)
{{ $coupon->name }} {{ $coupon->code }}
{{ number_format($coupon->percentage, 2, __('.'), __(',')) }}% {{ ($coupon->type ? __('Redeemable') : __('Discount')) }}
{{ ($coupon->trashed() ? __('Disabled') : __('Active')) }}
@include('admin.coupons.partials.menu')
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $coupons->firstItem(), 'to' => $coupons->lastItem(), 'total' => $coupons->total()]) }}
{{ $coupons->onEachSide(1)->links() }}
@endif