@if ($schoolSetting['horizontal_logo'] ?? '') @else @endif |
{{ $schoolSetting['school_name'] }}
{{ $schoolSetting['school_address'] }}
|
Salary Slip For The Month
{{ $salary->title }}
|
---|
Employee Summary | |
---|---|
Employee Name | : {{ $salary->staff->user->full_name }} |
Employee ID | : {{ $salary->staff->id }} |
Pay Month | : {{ $salary->title }} |
Date | : {{ format_date($salary->date) }} |
{{ number_format($salary->amount, 2) }}
Employee Net Salary |
|
---|---|
Paid Days | : {{ $days - $lwp }} |
LWP Days | : {{ $lwp }} |
Earnings | Amount | Deductions | Amount |
---|---|---|---|
Basic | {{ number_format($salary->basic_salary, 2) }} |
Leave Without Pay
Paid Leaves : {{ $salary->paid_leaves }} |
@if ($lwp) @php $lwp_amount = ($salary->basic_salary / 30) * $lwp; @endphp {{ number_format($lwp_amount, 2) }} @else 00.00 @endif |
@foreach ($salary->staff_payroll as $payroll)
@if ($payroll->payroll_setting->type == 'allowance')
{{ $payroll->payroll_setting->name }} {{ $payroll->percentage ? '('.$payroll->percentage.' %)' : '' }}
@if ($payroll->amount)
{{ number_format($payroll->amount, 2) }}
@php
$allowance += $payroll->amount;
@endphp
@else
@php
$allowance += ($salary->basic_salary * $payroll->percentage) / 100;
@endphp
{{ number_format(($salary->basic_salary * $payroll->percentage) / 100, 2) }}
@endif
|
@foreach ($salary->staff_payroll as $payroll)
@if ($payroll->payroll_setting->type == 'deduction')
{{ $payroll->payroll_setting->name }} {{ $payroll->percentage ? '('.$payroll->percentage.' %)' : '' }}
@if ($payroll->amount)
{{ number_format($payroll->amount, 2) }}
@php
$deduction += $payroll->amount;
@endphp
@else
@php
$deduction += ($salary->basic_salary * $payroll->percentage) / 100;
@endphp
{{ number_format(($salary->basic_salary * $payroll->percentage) / 100, 2) }}
@endif
|
||
Other Allowances | @if ($salary->amount > ($salary->basic_salary + $allowance - $lwp_amount - $deduction)) {{ number_format($salary->amount - ($salary->basic_salary + $allowance - $deduction - $lwp_amount), 2) }} @php $allowance += $salary->amount - ($salary->basic_salary + $allowance - $deduction - $lwp_amount); @endphp @else {{ number_format(0,2) }} @endif | Other Deductions | @if ($salary->amount < ($salary->basic_salary + $allowance - $lwp_amount - $deduction)) {{ number_format(($salary->basic_salary + $allowance - $deduction - $lwp_amount) - $salary->amount, 2) }} @php $deduction += ($salary->basic_salary + $allowance - $deduction - $lwp_amount) - $salary->amount; @endphp @else {{ number_format(0,2) }} @endif |
Gross Earnings | {{ number_format($salary->basic_salary + $allowance, 2) }} | Total Deduction | {{ number_format($lwp_amount + $deduction, 2) }} |
Total Net Payable
Gross Earnings - Total Deductions |
{{ number_format($salary->amount, 2) }} |
---|