{{ __('Payslip') }}

{{ config('app.name') }}

123 Business Street, City, Country

Phone: +1234567890 | Email: payroll@company.com

PAYSLIP
For the period: {{ $payroll->period_start->format('d M Y') }} - {{ $payroll->period_end->format('d M Y') }}

Employee Details

Name: {{ $payroll->user->name }}
Employee ID: {{ $payroll->user->employee_id }}
Designation: {{ $payroll->user->designation }}

Payment Details

Payment Date: {{ $payroll->created_at->format('d M Y') }}
Payment Method: {{ ucfirst($payroll->payment_method) }}
Bank Account: {{ $payroll->bank_account }}

Earnings

@foreach($payroll->payrollItems->where('type', 'allowance') as $item) @endforeach
Basic Salary {{ number_format($payroll->basic_salary, 2) }}
{{ $item->description }} {{ number_format($item->amount, 2) }}
Commission {{ number_format($payroll->total_commissions, 2) }}
Bonus {{ number_format($payroll->total_bonuses, 2) }}
Total Earnings {{ number_format($payroll->total_earnings, 2) }}

Deductions

@foreach($payroll->payrollItems->where('type', 'deduction') as $item) @endforeach
{{ $item->description }} {{ number_format($item->amount, 2) }}
Tax {{ number_format($payroll->tax_amount, 2) }}
Total Deductions {{ number_format($payroll->total_deductions, 2) }}
Net Salary {{ number_format($payroll->net_salary, 2) }}
{{ $payroll->net_salary_in_words }}
Employee Signature
Authorized Signature
This is a computer-generated document. No signature is required.
@push('styles') @endpush