@extends('layouts.master') @section('header') @include('layouts.partials.header') @endsection @section('navbar') @include('layouts.partials.nav') @endsection @section('sidebar') @include('layouts.partials.sidebar') @endsection @section('content')

{{__("Coupon Info")}}

id )}}" class='text-info mx-2' style=''>
@csrf {{ method_field('DELETE') }}

{{$item->code}}

{{__($item->type)}}

@if($item->type=='percentage')

{{$item->discount_amount ." %"}}

@endif

@if($item->free_shipped==1){{__("Yes")}}@else {{__("No")}} @endif

{{$item->total_available_coupons}}

{{$item->available_coupons_per_customer}}

{{$item->number_of_used_coupons}}

@if(!is_null($item->expire_date)){{date("d/m/Y",strtotime($item->expire_date))}}@else --- @endif

@if(!empty($item->last_coupon_date)){{date("d/m/Y",strtotime($item->last_coupon_date))}}@else --- @endif

@foreach($item->countries as $key=>$country)
  • {{__("cities")}}: {{$country->cities_names}}
  • {{__("regions")}}: {{$country->regions_names}}
  • {{__("categories")}}: {{$country->categories_names}}
  • {{__("products")}}: {{$country->products_names}}
  • @if($item->type=='fixed')
  • {{__("Discount Amount")}}: {{$country->discount_amount}}
  • @endif
@endforeach
@if($item->status==1){{__("Active")}}@else{{__("Inactive")}}@endif
@endsection @section('footer') @include('layouts.partials.footer') @endsection @section('scripts') @include('layouts.partials.scripts') @endsection