@extends('layouts.page')
@section('title')
All Plans
Tour Plan
@endsection
@section('navs')
@if (Auth::user()->can('update', $employee_plan))
@endif
@if (in_array($employee_plan->status, ['approved','recommended_by_dir']))
@endif
@if (Auth::user()->isAdmin())
@endif
@include ('logs.menu', ['model' => &$employee_plan])
@endsection
@section('content')
Warning: Undefined variable $employee_plan in /var/www/html/pruthvi/resources/views/employee/travel/employee_plan/view.blade.php on line 31
{{ Form::open(['url' => route('employee_objectives.save', [$employee_plan->id]), 'id' => 'idForm']) }}
@csrf
{{ Form::close() }}
{!! EasyForm::setColSizes(2, 10) !!}
| Date | Day | Purpose | Travel Type | Project Code | ||
|---|---|---|---|---|---|---|
| {{ AppHelper::date($objective->plan_date) }} | {{ $day }} | {{ AppHelper::dropdown($objective->purpose, 'accomplishments') }} | @if($objective->travel_type == 'flight'){!! AppHelper::dropdown($objective->travel_type, 'travels') !!} | @else{!! AppHelper::dropdown($objective->travel_type, 'travels') !!} | @endif @if($entity == null){!! $objective->project_code !!} , {{$objective->getPerson()}} | @else{!! AppHelper::shortcode($objective->project_code) !!} | @endif