@extends('layouts.app') @section("breadcrumb")
  • @lang('fleet.notes')
  • @lang('fleet.add_note')
  • @endsection @section('content')

    @lang('fleet.create_note')

    @if (count($errors) > 0)
      @foreach ($errors->all() as $error)
    • {{ $error }}
    • @endforeach
    @endif {!! Form::open(['route' => 'notes.store','method'=>'post']) !!} {!! Form::hidden('user_id',Auth::user()->id)!!}
    {!! Form::label('vehicle_id',__('fleet.vehicle'), ['class' => 'form-label']) !!}
    {!! Form::label('customer_id',__('fleet.person_incharge'), ['class' => 'form-label']) !!}
    {!! Form::label('submitted_on', __('fleet.submitted_on'), ['class' => 'form-label']) !!}
    {!! Form::text('submitted_on',null,['class'=>'form-control','required']) !!}
    {!! Form::label('status',__('fleet.status'), ['class' => 'form-label']) !!} {!! Form::select('status',["Pending"=>"Pending", "Processing"=>"Processing", "Completed"=>"Completed","Hold"=>"Hold"],null,['class' => 'form-control','required']) !!}
    {!! Form::label('note',__('fleet.note'), ['class' => 'form-label']) !!} {!! Form::textarea('note',null,['class'=>'form-control','size'=>'30x2','required']) !!}
    {!! Form::submit(__('fleet.add_note'), ['class' => 'btn btn-success']) !!}
    @endsection @section("script") @endsection