@extends('layouts.appnew') @section('title') Vehicle Movement @endsection @section('navs') @endsection @section('content') @include ('patient.styles') @include ('common.flash') @include ('common.image_viewer')
{!! Form::open(['url' => route('vehicle_movement.update', [$vehicle_movement->id]), 'id' => 'idForm', 'files' => true]) !!} {!! EasyForm::setErrors($errors) !!} {!! EasyForm::setColSizes(2, 10) !!} {!! EasyForm::input('purpose', $vehicle_movement->label('purpose'), old('purpose', $vehicle_movement->purpose)) !!} @if(Auth::user()->hasAnyDepartment(['admin'])) {!! EasyForm::select('type', $vehicle_movement->label('type'), old('type', $vehicle_movement->type), AppHelper::options('vehicle_types'))!!} @else {!! Form::hidden('type', 'Vehicle Request', ['type' => 'Vehicle Request']) !!} @endif {!! EasyForm::select('vehicle_id', $vehicle_movement->label('vehicle_id'), old('vehicle_id', $vehicle_movement->vehicle_id), DataHelper::VehicleOptions()) !!}
{{$vehicle_movement->label('requested_id')}}

Warning: Undefined variable $vehicle_movement in /var/www/html/pruthvi/resources/views/vehicle_movement/edit_driver.blade.php on line 32

Warning: Attempt to read property "requested_id" on null in /var/www/html/pruthvi/resources/views/vehicle_movement/edit_driver.blade.php on line 32

Warning: Undefined variable $vehicle_movement in /var/www/html/pruthvi/resources/views/vehicle_movement/edit_driver.blade.php on line 32

Warning: Attempt to read property "requested" on null in /var/www/html/pruthvi/resources/views/vehicle_movement/edit_driver.blade.php on line 32

Warning: Attempt to read property "name" on null in /var/www/html/pruthvi/resources/views/vehicle_movement/edit_driver.blade.php on line 32

Fatal error: Uncaught Error: Class "DataHelper" not found in /var/www/html/pruthvi/resources/views/vehicle_movement/edit_driver.blade.php:32 Stack trace: #0 {main} thrown in /var/www/html/pruthvi/resources/views/vehicle_movement/edit_driver.blade.php on line 32