{{$vacationhour->length == 'full' ? __('forms.lbl_is_full') : __('forms.lbl_is_partial')}}

{{$vacationhour->length == 'full' ? $vacationhour->start_date : $vacationhour->date}}

@if ($vacationhour->length == 'full')
{{$vacationhour->end_date}}

@endif @if ($vacationhour->length == 'partial')
{{$vacationhour->partial_start_time}}

{{$vacationhour->partial_end_time}}

@endif
{{$vacationhour->type->name}}

{{$vacationhour->hours}}

@if($vacationhour->other_type)
{!!$vacationhour->other_reason!!}

@endif
{{ucfirst(translateArray($vacationhour->status))}}

@if($user->can('update', $vacationhour) && $vacationhour->status == "requested") {{ trans('forms.lbl_edit') }} @else @if ($vacationhour->status == 'accepted' || $vacationhour->status == 'rejected') @if($user->hasRole('Super Admin') || isApprovalAllowed("leaves")) {{ trans('forms.lbl_edit') }} @endif @endif @endif