@php use Carbon\Carbon; @endphp
{{-- Logo --}} Logo

{{ config('settings.business_name') }}

{{ config('settings.business_address') }}

Contact No: {{ config('settings.business_contact_no') }}


Salary Slip

{{ Carbon::parse($employee->month . "-01")->format('F Y') }}

{{ strtoupper($employee->full_name) }}

EPF No - {{ $employee->employee_no }}
NIC - {{ $employee->nic }}

{{ ucwords(strtolower($employee->designation)) }} - {{ ucwords(strtolower($employee->location)) }}


{{--
Employee No: {{ $employee->employee_no }}
Employee Name: {{ $employee->full_name }}
--}} {{--
--}} @foreach ($allowances as $allowance) @endforeach @php $addition_amendment_amount = 0; @endphp @foreach ($amendments as $amendment) @if($amendment->type == "1") @php $addition_amendment_amount += $amendment->amount; @endphp @endif @endforeach @foreach ($deductions as $deduction) @endforeach @php $deduction_amendment_amount = 0; @endphp @foreach ($amendments as $amendment) @if($amendment->type == "2") @php $deduction_amendment_amount += $amendment->amount; @endphp @endif @endforeach @if($employee->bank_name != null && $employee->branch_name != null && $employee->account_no != null) @endif
Basic Salary   {{ number_format($employee->basic_salary, 2) }}
{{ ucwords(strtolower($allowance->description)) }} @if($allowance->allowance_type == "3") ( {{ round($allowance->ref_value) }} L) @endif {{ number_format($allowance->amount, 2) }}  
{{ ucwords(strtolower($amendment->description)) }} {{ number_format($amendment->amount, 2) }}  
Total Allowances   {{ number_format(($employee->total_allowances+$addition_amendment_amount), 2) }}
Gross Salary(Total Earnings)   {{ number_format(($employee->total_allowances+$addition_amendment_amount+$employee->basic_salary), 2) }}
{{ ucwords(strtolower($deduction->description)) }} {{ number_format($deduction->amount, 2) }}  
{{ ucwords(strtolower($amendment->description)) }} {{ number_format($amendment->amount, 2) }}  
Tax Deductions {{ number_format($employee->tax_amount, 2) }}  
EPF Contribution {{ number_format($employee->epf_employee_amount, 2) }}  
Total Deductions   {{ number_format(($employee->total_deductions+$deduction_amendment_amount+$employee->tax_amount+$employee->epf_employee_amount), 2) }}
Net Salary   {{ number_format(($employee->total_allowances+$addition_amendment_amount+$employee->basic_salary) - ($employee->total_deductions+$deduction_amendment_amount+$employee->tax_amount+$employee->epf_employee_amount), 2) }}
EPF Company Contribution {{ number_format($employee->epf_company_amount, 2) }}  
ETF Company Contribution {{ number_format($employee->etf_amount, 2) }}  
Salary Credited To {{ ucwords(strtolower($employee->bank_name)) }}, {{ ucwords(strtolower($employee->branch_name)) }} A/C No: {{ $employee->account_no }}