From 450f56a88462b70de85121aee5208ade83002aaa Mon Sep 17 00:00:00 2001 From: DominikNoga Date: Tue, 25 Jun 2024 13:04:14 +0200 Subject: [PATCH] Switched default display type to doses --- .../stock-card-summary-list.controller.js | 2 +- .../physical-inventory-draft.controller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stock-card-summary-list/stock-card-summary-list.controller.js b/src/stock-card-summary-list/stock-card-summary-list.controller.js index 0f97288..c556adb 100644 --- a/src/stock-card-summary-list/stock-card-summary-list.controller.js +++ b/src/stock-card-summary-list/stock-card-summary-list.controller.js @@ -51,7 +51,7 @@ vm.currentlySelectedWardName = undefined; vm.PACKS_DISPLAY_TYPE = 'packs'; vm.DOSES_DISPLAY_TYPE = 'doses'; - vm.activeDisplayType = vm.PACKS_DISPLAY_TYPE; + vm.activeDisplayType = vm.DOSES_DISPLAY_TYPE; /** * @ngdoc property diff --git a/src/stock-physical-inventory-draft/physical-inventory-draft.controller.js b/src/stock-physical-inventory-draft/physical-inventory-draft.controller.js index e7efeab..9c8a990 100644 --- a/src/stock-physical-inventory-draft/physical-inventory-draft.controller.js +++ b/src/stock-physical-inventory-draft/physical-inventory-draft.controller.js @@ -269,7 +269,7 @@ * @description * Based on this the units are displayed */ - vm.activeDisplayType = vm.PACKS_DISPLAY_TYPE; + vm.activeDisplayType = vm.DOSES_DISPLAY_TYPE; /** * @ngdoc method