@extends('layout.main') @section('content')

EDIT REPAYMENT SCHEDULE

Loan Code

{{ $loan->loan_code }}

Client

@if($loan->individualClient) {{ $loan->individualClient->client->fullname }} @else Group Loan @endif

Loan Amount

{{ formatCurrencyDecimals($loan->loan_amount) }}

Installment Amount

{{ formatCurrencyDecimals($loan->installment_amount) }}

@csrf @method('PUT')
@error('status')

{{ $message }}

@enderror
{{ formatCurrencyDecimals($schedule->balance) }}

Balance will be automatically calculated based on payments

Payment Summary
Installment Amount:

{{ formatCurrencyDecimals($schedule->amount) }}

Principal Paid:

{{ formatCurrencyDecimals($schedule->principal_paid ?: 0) }}

Interest Paid:

{{ formatCurrencyDecimals($schedule->interest_paid ?: 0) }}

Remaining Balance:

{{ formatCurrencyDecimals($schedule->balance ?: 0) }}

Cancel

Payment Status Guidelines

  • Pending: No payments have been made for this installment
  • Partial: Some payment has been made but the full amount is still outstanding
  • Paid: The full installment amount has been paid
@endsection