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

{{__("Promo Code")}}

@endsection @section("content") @include("includes.dialog")
@if(isPermissionsAllowed("delete-promos-code")) @endif @foreach($UserPromoCodes as $UserPromoCode) @if(isPermissionsAllowed("delete-promos-code")) @endif @endforeach
{{__("User Name")}} {{__("User Phone")}} {{__("Promo Code")}} {{__("Points")}} {{__("Show Used")}}{{__("Control")}}
{{$UserPromoCode->user->name}} {{$UserPromoCode->user->mobile}} {{$UserPromoCode->Promo_code}} {{$UserPromoCode->points}}
$UserPromoCode->id])}}" method="post" id="delete{{$UserPromoCode->id}}" style="display: none" data-swal-title="{{__("Delete")}}" data-swal-text="{{__("Are Your Sure To Delete This Data ?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__('the Data has been deleted successfully')}}">@csrf @method("delete")
@endsection @section("scripts") @endsection