@extends('header.header') @section('content')
{{__('promo code')}}

@foreach($promoCodes as $promoCode) @endforeach
#{{__('ID')}} {{__('Title')}} {{__('Type')}} {{__('Value')}} {{__('Start date')}} {{__('End date')}} {{__('max number of used')}} {{__('Control')}}
{{++$count}} {{$promoCode->title}} {{$promoCode->type}} {{$promoCode->value}} {{$promoCode->start_time}} {{$promoCode->End_time}} {{$promoCode->max}} id)}}" class="control-link edit">
id)}}" method="post" id="delete{{$promoCode->id}}" style="display: none" data-swal-title="{{__('Delete PromoCode')}}" data-swal-text="{{__('Are Your Sure To Delete This Promocode')}}" data-yes="{{__('Yes')}}" data-no="{{__('No')}}" data-success-msg="{{__('the Promocode has been deleted succssfully')}}">@csrf @method("delete")
{{$promoCodes->links()}}
@endsection @section("js-scripts") {{-- --}} @endsection