@extends('hr_main') @section('title', '| Earned Leave Calculation') @section('content') @include('convert_word')
@if($earnedLeaveInfo != null)

Earned Leave Calculation

Particulars Leave Calculations No. of Leaves
Job Duration (Full Calendar Month) {{ ($earnedLeaveInfo->totalJobDurtaionMonth != 0) ? $earnedLeaveInfo->totalJobDurtaionMonth.' Months' : '-' }} {{ ($earnedLeaveInfo->totalJobDurtaionMonth != 0) ? $earnedLeaveInfo->totalJobDurtaionMonth : '-' }}
Without Pay Leave {{ ($earnedLeaveInfo->totalWithoutPayLeave != 0) ? $earnedLeaveInfo->totalWithoutPayLeave.' Days' : '-' }} {{ ($earnedLeaveInfo->totalActualWithoutPayLeave != 0) ? $earnedLeaveInfo->totalActualWithoutPayLeave : '-' }}
Consumed Leave {{ ($earnedLeaveInfo->totalConsumedLeave != 0) ? $earnedLeaveInfo->totalConsumedLeave.' Days' : '-' }} {{ ($earnedLeaveInfo->totalConsumedLeave != 0) ? $earnedLeaveInfo->totalConsumedLeave : '-' }}
Remaining Leave {{ ($earnedLeaveInfo->totalRemainingLeave != 0) ? $earnedLeaveInfo->totalRemainingLeave : '-' }}
 
Earned Leave Encashment Method = Basic × Remaining Leaves Number of Full Months
 
Earned Leave Encashment Eligible Amount (TK) = {{ number_format($earnedLeaveInfo->totalBasicSalary) }} × {{ number_format($earnedLeaveInfo->totalRemainingLeave) }} 30   = {{ number_format($earnedLeaveInfo->totalEarnLeaveAmount) }}/-
 
 
 
@endif
@endsection