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

   ## Business process flow
   
   ```mermaid
   flowchart TD
       A["Branch manager opens Tellers"] --> B{"Action"}
       B -- "Delete teller" --> C{"DELETE_TELLER?"}
       C -- Yes --> D["Destructive confirm"]
       D --> E["DELETE /tellers/:id"]
       E --> F{"Teller still has cashiers or transactions?"}
       F -- Yes --> G["Show Fineract refusal, link to cashier list"]
       F -- No --> H["Teller removed"]
       B -- "Edit cashier assignment" --> I{"UPDATECASHIERALLOCATION_TELLER?"}
       I -- Yes --> J["Prefilled form: staff, period, full day or hours"]
       J --> K["PUT /tellers/:id/cashiers/:cashierId"]
       K --> L["Cash history preserved"]
       C & I -- No --> N["Control hidden"]
   ```
   
   ## UI mockup
   
   ```text
   ┌ Tellers ─────────────────────────────────────────────────────────────────┐
   │ Teller         Office        Status   Cashiers                           │
   │ Counter 1      Main Office   Active   2          [✎] [🗑]                 │ 
← 🗑 = DELETE_TELLER
   │ Counter 2 (old) Main Office  Inactive 0          [✎] [🗑]                 │
   └──────────────────────────────────────────────────────────────────────────┘
   
   ┌ Edit cashier · Counter 1 ────────────────────────────────────────────────┐
   │ Staff *          [ Ravi K. ▾ ]                                           │
   │ Description      [ Morning shift                ]                        │
   │ From *  [ 2026-10-01 📅 ]   To *  [ 2026-12-31 📅 ]                      │
   │ [ ] Full day     Hours  [ 09:00 ] – [ 13:00 ]                            │
   │                                         [Cancel]   [Save]                │ 
← UPDATECASHIERALLOCATION_TELLER
   └──────────────────────────────────────────────────────────────────────────┘
   ```
   


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