@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
{{ __lang('coupon-help') }}
{{ __lang('Add Coupon') }}
@php foreach($coupons as $coupon): @endphp @php endforeach; @endphp
{{ __lang('name') }} {{ __lang('code') }} {{ __lang('discount') }} {{ __lang('enabled') }} {{ __lang('starts') }} {{ __lang('ends') }} {{ __lang('times-used') }}
{{$coupon->name}} {{$coupon->code}} {{$coupon->discount}}@php if($coupon->type=='P'): @endphp%@php endif; @endphp {{boolToString($coupon->enabled)}} {{showDate('d/M/Y',$coupon->date_start)}} {{showDate('d/M/Y',$coupon->expires_on)}} {{$coupon->invoices()->count()}} {{ __lang('edit') }} {{ __lang('delete') }}
{{$coupons->links()}} @endsection