@extends('layouts.page') @section('title') HO Travels Create HO Travel @endsection @section('navs') @endsection {!! EasyForm::setErrors($errors) !!} {!! EasyForm::setNoRows() !!} {!! EasyForm::setColSizes(2, 4) !!} @section('content')
{!! Form::open(['url' => route('employee_plan.ho_save', [$employee->id]), 'files' => true]) !!}
Tour Details
{!! EasyForm::input('title',$employee_plan->label('title'), old('title','')) !!} {!! EasyForm::input('departure_tour',$employee_plan->label('departure_tour'), old('departure_tour', ''),['type' => 'datetime-local']) !!} @if(Auth::user()->hasAnyRole(['Director Secretary'])) {!! EasyForm::select ('employee_id', 'Employee', old('employee_id', ''), UserHelper::userDirectorOptions()) !!} @endif {!! EasyForm::input('arrival_tour',$employee_plan->label('arrival_tour'), old('arrival_tour', ''),['type' => 'datetime-local']) !!} {!! EasyForm::input('reporting_Office', $employee_plan->label('reporting_Office'), old('reporting_Office', ''),['type' => 'datetime-local']) !!} {!! EasyForm::select('travel_type',$employee_plan->label('travel_type'), old('travel_type', $travel_type),AppHelper::options('travel_types'), ['onchange'=>'ShowHideDiv()']) !!} {!! EasyForm::select('zone_visiting', $employee_plan->label('zone_visiting'), old('zone_visiting', ''),AppHelper::options('zones'), ['placeholder' => '-Zone-']) !!} {!! EasyForm::select('country_visiting',$employee_plan->label('country_visiting'), old('country_visiting', ''),AppHelper::options('countries'), ['disabled' => true, 'placeholder' => '-Country-']) !!} @if(Auth::user()->hasAnyRole(['Director Secretary'])) {!! EasyForm::input('indent_amount','Visa Fee and Local Conveyance amount', old('indent_amount', '')) !!} @else {!! EasyForm::input('indent_amount',$employee_plan->label('indent_amount'), old('indent_amount', '')) !!} @endif {!! EasyForm::file('file', $employee_plan->label('Attachment(If Any)'), old('file', '')) !!} {!! EasyForm::textarea('trip_objective',$employee_plan->label('trip_objective'), old('trip_objective', ''), ['rows' => 6]) !!} @if(Auth::user()->hasAnyRole(['Director Secretary']))
Incharge Person
Fatal error: Uncaught Error: Class "EmployeeHelper" not found in /var/www/html/pruthvi/resources/views/employee_plan/ho_create.blade.php:53 Stack trace: #0 {main} thrown in /var/www/html/pruthvi/resources/views/employee_plan/ho_create.blade.php on line 53