@extends('admin.layout.master') @section('content') @include('flash-message')
{{ Session::get('message') }}
@endif| {{__('obs.employee')}} | {{__('obs.employee_code')}} | {{__('obs.department')}} | {{__('obs.leave_count')}} | {{__('obs.leave_type')}} | {{__('obs.leave_date')}} | {{__('obs.posting_type')}} | {{__('obs.documents')}} | {{__('obs.status')}} | ||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->empBasicInfo->emp_name }} | {{ $item->empBasicInfo->emp_code }} | @if ($item->empBasicInfo->fetch_department){{ $item->empBasicInfo->fetch_department->name ?? null}} | @else{{__('obs.not_found')}} | @endif{{ $item->leave_count }} | {{ $item->leaveTypeWithoutScope->name ?? null }} | {{ carbon()->parse($item->start_date)->format('d-m-Y') }} TO {{ carbon()->parse($item->end_date)->format('d-m-Y') }} | {{ $item->posting_type== 2 ? "Manual" : null }} | @if($item->documents) {{__('obs.documents_link')}}@endif | @if($item->approve_status==1) Pending @elseif (in_array($item->approve_status,[2])) Approved @elseif (in_array($item->approve_status,[0,3])) Rejected @endif |
@if($item->approve_status==1)
{!! getApprovalInputField($item->id,$action_id) !!}
@endif
@if(in_array($item->approve_status,[1]))
{{__('obs.edit')}}
@endif
Print
{{-- @if(company_settings()->approval_system ==2)
@endif --}}
|