@extends('layouts.appnew') @section('title') Vehicle Movement @endsection @section('navs') @endsection @section('content') @include ('patient.styles') @include ('common.errors') @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)) !!} {!! EasyForm::select('type', $vehicle_movement->label('type'), old('type', $vehicle_movement->type), AppHelper::options('vehicle_types'),['id'=>'type', 'onchange'=>'ShowHideDiv()'])!!} {!! EasyForm::select('vehicle_type', $vehicle_movement->label('vehicle_type'), old('vehicle_type', $vehicle_movement->vehicle_type), AppHelper::options('types_of_vehicles'))!!} {!! EasyForm::dependent('vehicle_id', $vehicle_movement->label('vehicle_id'), old('vehicle_id', $vehicle_movement->vehicle_id), DataHelper::VehicleNumbersByTypeOptions(), 'vehicle_type') !!} @if(old('type', $vehicle_movement->type) == 'Vehicle Request')
{{$vehicle_movement->label('requested_id')}}

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

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

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

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

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

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