Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1490

Update Manual Charges display to exclude "automated" fees/fines and to not allow "automated" Fee/Fine Types to be duplicated as "manual" Fee/Fine Types

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM-Veg Sprint 36
    • Story Points:
      3
    • Development Team:
      Vega

      Description

      This task must be fixed before Q1 2020 is released!

      There are three changes needed:
      1) When the Manual Fee/Fine table is built for display and editing, exclude Fee/Fine Types with the new manual/automated flag set to automated (see MODFEE-28).
      2) Do not allow a "manual" Fee/Fine Type to have the same name as an "automated" fee/fine type. If a duplicate name is entered, display this error message: Fee/fine type already exists as automated fee/fine
      3) When a Manual Fee/Fine is added, set the new manual/automated flag to manual (MODFEE-30 is the backend story for this work).

      Dev's update:
      New /feesfines response model:

      {
        "feefines": [
          {
            "automatic": false,
            "feeFineType": "Manual fine",
            "defaultAmount": 5.0,
            "ownerId": "2a83f291-cb14-4408-aeb6-44e97558113b",
            "metadata": {
              "createdDate": "2020-03-06T09:12:39.476+0000",
              "createdByUserId": "cae4b331-178a-5afb-ad38-cae368c2e449",
              "updatedDate": "2020-03-06T09:12:39.476+0000",
              "updatedByUserId": "cae4b331-178a-5afb-ad38-cae368c2e449"
            },
            "id": "37028f13-3038-4702-91ad-c41ba4f33a49"
          },
          {
            "automatic": true,
            "feeFineType": "Overdue fine",
            "defaultAmount": 1.0,
            "metadata": {
              "createdDate": "2020-03-06T09:12:39.476+0000",
            },
            "id": "37028f13-3038-4702-91ad-c41ba4f33a51"
          }
        ],
        "totalRecords": 2,
        "resultInfo": {
          "totalRecords": 2,
          "facets": [],
          "diagnostics": []
        }
      }
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                maxim_didenko Maxim Didenko
                Reporter:
                hollyolepm Holly Mistlebauer
                Tester Assignee:
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases