@extends("layouts.admin.app") @section("page-title") {{__("PromoCode")}} @endSection @section("page-nav-title")

{{__("PromoCodes")}}

{{__("All PromoCodes")}}

@endsection @section("content") @include("includes.dialog")
@foreach($promoCodes as $promoCode) @endforeach
{{__("#ID")}} {{__("Title")}} {{__("Type")}} {{__("Value")}} {{__("Start date")}} {{__("End date")}} {{__("max number of used")}} {{__("Max Discount")}} {{__("Control")}}
{{$promoCode->id}} {{$promoCode->title}} {{$promoCode->type}} {{$promoCode->value}} {{$promoCode->start_time}} {{$promoCode->End_time}} {{$promoCode->number_of_used}} {{$promoCode->max_discount}} @if($promoCode->status != 1) $promoCode->id])}}" class="btn btn-primary">{{__("Send Notification")}} @endif $promoCode->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 successfully')}}">@csrf @method("delete")
$promoCode->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 successfully')}}">@csrf @method("delete")
@endsection @section("scripts") @if(session()->has("technician_register_info")) @endif @endsection