@extends('backend.layouts.app') @section('content') @if(Session::has('message'))
{{ Session::get('message')}}
@endif @if(Session::has('error_message'))
{{ Session::get('error_message')}}
@endif @if (count($errors) > 0)
@endif {!! Html::script('expand_theme/js/jquery.validate.min.js') !!}

Edit Coupon

@foreach($editCoupon as $editCoupons) {{ csrf_field() }}
@if ($errors->has('coupon_name')) {{ $errors->first('coupon_name') }} @endif
@if ($errors->has('coupon_code')) {{ $errors->first('coupon_code') }} @endif


@if($editCoupons->coupon_all_programs == "1")
@elseif($editCoupons->coupon_all_programs == "0")
@if ($errors->has('coupon_eligible_program[]')) {{ $errors->first('coupon_eligible_program[]') }} @endif
@endif
@if($editCoupons->coupon_amount_type == 1) Fixed Percentage @else($editCoupons->coupon_amount_type == 2) Fixed Percentage @endif
@if ($errors->has('coupon_amount')) {{ $errors->first('coupon_amount') }} @endif
 
Only Tuition Fee
@if ($errors->has('start_date')) {{ $errors->first('start_date') }} @endif
@if ($errors->has('end_date')) {{ $errors->first('end_date') }} @endif

   Cancel


@endforeach
{!! Html::style('expand_theme/dataTables.bootstrap.css') !!} {!! Html::script('expand_theme/jquery.dataTables.min.js') !!} {!! Html::script('expand_theme/dataTables.bootstrap.min.js') !!} {!! Html::script('expand_theme/bootstrap-daterangepicker/daterangepicker.js') !!} {!! Html::script('expand_theme/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js') !!} {!! Html::script('expand_theme/select2/dist/js/select2.full.min.js') !!} {!! Html::script('expand_theme/input-mask/jquery.inputmask.js') !!} {!! Html::script('expand_theme/input-mask/jquery.inputmask.date.extensions.js') !!} {!! Html::script('expand_theme/input-mask/jquery.inputmask.extensions.js') !!} {!! Html::script('expand_theme/moment/min/moment.min.js') !!} {!! Html::style('expand_theme/font-awesome/css/font-awesome.min.css') !!} {!! Html::style('expand_theme/bootstrap-daterangepicker/daterangepicker.css') !!} {!! Html::style('expand_theme/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css') !!} @stop