@extends('maindash2') @section('htmlheader_title') Setup Contracts @endsection @section('content')
Setup and Update Contracts


{!! Form::open(['url' => 'contracts', 'autocomplete'=>'off']) !!}
{!! Form::label('location_name', 'Choose Location Name:') !!} {!! Form::select('location_name', $location, null, ['class' =>'form-control']) !!} {!! Form::label('hauler_name', 'Hauler Name:') !!} {!! Form::text('hauler_name', null, ['class' =>'form-control']) !!} {!! Form::label('effective_date', 'Contract Effective Date:') !!} {!! Form::input('date','effective_date', date('Y-m-d'), ['class' =>'form-control']) !!} {!! Form::label('end_date', 'Contract End Date:') !!} {!! Form::input('date','end_date', date('Y-m-d'), ['class' =>'form-control']) !!} {!! Form::label('notification_time', 'Notification Time:') !!} {!! Form::text('notification_time', null, ['class' =>'form-control']) !!} {!! Form::label('max_fuel', 'Maximum Fuel Charge:') !!} {!! Form::text('max_fuel', null, ['class' =>'form-control']) !!} {!! Form::label('max_fees_listed', 'Maximum Fees Listed:') !!} {!! Form::text('max_fees_listed', null, ['class' =>'form-control']) !!} {!! Form::label('max_annual_price_increase', 'Maximum Annual Price Increase Listed:') !!} {!! Form::text('max_annual_price_increase', null, ['class' =>'form-control']) !!} {!! Form::label('isexecuted', 'Confirm Contract is Executed:') !!}
{!! Form::select('isexecuted', ['Contract Not Executed', 'Contract is Executed']) !!}

{!! Form::submit('Add/Update Contract', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!} @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@endsection