Employee ID: {{ $employeeInfo->employee_no }}
Name: {{ $employeeInfo->employee_name }}
Department: {{ $employeeInfo->department->department_name }}
Designation: {{ $employeeInfo->designation->designation_name }}
Month Year |
Loan Amount |
Paid Amount |
Remaining Amount |
@while ($start < $end)
@php
$yearMonth = $start->format('Y-m');
@endphp
{{ $start->format('F') }}
|
{{ isset($loans[$yearMonth . '_debit_amount']) ? $loans[$yearMonth . '_debit_amount'] : '' }}
|
{{ isset($loans[$yearMonth . '_credit_amount']) ? $loans[$yearMonth . '_credit_amount'] : '' }}
|
{{ isset($loans[$yearMonth . '_remaining_amount']) ? $loans[$yearMonth . '_remaining_amount'] : '' }}
|
@php $start->modify('+1 month'); @endphp
@endwhile
Total |
{{ isset($loans['debit_total']) ? $loans['debit_total'] : '' }}
|
{{ isset($loans['credit_total']) ? $loans['credit_total'] : '' }}
|
{{ isset($loans['remaining_total']) ? $loans['remaining_total'] : '' }}
|