@extends('admin.layouts.default') @section('title') | Settings @endsection @section('content') @parent

Settings

{{ Form::model($Rate_Settings, ['action' => !isset($Rate_Settings->id) ? 'SettingsController@store' : ['SettingsController@update',$Rate_Settings->id], 'method' => 'post','files' => true]) }}
{{ Form::Label('child_safety_seat_rate', 'Child Safety Seat Rate ($)') }} {{ Form::text('child_safety_seat_rate', $Rate_Settings->child_safety_seat_rate, array('class'=> 'input-text border-style')) }}
{{--
{{ Form::Label('first_ride_discount', 'Discount On First Ride ($)') }} {{ Form::text('first_ride_discount', $Rate_Settings->first_ride_discount, array('class'=> 'input-text border-style')) }}
--}}
{{ Form::Label('tax', 'Tax (%)') }} {{ Form::text('tax', $Rate_Settings->tax, array('class'=> 'input-text border-style')) }}
{{ Form::Label('block_time', 'Calendar Blocking Time') }} {{ Form::number('block_time', $Rate_Settings->block_time, array('class'=> 'input-text border-style', 'min'=> '0', 'max'=> '12')) }}
{{ Form::Label('notification_emails', 'Notification Emails') }} {{ Form::text('notification_emails', $Rate_Settings->notification_emails, array('class'=> 'input-text border-style')) }}

Note: Enter multiple emails with comma separator.

{{--
{{ Form::Label('Primary Number', 'Primary Number') }} {{ Form::text('primary_number', $Rate_Settings->primary_number, array('class'=> 'input-text border-style','placeholder'=>'Please Enter Primary Contact Number')) }}
--}}
{{ Form::Label('Toll Free Number', 'Toll Free Number') }} {{ Form::text('secondary_number', $Rate_Settings->secondary_number, array('class'=> 'input-text border-style','placeholder'=>'Please Enter Toll Free Number')) }}
{{ Form::Label('airport_surcharges', 'Buffalo Airport Surcharges ($)') }} {{ Form::text('airport_surcharges', $Rate_Settings->airport_surcharges, array('class'=> 'input-text border-style')) }}
{{ Form::Label('round_trip_discount', 'Discount On Round Trip (%)') }} {{ Form::text('round_trip_discount', $Rate_Settings->round_trip_discount, array('class'=> 'input-text border-style')) }}
{{ Form::Label('stoppage_charge', 'Stoppage Charges ($)') }} {{ Form::number('stoppage_charge', $Rate_Settings->stoppage_charge, array('class'=> 'input-text border-style', 'min'=> '10')) }}
{{ Form::Label('no_of_stoppage', 'No. of Stops') }} {{ Form::number('no_of_stopage', $Rate_Settings->no_of_stopage, array('class'=> 'input-text border-style', 'min'=> '2')) }}
{{ Form::Label('distance', 'Distance') }} {{ Form::text('distance', $Rate_Settings->distance, array('class'=> 'input-text border-style','placeholder'=>'Please Enter Distance')) }}
{{ Form::Label('notification_emails', 'Contact Email') }} {{ Form::text('contact_emails',$Rate_Settings->contact_emails, array('class'=> 'input-text border-style')) }}

Note: Enter multiple emails with comma separator.

Hourly Service

{{ Form::checkbox('hourly_service', 'on', $Rate_Settings->hourly_service == 1 ? true : false , array('id'=>'hourly_service', 'class'=> 'custom-control-input')) }}

Child Safety Seats

{{ Form::checkbox('child_safety_seat', 'on', $Rate_Settings->child_safety_seat == 1 ? true : false , array('id'=>'child_safety_seat', 'class'=> 'custom-control-input')) }}

Pay By Cash

{{ Form::checkbox('pay_by_cash', 'on', $Rate_Settings->pay_by_cash == 1 ? true : false , array('id'=>'pay_by_cash', 'class'=> 'custom-control-input')) }}

Show Amount To Driver

{{ Form::checkbox('show_amount', 'on', $Rate_Settings->show_amount == 1 ? true : false , array('id'=>'show_amount', 'class'=> 'custom-control-input')) }}

Round Trip

{{ Form::checkbox('round_trip', 'on', $Rate_Settings->round_trip == 1 ? true : false , array('id'=>'round_trip', 'class'=> 'custom-control-input')) }}

Tip Status

{{ Form::checkbox('tip_status', 'on', $Rate_Settings->tip_status == 1 ? true : false , array('id'=>'tip_status', 'class'=> 'custom-control-input')) }}
@can('Update Settings')
@if(!isset($Rate_Settings->id)) {!! Form::submit('Submit', ['class' => 'create-btn','name'=>'settings']) !!} @else {!! Form::submit('Update', ['class' => 'create-btn', 'name'=>'settings']) !!} @endif
@endcan
{{ Form::close() }}
@endsection @section('scripts') @parent @endsection