Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1609

Hide supplementary properties accordion if zero populated terms and no primary terms

    XMLWordPrintable

Details

    • ERM Sprint 113, ERM Sprint 115, ERM Sprint 116
    • Bienenvolk

    Description

      If an agreement has zero populated properties AND there are no primary properties defined in the system, then the Supplementary Properties accordion in the Agreement view pane should be hidden.

       
      Currently the accordion displays unless there are no supplementary props defined in the tenant at all
       
      The issue is to change that so that the accordion displays if either * there are primary props defined in the tenant or

      • a property has been populated on the agreement - primary or otherwise
         
         
        So to test- On a clean system: * Create an agreement - check Supp Prop accordion doesn’t display
      • Add a Supp Prop, primary  - check Supp Prop accordion now displays
      • Change the Supp Prop to non-primary - check Supp Prop accordion doesn’t display
      • Set the prop on the agreement - check the supp prop accordion now displays

        Dev task breakdown

      • Change supplementary properties accordion hiding logic found here:
        https://github.com/folio-org/ui-agreements/blob/master/src/components/views/Agreement.js#L306

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases