@extends('AdminLte.template') @section('title') Yearly Leave Entitlement for Employee @endsection @section('ExternalCss') @parent @endsection @section('Content') @if(!empty($leaveData))
{{ Form::open(['action' => 'HrmsYearlyLeaveEntitlementController@create','autocomplete' => 'off','id' => 'yearlyadd']) }} @php $norecord=0; @endphp @foreach ($leaveData as $key=>$data) @if(($record[$data->employee_id]!="CY")&&($record[$data->employee_id]!="NCY")) @php $norecord=1; @endphp @if($data->is_confirmed=="Y") @else @endif @endif @endforeach @if($norecord==0) @endif

Yearly Leave Entitlement for Employee


  Emp Id     Name Joining Date PL Eligibility CL Eligibility SL Eligibility LOP Eligibility Optional Eligibility
  {{$data->employee_id}}     {{$data->employee_name}} {{$data->employee_hire_date}}{{$record[$data->employee_id]}} 06 06 00 02-- -- -- 00 02
No Record Found
     

{{ Form::close() }}
@if(session()->has('successMessage'))
× {{ session()->get('successMessage') }}
@endif @if(session()->has('errorMessage'))
× {{ session()->get('errorMessage') }}
@endif
@else

Yearly Leave Entitlement for Employee


  Emp Id     Name Joining Date PL Eligibility CL Eligibility SL Eligibility LOP Eligibility Optional Eligibility
No Record Found
@endif @endsection @section('BootstrapModals') @endsection @section('ExternalJs') @endsection