Aman-Mittal commented on issue #771:
URL: 
https://github.com/apache/fineract-backoffice-ui/issues/771#issuecomment-6211156468

   **Correction to the flow above:** the last node lost its text, because 
Mermaid treats `<CODE>` as an HTML tag. Corrected diagram:
   
   ```mermaid
   flowchart TD
       A["Active Working Capital loan"] --> B{"Which event?"}
       B -- "Borrower settles early" --> P["Prepay"]
       B -- "Concession agreed" --> G["Goodwill credit"]
       B -- "Merchant payout returned" --> R["Payout refund"]
       B -- "Loan overpaid" --> C["Credit balance refund"]
       P --> P1{"REPAYMENT_WORKINGCAPITALLOAN?"}
       G --> G1{"GOODWILLCREDIT_WORKINGCAPITALLOAN?"}
       R --> R1{"PAYOUTREFUND_WORKINGCAPITALLOAN?"}
       C --> C0{"Loan has credit balance?"}
       C0 -- No --> CX["Action not offered"]
       C0 -- Yes --> C1{"CREDITBALANCEREFUND_WORKINGCAPITALLOAN?"}
       P1 & G1 & R1 & C1 -- No --> N["Action hidden or disabled with 'Requires 
…' tooltip"]
       P1 & G1 & R1 & C1 -- Yes --> T["GET transactions/template?command=… for 
defaults"]
       T --> F["Operator confirms date, amount, payment type, note"]
       F --> S["POST /working-capital-loans/:id/transactions?command=…"]
       S --> M{"Maker-checker on?"}
       M -- Yes --> Q["Queued for the matching _CHECKER approver"]
       M -- No --> U["Transactions tab and balances refresh"]
   ```
   


-- 
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]

Reply via email to