@extends('dashboard.layouts.index') @section('page_title') @lang('global.showVocation') @stop @section('breadcrumb') @stop @section('content')

image
@lang("global.infoVocation")
{{$model->employee?$model->employee->name:''}}
{{$model->employee?$model->employee->userinformationOne->job_title:''}}
@lang("global.email") :{{$model->employee?$model->employee->email:''}}
@lang("global.phone_number") : {{$model->employee?$model->employee->phone_number:''}}
@if($model->type="resignation")
@lang("global.reason") : {{$model->reason ? $model->reason->reason : "No change"}}
@lang("global.type") : {{$model->type}}
@lang("global.status") : {{$model->status}}
@lang("global.Last_working_date") : {{$model->Last_working_date}}
@lang("global.comment") : {{$model->comment}}
@elseif($model->type="vacation")
@lang("global.reason") : {{$model->reason ? $model->reason->reason : "No change"}}
@lang("global.type") : {{$model->type}}
@lang("global.status") : {{$model->status}}
@lang("global.from") : {{$model->from}}
@lang("global.to") : {{$model->to}}
@lang("global.comment") : {{$model->comment}}
@elseif($model->type="loan")
@lang("global.reason") : {{$model->reason ? $model->reason->reason : "No change"}}
@lang("global.type") : {{$model->type}}
@lang("global.status") : {{$model->status}}
@lang("global.amount") : {{$model->amount}}
@lang("global.monthly_deducationn") : {{$model->monthly_deducationn}}
@lang("global.apply_date") : {{$model->apply_date}}
@lang("global.comment") : {{$model->comment}}
@elseif($model->type="excuse")
@lang("global.reason") : {{$model->reason ? $model->reason->reason : "No change"}}
@lang("global.type") : {{$model->type}}
@lang("global.status") : {{$model->status}}
@lang("global.from") : {{$model->from}}
@lang("global.to") : {{$model->to}}
@lang("global.comment") : {{$model->comment}}
@endif

@lang("global.file_path")


@if($model->file_path !== null && $model->file_path !== '') @else
No File
@endif
@stop @push('js') @endpush