@extends('admin.layout.master') @section('css') @endsection @section('content') {{ awtTrans('رقم الكوبون') }} {{ awtTrans('نوع الخصم') }} {{ awtTrans('2نوع الخصم') }} {{ awtTrans('قيمة الخصم') }} {{ awtTrans('تاريخ الانتهاء') }} {{ awtTrans('تنشيط او الغاء تنشيط كوبون') }} {{ awtTrans('عدد مرات الاستخدام') }} {{ awtTrans('التاريخ') }} {{ awtTrans('التحكم') }} @foreach ($coupons as $coupon) {{ $coupon->identity }} @lang('site._' . $coupon->type) @if ($coupon->use_type == \App\Enums\CouponEnum::PRICING) {{ awtTrans('تسعير ') }} @elseif($coupon->use_type == \App\Enums\CouponEnum::WORKSHOP) {{ awtTrans('ورش ') }} @else {{ awtTrans('لا يوجد ') }} @endif {{ $coupon->discount }} {{ date('d-m-Y', strtotime($coupon->expire_date)) }} @if ($coupon->status == 'available') {{ awtTrans('ايقاف الكوبون') }} @else {{ awtTrans('اعاده تنشيط الكوبون') }} @endif {{ $coupon->total_usage }} {{ \Carbon\Carbon::parse($coupon->created_at)->format('d/m/Y') }} @endforeach {{-- #table --}} @endsection @section('js') {{-- delete all script --}} @include('admin.shared.deleteAll') {{-- delete all script --}} {{-- delete one user script --}} @include('admin.shared.deleteOne') {{-- delete one user script --}} @endsection