@extends('master') @section('content') @php $startYearMonth = $yearlyPfList['fiscalYearStartMonth']; $endYearMonth = $yearlyPfList['fiscalYearEndMonth']; $start = new DateTime($startYearMonth . '-01'); $end = new DateTime($endYearMonth . '-01'); $end->modify('+1 month'); // Include the end month in the loop @endphp

{{ __('Yearly Provident Fund Ledger') }}

{{ __('Fiscal Year: ') . '' . $start->format('Y') . '-' . $end->format('Y') }}

Employee ID: {{ $employeeInfo->employee_no }}
Name: {{ $employeeInfo->employee_name }}
Department: {{ $employeeInfo->department->department_name }}
Designation: {{ $employeeInfo->designation->designation_name }}
@while ($start < $end) @php $yearMonth = $start->format('Y-m'); @endphp @php $start->modify('+1 month'); @endphp @endwhile
Month Provident Fund paid by the Employee Loan Calculation
Monthly PF Amount Interest Amount Total Amount Loan Amount Paid Amount Remaining Amount Net Deposit Amount
{{ $start->format('F') }} {{ isset($yearlyPfList[$yearMonth . '_pf_credit_amount']) ? $yearlyPfList[$yearMonth . '_pf_credit_amount'] : '' }} {{ isset($yearlyPfList[$yearMonth . '_pf_interest_amount']) ? $yearlyPfList[$yearMonth . '_pf_interest_amount'] : '' }} {{ isset($yearlyPfList[$yearMonth . '_pf_total_amount']) ? $yearlyPfList[$yearMonth . '_pf_total_amount'] : '' }} {{ isset($yearlyPfList[$yearMonth . '_debit_amount']) ? $yearlyPfList[$yearMonth . '_debit_amount'] : '' }} {{ isset($yearlyPfList[$yearMonth . '_credit_amount']) ? $yearlyPfList[$yearMonth . '_credit_amount'] : '' }} {{ isset($yearlyPfList[$yearMonth . '_remaining_amount']) ? $yearlyPfList[$yearMonth . '_remaining_amount'] : '' }} {{ isset($yearlyPfList[$yearMonth . '_net_deposit_amount']) ? $yearlyPfList[$yearMonth . '_net_deposit_amount'] : '' }}
Total {{ isset($yearlyPfList['pf_credit_total']) ? $yearlyPfList['pf_credit_total'] : '' }} {{ isset($yearlyPfList['pf_interest_total']) ? $yearlyPfList['pf_interest_total'] : '' }} {{ isset($yearlyPfList['pf_total']) ? $yearlyPfList['pf_total'] : '' }} {{ isset($yearlyPfList['debit_total']) ? $yearlyPfList['debit_total'] : '' }} {{ isset($yearlyPfList['credit_total']) ? $yearlyPfList['credit_total'] : '' }} {{ isset($yearlyPfList['remaining_total']) ? $yearlyPfList['remaining_total'] : '' }} {{ isset($yearlyPfList['net_deposit_amount']) ? $yearlyPfList['net_deposit_amount'] : '' }}
@endsection @section('page_script') @endsection