Aman-Mittal commented on issue #773:
URL:
https://github.com/apache/fineract-backoffice-ui/issues/773#issuecomment-6211175015
## Business process flow
```mermaid
flowchart TD
A["Operator opens Transactions tab<br/>READ_WORKINGCAPITALLOAN"] -->
B["Clicks a transaction row"]
B --> C["GET /working-capital-loans/:id/transactions/:txnId"]
C --> D["Detail view: type, date, amount, allocation, external id"]
D --> E{"Reversed already?"}
E -- Yes --> R["Read-only, struck through, 'Reversed' label"]
E -- No --> F{"Which correction?"}
F -- "Undo" --> G{"UNDO_WORKINGCAPITALLOANTRANSACTION?"}
F -- "Adjust" --> H{"Backend supports command=adjust?"}
H -- No --> HX["Adjust not offered"]
H -- Yes --> H1{"Holds the adjust permission?"}
G -- No --> N["Button hidden or disabled"]
H1 -- No --> N
G -- Yes --> I["Destructive confirm"]
H1 -- Yes --> J["Edit amount or date"]
I --> K["POST …/transactions/:txnId?command=undo"]
J --> L["POST …/transactions/:txnId?command=adjust"]
K & L --> M{"Maker-checker on?"}
M -- Yes --> Q["Queued for UNDO_WORKINGCAPITALLOANTRANSACTION_CHECKER"]
M -- No --> S["Balances and schedule refresh"]
```
## UI mockup
```text
┌ Transactions ────────────────────────────────────────────────────────────┐
│ Date Type Amount Principal Fee Status │
│ 2026-10-15 Repayment 2,000.00 1,850.00 150.00 › │
← row opens detail
│ 2026-10-01 Repayment 2,000.00 1,900.00 100.00 › │
│ 2026-09-20 ̶D̶i̶s̶b̶u̶r̶s̶e̶m̶e̶n̶t̶ ̶5̶0̶,̶0̶0̶0̶.̶0̶0̶
Reversed │
└──────────────────────────────────────────────────────────────────────────┘
┌ Transaction #4471 · Repayment ───────────────────────────────────────────┐
│ Date 2026-10-15 Amount 2,000.00 Payment type Bank transfer │
│ External id PAY-77120 Created by teller01 │
│ Allocation Principal 1,850.00 · Fee 150.00 · Penalty 0.00 │
│ │
│ [Adjust] ← only if supported and permitted │
│ [Undo transaction] ← UNDO_WORKINGCAPITALLOANTRANSACTION (destructive) │
└──────────────────────────────────────────────────────────────────────────┘
```
--
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]