Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
6.1.7-SNAPSHOT / WIP
==================
Improvements:
* [OE-96](https://openlmis.atlassian.net/browse/OE-96): Removed unnecessary files from the moved quantity-unit-toggle component

6.1.6 / 2025-03-31
==================
Expand Down
2 changes: 0 additions & 2 deletions src/shipment-view/messages_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
"shipmentView.failedToConfirmShipment": "Failed to confirm shipment",
"shipmentView.confirmShipment.question": "By confirming this shipment, the order will be fulfilled and the ordering facility will be notified of pending shipment with an electronic Proof of Delivery (POD).",
"shipmentView.shipmentHasErrors": "Shipment has errors",
"shipmentView.packs": "Packs",
"shipmentView.doses": "Doses",
"shipmentView.quantitiesProvidedIn": "Quantities are provided in",
"shipmentView.fillQuantityInPack": "Fill Quantity (in Packs)",
"shipmentView.remainingSoh": "Remaining SOH",
Expand Down
37 changes: 0 additions & 37 deletions src/shipment-view/quantity-unit-toggle.component.js

This file was deleted.

114 changes: 0 additions & 114 deletions src/shipment-view/quantity-unit-toggle.controller.js

This file was deleted.

114 changes: 0 additions & 114 deletions src/shipment-view/quantity-unit-toggle.controller.spec.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/shipment-view/quantity-unit-toggle.html

This file was deleted.

49 changes: 0 additions & 49 deletions src/shipment-view/quantity-unit.constant.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/shipment-view/shipment-view.controller.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ describe('ShipmentViewController', function() {
it('should return \'shipmentView.packs\' for packs', function() {
vm.quantityUnit = QUANTITY_UNIT.PACKS;

expect(vm.getSelectedQuantityUnitKey()).toEqual('shipmentView.packs');
expect(vm.getSelectedQuantityUnitKey()).toEqual('openlmisQuantityUnitToggle.packs');
});

it('should return \'shipmentView.doses\' for doses', function() {
vm.quantityUnit = QUANTITY_UNIT.DOSES;

expect(vm.getSelectedQuantityUnitKey()).toEqual('shipmentView.doses');
expect(vm.getSelectedQuantityUnitKey()).toEqual('openlmisQuantityUnitToggle.doses');
});

it('should return undefined for undefined', function() {
Expand Down
3 changes: 2 additions & 1 deletion src/shipment-view/shipment-view.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
'order',
'ui.router',
'openlmis-state-tracker',
'stock-card'
'stock-card',
'openlmis-quantity-unit-toggle'
]);

})();
Loading