@include('layouts.header') @include('layouts.sidebar')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@if(hasPermission('coupons', 'update') || hasPermission('coupons', 'delete')) @endif @if(hasPermission('coupons', 'status')) @endif @foreach($coupons as $row) @if(hasPermission('coupons', 'update') || hasPermission('coupons', 'delete')) @endif @if(hasPermission('coupons', 'status')) @endif @endforeach
ActionCoupon Code Image Start Date End Date Discount Type Discount Valuestatus
@if(hasPermission('coupons', 'update')) @endif @if(hasPermission('coupons', 'delete')) @endif
{{ $row->coupon_code}} {{ \Carbon\Carbon::parse($row->start_date)->format('d-m-Y') }} {{ \Carbon\Carbon::parse($row->end_date)->format('d-m-Y') }} {{ $row->discount_type}} @if($row->is_active==1)Active@else Inactive @endif
@include('layouts.footer')