|
Month -
@if(!empty($salInfo['month']))
{{ date( 'F, Y', strtotime($salInfo['month']) ) }}
@endif
|
Working Days -
@if(!empty( $salInfo['present_days']) )
{{ $salInfo['present_days'] }}
@else
0
@endif
|
Month -
@if(!empty($dueSal['dueMonth']))
{{ date( 'F, Y', strtotime($dueSal['dueMonth']) ) }}
@endif
|
Working Days -
@if(!empty( $dueSal['totalday']) )
{{ $dueSal['totalday'] }}
@else
0
@endif
|
| Organization Contribution |
@if( !empty($salInfo['pf_org']) || !empty($salInfo['wf_org']) )
{{ number_format( ($salInfo['pf_org'] + $salInfo['wf_org']), 2 ) }}
@else
-
@endif
|
Organization Contribution |
@if(!empty( $dueSal['org_contribution']) )
{{ number_format($dueSal['org_contribution'], 2) }}
@else
-
@endif
|
| Total Salary & Benifit |
@php
$lastGivenRelatedInfoTotal = 0.00;
$lastGivenRelatedInfoTotal += !empty($salInfo['basic_salary']) ? $salInfo['basic_salary'] : 0.00;
$lastGivenRelatedInfoTotal += !empty($data['allowence']) ? $data['allowence'] : 0.00;
$lastGivenRelatedInfoTotal += !empty($data['benifit']) ? $data['benifit'] : 0.00;
$lastGivenRelatedInfoTotal += !empty($salInfo['acting_benefit']) ? $salInfo['acting_benefit'] : 0.00;
$lastGivenRelatedInfoTotal += !empty($salInfo['pf_org']) || !empty($salInfo['wf_org']) ? ($salInfo['pf_org'] + $salInfo['wf_org']) : 0.00;
echo number_format(round($lastGivenRelatedInfoTotal), 2);
@endphp
|
Total Salary & Benifit |
@php
$dueSalaryRelatedInfoTotal = 0.00;
$dueSalaryRelatedInfoTotal += !empty($dueSal['basic_salary_by_present_days']) ? $dueSal['basic_salary_by_present_days'] : 0.00;
$dueSalaryRelatedInfoTotal += !empty($dueSal['benifitTypeATotal']) ? $dueSal['benifitTypeATotal'] : 0.00;
$dueSalaryRelatedInfoTotal += !empty($dueSal['benifitTypeBTotal']) ? $dueSal['benifitTypeBTotal'] : 0.00;
$dueSalaryRelatedInfoTotal += !empty($dueSal['org_contribution']) ? $dueSal['org_contribution'] : 0.00;
$dueSalaryRelatedInfoTotal += !empty($dueSal['acting_benefit']) ? $dueSal['acting_benefit'] : 0.00;
echo number_format(round($dueSalaryRelatedInfoTotal), 2);
@endphp
|