Aman-Mittal commented on issue #781:
URL:
https://github.com/apache/fineract-backoffice-ui/issues/781#issuecomment-6211205952
## Business process flow
```mermaid
flowchart TD
A["Loan officer starts application<br/>CREATE_LOAN"] --> B{"Product is
multi-disbursal?"}
B -- No --> S["Single disbursement"]
B -- Yes --> C["Enter tranche rows: date and principal"]
C --> D{"Sum equals principal and row count at most maxTrancheCount?"}
D -- No --> C
D -- Yes --> E["POST /loans with disbursementData"]
E --> F["Approved by credit approver"]
F --> G["Disburse tranche 1<br/>DISBURSE_LOAN"]
G --> H{"Plan changes later?"}
H -- "Add or remove undisbursed tranche" -->
I{"UPDATE_DISBURSEMENTDETAIL?"}
I -- Yes --> J["PUT /loans/:id/disbursements/editDisbursements"]
I -- No --> N["Controls hidden"]
H -- "Move one tranche" --> K["PUT
/loans/:id/disbursements/:disbursementId<br/>(exists today)"]
J & K --> L["Disburse next tranche when due"]
```
## UI mockup
```text
┌ New loan · Tranches ── Product allows up to 4 tranches ──────────────────┐
│ # Expected disbursement Principal │
│ 1 [ 2026-10-20 📅 ] [ 40,000.00 ] [🗑] │
│ 2 [ 2026-12-01 📅 ] [ 35,000.00 ] [🗑] │
│ 3 [ 2027-02-01 📅 ] [ 25,000.00 ] [🗑] │
│ [+ Add tranche] │
│ Total 100,000.00 / Principal 100,000.00 ✓ │
└──────────────────────────────────────────────────────────────────────────┘
┌ Loan #000789 · Disbursements ──────────────── [+ Add tranche] ───────────┐
← UPDATE_DISBURSEMENTDETAIL
│ # Expected Principal Actual Status │
│ 1 2026-10-20 40,000.00 2026-10-20 Disbursed │
│ 2 2026-12-01 35,000.00 — Pending [✎ Move] [🗑 Remove] │
│ 3 2027-02-01 25,000.00 — Pending [✎ Move] [🗑 Remove] │
└──────────────────────────────────────────────────────────────────────────┘
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]