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

   ## Business process flow
   
   ```mermaid
   flowchart TD
       A["Open WC loan or product"] --> B["GET /datatables?apptable=m_wc_loan"]
       B --> C{"For each table:<br/>READ_table or ALL_FUNCTIONS_READ?"}
       C -- No --> X["Tab not shown"]
       C -- Yes --> D["Tab shows rows"]
       D --> E{"Add / Edit / Delete"}
       E --> F{"CREATE_ / UPDATE_ / DELETE_ table code?"}
       F -- No --> N["Control disabled"]
       F -- Yes --> G["POST / PUT / DELETE /datatables/:table/:loanId"]
       S["New WC loan application"] --> T{"Entity datatable check on m_wc_loan 
CREATE?"}
       T -- Yes --> U["Collect mandatory datatable fields before submit"]
       T -- No --> V["Submit normally"]
   ```
   
   ## UI mockup
   
   ```text
   ┌ Working Capital Loan #000123 ────────────────────────────────────────────┐
   │ Details │ Schedule │ Transactions │ Charges │ Breach │ ▶ wc_invoice_info │
   ├──────────────────────────────────────────────────────────────────────────┤
   │ wc_invoice_info                                       [+ Add] [✎ Edit]   │ 
← CREATE_/UPDATE_wc_invoice_info
   │ Invoice number     INV-88213                                             │
   │ Buyer name         Acme Retail Ltd                                       │
   │ Invoice due date   2026-12-15                                            │
   │                                                       [🗑 Delete]         │ 
← DELETE_wc_invoice_info
   └──────────────────────────────────────────────────────────────────────────┘
   (Read-only auditor: same tab, no enabled buttons)
   ```
   


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