{{ ($compensation->setting_type == "time" || $compensationSetting == "time") ? __('forms.time') : __('forms.payment') }}
@if ($compensation->is_manually_adjust == 1)
{{ ($compensation->adjust_hours == 1) ? __('forms.lbl_yes') : __('forms.lbl_no') }}
@endif
@if ($compensation->setting_type == "time" || $compensationSetting == "time")
{{$compensation->length == 'full' ? __('forms.lbl_is_full') : __('forms.lbl_is_partial')}}
@endif
{{$compensation->start_date}}
@if ($compensation->setting_type == "time" || $compensationSetting == "time")
@if ($compensation->length == 'full')
{{$compensation->end_date}}
@endif
@if ($compensation->length == 'partial')
{{$compensation->partial_start_time}}
{{$compensation->partial_end_time}}
@endif
@endif
{{$compensation->hours}}
{{--
{{trans('overtimes.over_overtimes_text')}}
--}}
@if($compensation->description)
{!!$compensation->description!!}
@endif
@if($compensation->exceeded_status)
{!!$compensation->exceeded_status!!}
@endif
{{ucfirst(translateArray($compensation->status))}}
@if($user->can('update', $compensation) && $compensation->status == "requested")
@if (!($compensation->exceeded_status == 1 && $compensation->is_manually_adjust == 0))
{{ trans('forms.lbl_edit') }}
@endif
@else
@if ($compensation->status == 'accepted' || $compensation->status == 'rejected')
@if($user->hasRole('Super Admin') || isApprovalAllowed("compensation"))
@if (!($compensation->exceeded_status == 1 && $compensation->is_manually_adjust == 0) && $compensation->contract_expired == 0)
{{ trans('forms.lbl_edit') }}
@endif
@endif
@endif
@endif