@extends('layouts.app') @section('page_title','Loans') @section('content')
Use Add Loan to increase an active loan without creating another loan record.
| Date | Contact | Type | Account | Principal | Paid | Outstanding | Due | Actions |
|---|---|---|---|---|---|---|---|---|
| {{$l->start_date?->format('d M Y')}} | {{$l->contact?->name??'—'}} | {{$l->type}} | {{$l->account?->name}} | ৳ {{number_format($l->principal,2)}} | ৳ {{number_format($l->paid_amount,2)}} | ৳ {{number_format($l->outstanding,2)}} | {{$l->due_date?->format('d M Y') ?? '—'}} |
@if(\App\Support\Money::compare($l->outstanding,'0')>0)
@endif
@if($l->status!=='settled' && \App\Support\Money::compare($l->outstanding,'0')>0)@endif
|
| No loans yet. | ||||||||