Show approval columns on product grid

Description

When a requisition is 'Authorized' or 'Approved' two columns should be added to the requisition product grid.

  • Approved quantity
    A numeric input

  • Remarks
    A text input

If the user has permission to approve a requisition, they will be able to add values to these fields. If the user doesn't have permission to approve the requisition or the requisition has already been approved (status == 'APPROVED') then the field are not editable.

Acceptance Criteria

  • A requistion that has not been authorized doesn't have 'approved quantity' or 'remarks' fields.

  • The fields are visible, but can't be edited if the requisition status of 'APPROVED'

  • The fields are editable if the requisition's state is authorized

Assignee

Sebastian Brudziński

Reporter

Nick Reid

Labels

None

Story Points

3

Epic Link

Sprint

None

Fix versions

Priority

Major
Configure