Implement UI for Orderables

Description

The purpose of this ticket is implementing the UI that enables managing orderables. The UI should apply the strategy presented on the forum.

 

Acceptance Criteria:

  • The list view should be available for users that have ORDERABLES_MANAGE and/or FACILITY_APPROVED_ORDERABLES_MANAGE rights

  • Actions column in the table should contain the Edit button

  • Edit button should move the user to the separate screen (Administration > Orderables > Edit Orderable) with three tabs:

    • General

    • Programs

    • Facility Types

  • General tab should contain the following fields:

    • Product Code

    • Full Product Name

    • Description

    • Pack Size Information section with:

      • Dispensing Unit (with description visible on mockup)

      • Net Content

      • Pack Rounding Threshold

      • Round to Zero

    • Kit Unpack List

      • the add products to the list should work in the same way

  • Add Orderable button should be displayed above the table and open the modal with all the fields displayed on General tab

    • The button should be visible only for users with ORDERABLES_MANAGE right

    • After success, the user should be moved to the edit screen.

 

Status

Assignee

Klaudia Pałkowska

Reporter

Klaudia Pałkowska

Labels

Story Points

5

Time tracking

24h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major
Configure