Clone
 

kpalkowska <kpalkowska@soldevelo.com> in openlmis-requisition-ui

OLMIS-3025 FEOLMIS-1810: Added missed tests and cleaned up the code

OLMIS-3025: Fixes after review FEOLMIS-1810

OLMIS-3025: Revert removing code by mistake

OLMIS-3025 FEOLMIS-1810

* Moved preparing requisition to display on batch approval view to the factory.

* Reused RequisitionWatcher and remove BatchRequisitionWatcher.

* Fixed displaying errors in batch approval view.

* Added instruction.

* Added missing tests.

    • -2
    • +3
    /src/requisition/requisitions.service.js
OLMIS-3025: Fixed indentation, removed empty lines, refactored tests

    • -6
    • +5
    /src/requisition/requisitions.service.js
OLMIS-3025: Enable changing value of approved quantity when requisition has status IN_APPROVAL. Also updated changelog.

MW-399: Introduced frontend batch-approval functionality to Core

  1. … 6 more files in changeset.