@extends('layouts.admin') @section('content')

{{ __('Coupon List') }}

{{ __('Add Coupon') }}
@foreach($coupons as $coupon) @endforeach
{{ __('SL') }} {{ __('Coupon Code Name') }} {{ __('Duration') }} {{ __('Details') }} {{ __('Creator') }} {{ __('Status') }} {{ __('Action') }}
{{$loop->iteration}} {{$coupon->coupon_code_name}}
{{ __('Start Date') }}: {{ $coupon->start_date }}
{{ __('End Date') }}:{{ $coupon->end_date }}
{{ __('Coupon Type') }}: @if($coupon->coupon_type == 1) {{ __('Global') }} @elseif($coupon->coupon_type == 2) {{ __('Instructor') }} @elseif($coupon->coupon_type == 3) {{ __('Course') }} @endif
{{ __('Minimum Amount to Use') }}: @if(get_currency_placement() == 'after') {{ $coupon->minimum_amount }} {{ get_currency_symbol() }} @else {{ get_currency_symbol() }} {{ $coupon->minimum_amount }} @endif
Percentage: {{ $coupon->percentage }}%
{{ @$coupon->creator->name }} @if($coupon->status == 1) {{ __('Active') }} @else {{ __('Deactivated') }} @endif
{{$coupons->links()}}
@endsection @push('style') @endpush @push('script') @endpush