{{-- Header --}}
{{-- Parties --}}
From
{{ $academy->name }}
@if($academy->address){{ $academy->address }}
@endif
@if($academy->phone){{ $academy->phone }}@endif
@if($academy->phone && $academy->email) · @endif
@if($academy->email){{ $academy->email }}@endif
Paid To
{{ $user->name }}
{{ $user->role === 'teacher' ? 'Teacher' : ($user->role_name ?? 'Staff') }}
@if($user->email){{ $user->email }}@endif
{{-- Salary table --}}
| Description |
Amount |
| Basic Salary |
Rs. {{ number_format($run->basic_salary, 2) }} |
@foreach($allowances as $item)
| {{ $item->name }} ({{ $item->calc_type === 'percentage' ? $item->value.'%' : 'fixed' }}) |
+ Rs. {{ number_format($item->computed_amount, 2) }} |
@endforeach
@foreach($deductions as $item)
| {{ $item->name }} ({{ $item->calc_type === 'percentage' ? $item->value.'%' : 'fixed' }}) |
− Rs. {{ number_format($item->computed_amount, 2) }} |
@endforeach
@if($run->gross_allowances > 0)
| Gross Allowances |
+ Rs. {{ number_format($run->gross_allowances, 2) }} |
@endif
@if($run->gross_deductions > 0)
| Gross Deductions |
− Rs. {{ number_format($run->gross_deductions, 2) }} |
@endif
{{-- Total — color matches status --}}
| Net Pay |
Rs. {{ number_format($run->net_pay, 2) }} |
{{-- Footer --}}
A product of ExeSync