@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/pages/css/profile.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2-bootstrap.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css') !!} @endsection @section('content')
{{__('Title')}} | {!! __('Coupon Code') !!} | {!! __('Coupon Amount') !!} | {{ __('Expiry date') }} | {{__('Status')}} | {{__('Action')}} | |||
---|---|---|---|---|---|---|---|---|
{{ $loop->index + $coupons->firstItem() }} | {{ $coupon->title }} | {{ $coupon->code }} | {{ $coupon->amount }} @if (@$coupon->type == 'discount'){{ __('EGP') }} @else%@endif | {{ $coupon->expiry }} | {{ $coupon->used }} | {{ Form::open(['method' => 'DELETE', 'route' => ['admin.coupon.destroy', $coupon->id]]) }} @role('Administrator') @endrole {{ Form::close() }} |