{!! Form::text('promo_code', null, ['class' => 'form-control', 'placeholder' => 'Enter Promo Code', 'required']) !!}
@if ($errors->has('promo_code'))
{{ $errors->first('promo_code') }}
@endif
{!! Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => 'Enter description', 'required']) !!}
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
{!! Form::select('promo_code_discount_type',
['flat' => 'Flat', 'percentage' => 'Percentage'],
null,
['class' => 'form-control', 'id' => 'discount_type', 'required']
) !!}
@if ($errors->has('promo_code_discount_type'))
{{ $errors->first('promo_code_discount_type') }}
@endif
{!! Form::text('discount', null, ['class' => 'form-control', 'placeholder' => 'Enter Discount', 'required']) !!}
@if ($errors->has('discount'))
{{ $errors->first('discount') }}
@endif
{!! Form::text('maximum_amount', null, ['class' => 'form-control', 'placeholder' => 'Enter Maximum Amount', 'id' => 'maximum_amount']) !!}
@if ($errors->has('maximum_amount'))
{{ $errors->first('maximum_amount') }}
@endif
{!! Form::date('start_date', null, [
'class' => 'form-control form-control-sm',
'placeholder' => 'Enter the start date',
'id' => 'start_date',
]) !!}
@if ($errors->has('start_date'))
{{ $errors->first('start_date') }}
@endif
{!! Form::date('end_date', null, [
'class' => 'form-control form-control-sm',
'placeholder' => 'Enter the from date',
'id' => 'end_date',
]) !!}
@if ($errors->has('end_date'))
{{ $errors->first('end_date') }}
@endif
{!! Form::text('user_maximum', null, ['class' => 'form-control', 'placeholder' => 'Enter Maximum usage limit', 'required']) !!}
@if ($errors->has('user_maximum'))
{{ $errors->first('user_maximum') }}
@endif
{!! Form::select('user_type',
['all' => 'All', 'new' => 'New', 'existing' => 'Existing'],
null,
['class' => 'form-control', 'required']
) !!}
@if ($errors->has('user_type'))
{{ $errors->first('user_type') }}
@endif
{!! Form::select('service_type',
['all' => 'All', 'door' => 'Door', 'curb' => 'Curb'],
null,
['class' => 'form-control', 'required']
) !!}
@if ($errors->has('service_type'))
{{ $errors->first('service_type') }}
@endif
{!! Form::select('ride_type',
['all' => 'All', 'wa_assist' => 'WA Assist', 'wa_indep' => 'WA INDEP', 'wc_assist' => 'WC/AMB Assist', 'wc_indep' => 'WC/AMB Indep'],
null,
['class' => 'form-control', 'id' => 'ride_type', 'required']
) !!}
@if ($errors->has('ride_type'))
{{ $errors->first('ride_type') }}
@endif
{!! Form::select('car_type',
['all' => 'All'],
null,
['class' => 'form-control','id' => 'car_type', 'required']
) !!}
@if ($errors->has('car_type'))
{{ $errors->first('car_type') }}
@endif