| Particular |
Rate |
Earning |
@if($payrollsync->total_earning_arrear > 0)
Arrear |
@endif
@php
$earningRateSum = 0;
@endphp
@foreach($earninglist as $value)
| {{$value->type_name}} |
@php
$earningRateSum += round($value->actual_salary, 2);
$rate = ($hourlyRateDisplay && $value->value_data_type == 'Percentage')
? $value->actual_salary / $hourlyRateDisplay
: $value->value_data;
@endphp
@if(in_array($value->type_name, ['Basic', 'DA']))
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($rate, 4), 4)}}
@endif
|
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($value->calculate_salary, 2))}} |
@if($payrollsync->total_earning_arrear > 0)
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($value->arrear_salary, 2))}} |
@endif
@endforeach
|
| Particular |
Deduction |
@if($payrollsync->total_deduction_arrear > 0)
Arrear |
@endif
@foreach($deductionlist as $value)
| {{$value->type_name}} |
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($value->calculate_salary, 2))}} |
@if($payrollsync->total_deduction_arrear > 0)
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($value->arrear_salary, 2))}} |
@endif
@endforeach
|
| Gross Earning |
|
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($payrollsync->total_earning - $payrollsync->total_earning_arrear, 2))}} |
@if($payrollsync->total_earning_arrear > 0)
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($payrollsync->total_earning_arrear))}} |
@endif
|
| {{trans('admin/template.total_deduction')}} |
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($payrollsync->total_deduction - $payrollsync->total_deduction_arrear, 2))}} |
@if($payrollsync->total_deduction_arrear > 0)
{{App\Helpers\GeneralHelper::numFormatWithDecimal(round($payrollsync->total_deduction_arrear))}} |
@endif
|