@if( isset($entity) ) @php $total_earnings = $entity->salary + $entity->addition1 + $entity->addition2; $total_deductions = $entity->employee_epf + $entity->employee_socso + $entity->employee_pcb + $entity->employee_eis + $entity->deduction; $gross = $entity->salary + $entity->addition1 + $entity->addition2 - $entity->deduction; $employee = $entity->employee_pcb + $entity->employee_epf + $entity->employee_socso + $entity->employee_eis; $employer = $entity->employer_epf + $entity->employer_socso + $entity->employer_eis; $nett = $gross - $employee; @endphp
COMPANY : NOZOMI CLINIC SDN. BHD. NAME : {{ $entity->name }}
PAY PERIOD : {{ date('M Y', strtotime($entity->payroll_date)) }} BANK DETAILS : {{ $entity->bank_details }}


INCOME AMOUNTS (RM) DEDUCTIONS AMOUNTS (RM)
Basic Salary {{ number_format($entity->salary, 2) }} EPF (EMPLOYEE) {{ number_format($entity->employee_epf, 2) }}
{{ $entity->addition1_desc }} {{ $entity->addition1 != 0 ? number_format($entity->addition1, 2) : '' }} SOCSO (EMPLOYEE) {{ number_format($entity->employee_socso, 2) }}
{{ $entity->addition2_desc }} {{ $entity->addition2 != 0 ? number_format($entity->addition2, 2) : '' }} PCB (EMPLOYEE) {{ number_format($entity->employee_pcb, 2) }}
EIS (EMPLOYEE) {{ number_format($entity->employee_eis, 2) }}
{{ $entity->deduction_desc }} {{ $entity->deduction != 0 ? number_format($entity->deduction, 2) : '' }}
TOTAL EARNINGS {{ number_format($total_earnings, 2) }} TOTAL DEDUCTIONS {{ number_format($total_deductions, 2) }}
EMPLOYER EPF: {{ number_format($entity->employer_epf, 2) }} NETT SALARY: {{ number_format($nett, 2) }}
EMPLOYER SOCSO: {{ number_format($entity->employer_socso, 2) }}
EMPLOYER EIS: {{ number_format($entity->employer_eis, 2) }}
@endif