Last given Salary related information Due Salary related information
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
Bsic Salary @if( !empty($salInfo['basic_salary']) ) {{ number_format( $salInfo['basic_salary'], 2 ) }} @endif Basic Salary @if(!empty( $dueSal['basic_salary_by_present_days']) ) {{ number_format(round($dueSal['basic_salary_by_present_days']),2) }} @endif
Allowence @if( !empty($data['allowence']) ) {{ number_format( $data['allowence'], 2 ) }} @endif Allowence @if(!empty( $dueSal['benifitTypeATotal']) ) {{ number_format($dueSal['benifitTypeATotal'], 2) }} @endif
Benifit @if( !empty($data['benifit']) ) {{ number_format( round($data['benifit']), 2 ) }} @endif Benifit @if(!empty( $dueSal['benifitTypeBTotal']) ) {{ number_format(round($dueSal['benifitTypeBTotal']), 2) }} @endif
Acting Benifit @if( !empty($salInfo['acting_benefit']) ) {{ number_format( round($salInfo['acting_benefit']), 2 ) }} @endif Acting Benifit @if(!empty( $dueSal['acting_benefit']) ) {{ number_format(round($dueSal['acting_benefit']), 2) }} @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