Create page state to view Requisition

Description

The goal of this ticket is to create a single page that will display a requisition, and all of its associated information. Many of the features of the requisitions page in OpenLMIS v2 will be addressed in later tickets, as they are modifications of this base screen.

This page should be created using ngRoutes.

This page will use the v2 styles, and show the following data fields:

  • Requistion type

  • Facility

  • Region

  • Province

  • Reporting Period

  • ect

Sample view of the requisitions page — marked up to remove components to ignore.


Don't implement products table, action toolbar, budget toolbar, print button, or full-screen button

Acceptance Criteria:

  • User can visit requisition-view page, which will be visible at a URL similar to <server_url>/requisition/<requisition id>

  • Requisition styles block (gray block with arrow) has visible fields with content from the loaded requisition

  • Page doesn't display until it can be rendered

  • Page doesn't display if <requisition id> doesn't exist. An error should be displayed on the screen

Status

Assignee

Sebastian Brudziński

Reporter

Nick Reid

Labels

None

Epic Link

Sprint

None

Fix versions

Priority

Major
Configure