@extends('admin.layouts.master') @section('title', 'Coupon') @section('content')
@include('admin.includes.msg')
@if(!empty($alldata) && $alldata->count()>0) @foreach($alldata as $key=>$val) @endforeach @else @endif
Sl.No Code Name Coupon Name Discount Max Value Specification Start & End Date Max Avail Visible Action
{{$key+1}} {{ $val->code}} {{ $val->coupon_name}} {{ $val->discount_type }} ({{ $val->discount_value }}) {{ $val->max_value}} {{ $val->specification_type }}
@if($val->specification_value){{ $val->specification_value }}@endif
({{date('d-m-y', strtotime( $val->startDate))}})
to
({{date('d-m-y', strtotime( $val->endDate))}})
{{ $val->maxAvail}}
status==1) checked @endif>
{{ method_field('delete') }} {{----}} {{ csrf_field() }}
-- No Records Found --
@endsection