@extends('admin.layouts.master') @section('title','Coupons') @section('maincontent') @include('admin.layouts.topbar',$data)
{{ __('ID') }} | {{ __('Coupon Code') }} | {{ __('Amount') }} | {{ __('Max Usage') }} | {{ __('Detail') }} | {{ __('Action') }} | @foreach($coupans as $key=> $cpn)
---|---|---|---|---|---|
{{ __('Are You Sure') }} ?{{ __('Do you really want to delete selected item names here? This process cannot be undone') }}. |
{{ $cpn->code }} | @if($cpn->distype == 'fix') @endif {{ $cpn->amount }}@if($cpn->distype == 'per')% @endif | {{ $cpn->maxusage }} |
{{ __('Linked to') }}: {{ ucfirst($cpn->link_by) }} {{ __('Expiry Date') }}: {{ date('d-M-Y',strtotime($cpn->expirydate)) }} {{ __('Discount Type') }}: {{ $cpn->distype == 'per' ? "Percentage" : "Fixed Amount" }} {{ __('Coupon Code Display on front') }}: @if($cpn->show_to_users == '1') {{ __('Yes') }} @else {{ __('No') }} @endif |
@if (isset($cpn->stripe_coupon_id))
-
@else
@can('coupons.edit')
{{ __('Edit') }}
@endcan
@can('coupons.delete')
{{ __("Delete") }}
@endcan
|