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

   ## Business process flow
   
   ```mermaid
   flowchart TD
       A["Charges tab<br/>READ_WORKINGCAPITALLOAN"] --> B{"Action"}
       B -- "Add charge" --> C1{"CREATE_WORKINGCAPITALLOANCHARGE?"}
       B -- "Waive" --> C2{"WAIVE_WORKINGCAPITALLOANCHARGE?"}
       B -- "Adjust" --> C3{"ADJUSTMENT_WORKINGCAPITALLOANCHARGE?"}
       B -- "Open row" --> V["GET …/charges/:chargeId<br/>paid, waived, 
outstanding"]
       C1 -- Yes --> P1["POST …/charges"]
       C2 -- Yes --> P2["POST …/charges/:chargeId?command=waive"]
       C3 -- Yes --> P3["POST …/charges/:chargeId?command=adjustment"]
       C1 & C2 & C3 -- No --> N["Hidden or disabled"]
       D["Discount fee"] --> D0{"Loan state"}
       D0 -- "Before disbursal" --> D1{"UPDATEDISCOUNT_WORKINGCAPITALLOAN?"} 
--> D2["PUT …/discount"]
       D0 -- "After disbursal" --> D3{"DISCOUNTFEE_WORKINGCAPITALLOAN?"} --> 
D4["POST …/transactions?command=discountFee"]
       D4 --> D5{"Correction needed?"} -- Yes --> 
D6{"DISCOUNTFEEADJUSTMENT_WORKINGCAPITALLOAN?"} --> D7["POST 
…/transactions/:txnId?command=discountFeeAdjustment"]
   ```
   
   ## UI mockup
   
   ```text
   ┌ Charges ─────────────────────────────────────────────── [+ Add charge] ──┐
   │ Charge            Due         Amount   Paid    Waived  Outstanding       │
   │ Origination fee   2026-09-20  500.00   500.00  0.00    0.00      [⋮]     │
   │ Late fee          2026-10-10   50.00     0.00  0.00   50.00      [⋮]     │
   │                                                        ├ View detail     │
   │                                                        ├ Waive           │ 
← WAIVE_…CHARGE
   │                                                        └ Adjust          │ 
← ADJUSTMENT_…CHARGE
   └──────────────────────────────────────────────────────────────────────────┘
   
   ┌ Adjust charge · Late fee ────────────────────────────────────────────────┐
   │ Current outstanding   50.00                                              │
   │ Adjustment amount *   [ 20.00 ]                                          │
   │ Transaction date *    [ 2026-10-16 📅 ]                                  │
   │ Note *                [ Fee reduced per policy 7.3      ]                │
   │                                          [Cancel]  [Post adjustment]     │
   └──────────────────────────────────────────────────────────────────────────┘
   ```
   


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