@extends('layouts.report-print') @section('content')
| {{ __('Employee') }}: | {{ $employee->first_name }} {{ $employee->last_name }} ({{ $employee->employee_code }}) | {{ __('Month') }}: | {{ $month }} |
| {{ __('Department') }}: | {{ optional($employee->department)->name ?? 'N/A' }} | {{ __('Basic Salary') }}: | {{ number_format($basic, 2) }} |
| {{ __('Position') }}: | {{ optional($employee->designation)->name ?? 'N/A' }} | {{ __('Net Salary') }}: | {{ number_format($netAfterLoan, 2) }} |
| {{ __('Category') }} | {{ __('Amount') }} |
|---|---|
| {{ __('Basic Salary') }} | {{ number_format($basic, 2) }} |
| {{ __('Allowances') }} | {{ number_format($allowances, 2) }} |
| {{ __('Deductions') }} | {{ number_format($deductions, 2) }} |
| {{ __('Net Before Loan') }} | {{ number_format($netBeforeLoan, 2) }} |
| {{ __('Loan Deduction') }} | {{ number_format($loanDeduction, 2) }} |
| {{ __('Net Salary (After Loan)') }} | {{ number_format($netAfterLoan, 2) }} |
| {{ __('Amount') }} | {{ __('Period') }} | {{ __('Term') }} | {{ __('Monthly') }} | {{ __('Remaining') }} |
|---|---|---|---|---|
| {{ number_format($loan->amount, 2) }} | {{ $loan->start_date ? $loan->start_date->format('Y-m-d') : '' }} - {{ $loan->end_date ? $loan->end_date->format('Y-m-d') : '' }} | {{ $loan->term_months }} months | {{ number_format($loan->monthly_installment, 2) }} | {{ number_format($row['remaining_balance_calc'], 2) }} ({{ $row['remaining_months_calc'] }} months) |
| {{ __('No active loans for this month.') }} | ||||