Foo Developer created FINERACT-2769:
---------------------------------------

             Summary: Tax group – Start Date field validation/behavior issues 
on edit mode if the group is unlinked
                 Key: FINERACT-2769
                 URL: https://issues.apache.org/jira/browse/FINERACT-2769
             Project: Apache Fineract
          Issue Type: Bug
          Components: Groups
            Reporter: Foo Developer
            Assignee: Foo Developer


Edit Control Rules – Tax Group & Tax Components
1️⃣ Group-Level Flag
groupEditable
If linked → groupEditable = false

FE locks everything except start date from including today and future and BE 
should accept that

Only Tax Group Name remains editable

If unlinked → groupEditable = true

FE evaluates editability per component using componentEditable

2️⃣ Component-Level Flag
componentEditable (applies only when groupEditable = true)
For each tax component:

If Start Date ≤ Today()

componentEditable = false

All fields locked

Only End Date is editable

If Start Date > Today()

componentEditable = true

Start Date editable (future dates only) OR today

3️⃣ Always Locked
Tax Component field (component selection) → always locked

Tax Component End Date → always editable



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to