@extends('layouts.app') @section('title','Repayments') @section('content')

Repayments

Record incoming repayments and view receipts.

Record repayment
@csrf
Recent repayments
@forelse($repayments as $r)@empty@endforelse
ReceiptLoanCustomerAmountDateChannel
{{ $r->receipt_no }}{{ $r->loan->loan_no }}{{ $r->loan->customer->first_name }} {{ $r->loan->customer->last_name }}₦{{ number_format($r->amount,2) }}{{ $r->payment_date->format('d M Y') }}{{ ucfirst(str_replace('_',' ',$r->channel)) }}
No repayments recorded.
{{ $repayments->links() }}
@endsection