@if($logoimg != null)@else {{ $companyTitle['name'] }} @endif MONTHLY PAY - {{ $months[$slip_month - 1]}} - {{$slip_year}} MONTHLY / BANK
EMPLOYEE NO. : {{$details['employee_no']}} @if(isset($company_details) && $company_details != null && $company_details!=''){{ '('.$company_details.')' }}@endif {{$name}} ({{$details['employee_no']}})
@php $totalallowance = ($details['allowance_1']+$details['allowance_2']+$details['allowance_3']+$details['allowance_4']+$details['allowance_5']+$details['allowance_6']+$details['allowance_7']+$details['allowance_8']+$details['allowance_9']+$details['allowance_10']+$details['allowance_11']+$details['allowance_12']+$details['allowance_13']+$details['allowance_14']+$details['allowance_15']+$details['allowance_16']+$details['allowance_17']); $totaldeduction = ($details['deduction_1']+$details['deduction_2']+$details['deduction_3']+$details['deduction_4']+$details['deduction_5']+$details['deduction_6']+$details['deduction_7']+$details['deduction_8']+$details['deduction_9']+$details['deduction_10']+$details['deduction_11']+$details['deduction_12']+$details['deduction_13']+$details['deduction_14']+$details['deduction_15']+$details['advance']); $totalgrosspay = ($details['basic_pay']+$details['back_pay']+$details['director_fee']+$details['total_monthly_over_time_pay']+$totalallowance+$details['bonus']+$details['commision']+$details['fix_commision']); $totalnetpay = ($totalgrosspay-$totaldeduction-$details['total_EPF_employee']-$details['total_socso_employee']-$details['Eisww']-$details['itaxpcb']); @endphp
@if($details['amount_over_time_1'] != '0' && $details['hr1'] != '0') @endif @if($details['amount_over_time_2'] != '0' && $details['hr2'] != '0') @endif @if($details['amount_over_time_3'] != '0' && $details['hr3'] != '0') @endif @if($details['amount_over_time_4'] != '0' && $details['hr4'] != '0') @endif @if($details['amount_over_time_5'] != '0' && $details['hr5'] != '0') @endif @if($details['amount_over_time_6'] != '0' && $details['hr6'] != '0') @endif
BASIC PAY : RM {{ number_format($details['basic_pay'], 2)}}
OVERTIME
{{$overtime['overtime_1'] ?? '1.0 TIME'}} @if($details['rate_over_time_1'] != '0') {{($details['rate_over_time_1'])}} @endif {{number_format($details['hr1'],2)}} HRS {{$details['amount_over_time_1']}}
{{$overtime['overtime_2'] ?? '1.5 TIMES'}} @if($details['rate_over_time_2'] != '0') {{$details['rate_over_time_2']}} @endif {{number_format($details['hr2'],2)}} HRS {{$details['amount_over_time_2']}}
{{$overtime['overtime_3'] ?? '2.0 TIMES'}} @if($details['rate_over_time_3'] != '0') {{$details['rate_over_time_3']}} @endif {{number_format($details['hr3'],2)}} HRS {{$details['amount_over_time_3']}}
{{$overtime['overtime_4'] ?? '3.0 TIMES'}} @if($details['rate_over_time_4'] != '0') {{$details['rate_over_time_4']}} @endif {{number_format($details['hr4'],2)}} HRS {{$details['amount_over_time_4']}}
{{$overtime['overtime_5'] ?? 'REST DAY'}} @if($details['rate_over_time_5'] != '0') {{$details['rate_over_time_5']}} @endif {{number_format($details['hr5'],2)}}DAYS {{$details['amount_over_time_5']}}
{{$overtime['overtime_6'] ?? 'PUB.HOL.'}} @if($details['rate_over_time_6'] != '0') {{$details['rate_over_time_6']}} @endif {{number_format($details['hr6'],2)}}DAYS {{$details['amount_over_time_6']}}
@if($details['allowance_1'] != '0') @endif @if($details['allowance_2'] != '0') @endif @if($details['allowance_3'] != '0') @endif @if($details['allowance_4'] != '0') @endif @if($details['allowance_5'] != '0') @endif @if($details['allowance_6'] != '0') @endif @if($details['allowance_7'] != '0') @endif @if($details['allowance_8'] != '0') @endif @if($details['allowance_9'] != '0') @endif @if($details['allowance_10'] != '0') @endif @if($details['allowance_11'] != '0') @endif @if($details['allowance_12'] != '0') @endif @if($details['allowance_13'] != '0') @endif @if($details['allowance_14'] != '0') @endif @if($details['allowance_15'] != '0') @endif @if($details['allowance_16'] != '0') @endif @if($details['allowance_17'] != '0') @endif
ALLOWANCE :{{$field_result['allowance_1']}} {{number_format($details['allowance_1'], 2)}}
{{$field_result['allowance_2']}} {{number_format($details['allowance_2'], 2) }}
{{$field_result['allowance_3']}} {{number_format($details['allowance_3'], 2) }}
{{$field_result['allowance_4']}} {{number_format($details['allowance_4'], 2) }}
{{$field_result['allowance_5']}} {{number_format($details['allowance_5'], 2) }}
{{$field_result['allowance_6']}} {{number_format($details['allowance_6'], 2) }}
{{$field_result['allowance_7']}} {{number_format($details['allowance_7'], 2) }}
{{$field_result['allowance_8']}} {{number_format($details['allowance_8'], 2) }}
{{$field_result['allowance_9']}} {{number_format($details['allowance_9'], 2) }}
{{$field_result['allowance_10']}} {{number_format($details['allowance_10'], 2) }}
{{$field_result['allowance_11']}} {{number_format($details['allowance_11'], 2) }}
{{$field_result['allowance_12']}} {{number_format($details['allowance_12'], 2) }}
{{$field_result['allowance_13']}} {{number_format($details['allowance_13'], 2) }}
{{$field_result['allowance_14']}} {{number_format($details['allowance_14'], 2) }}
{{$field_result['allowance_15']}} {{number_format($details['allowance_15'], 2) }}
{{$field_result['allowance_16']}} {{number_format($details['allowance_16'], 2) }}
{{$field_result['allowance_17']}} {{number_format($details['allowance_17'], 2) }}
@if($details['bonus'] != 0) @endif @if($details['commision'] != 0) @endif @if($details['fix_commision'] != 0) @endif @if($details['director_fee'] != 0) @endif @if($details['compensate'] + $details['gratuity'] != 0) @endif
BONUS {{number_format($details['bonus'], 2)}}
COMMISSION {{number_format($details['commision'], 2)}}
FIX COMMISSION {{number_format($details['fix_commision'], 2)}}
DIRECTOR FEE {{number_format($details['director_fee'], 2)}}
COMPENSATION / GRATUITY {{number_format(($details['compensate'] + $details['gratuity']), 2)}}

@if($totalgrosspay != 0) @endif
GROSS INCOME RM {{number_format($totalgrosspay, 2)}}

@if($totaldeduction !=0) @endif @if($details['total_EPF_employee'] !=0) @endif @if($details['total_socso_employee'] !=0) @endif @if($details['Eisww'] !=0) @endif @if($details['itaxpcb']) @endif
Deduction {{number_format($totaldeduction, 2)}}
LESS :EPF {{number_format($details['total_EPF_employee'], 2)}}
SOCSO {{number_format($details['total_socso_employee'], 2)}}
EIS {{number_format($details['Eisww'], 2)}}
PCB {{number_format($details['itaxpcb'], 2)}}
@if($totalnetpay != 0) @endif
NET PAY RM {{number_format($net_pay, 2)}}
@if($logoimg) @else
@endif @if($details['total_EPF_employee']!=0) {{--removed by a. 6 same blank tds--}} {{-- 24-01-24 / E-Payslip rendering fix --}} {{-- --}} @endif @if($details['total_EPF_employer'] != 0) @endif @if($details['total_EPF_employee'] + $details['total_EPF_employer']!=0) @endif
EMPLOYEE'S EPF {{number_format($details['total_EPF_employee'], 2)}}
EMPLOYER'S EPF {{number_format($details['total_EPF_employer'], 2)}}
TOTAL CONTRIBUTION {{ number_format(($details['total_EPF_employee'] + $details['total_EPF_employer']), 2)}}

@if($details['total_socso_employee'] !=0) @endif @if($details['total_socso_employer']!=0) @endif @if($details['total_socso_employee'] + $details['total_socso_employer'] != 0) @endif
EMPLOYEE'S SOCSO {{number_format($details['total_socso_employee'], 2)}}
EMPLOYER'S SOCSO {{number_format($details['total_socso_employer'], 2)}}
TOTAL CONTRIBUTION {{number_format(($details['total_socso_employee'] + $details['total_socso_employer']), 2)}}

@if($details['Eisww'] != 0) @endif @if($details['Eiscc'] !=0) @endif @if($details['Eisww'] + $details['Eiscc'] !=0) @endif
EMPLOYEE'S EIS {{ number_format($details['Eisww'], 2)}}
EMPLOYER'S EIS {{number_format($details['Eiscc'], 2)}}
TOTAL EIS {{number_format(($details['Eisww'] + $details['Eiscc']), 2)}}

EMPLOYEE'S SIGNATURE