@openmrs/esm-dispensing-app 1.4.0 → 1.4.1-pre.320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/181.js +1 -1
- package/dist/181.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-dispensing-app.js.buildmanifest.json +6 -6
- package/dist/routes.json +1 -1
- package/package.json +3 -2
- package/src/utils.ts +2 -1
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"initial": true,
|
|
6
6
|
"entry": true,
|
|
7
7
|
"recorded": false,
|
|
8
|
-
"size":
|
|
8
|
+
"size": 2864445,
|
|
9
9
|
"sizes": {
|
|
10
10
|
"consume-shared": 252,
|
|
11
|
-
"javascript":
|
|
11
|
+
"javascript": 2843667,
|
|
12
12
|
"share-init": 252,
|
|
13
13
|
"runtime": 20274
|
|
14
14
|
},
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"auxiliaryFiles": [
|
|
26
26
|
"main.js.map"
|
|
27
27
|
],
|
|
28
|
-
"hash": "
|
|
28
|
+
"hash": "78727ece2ff0bd20",
|
|
29
29
|
"childrenByOrder": {}
|
|
30
30
|
},
|
|
31
31
|
{
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"initial": false,
|
|
34
34
|
"entry": false,
|
|
35
35
|
"recorded": false,
|
|
36
|
-
"size":
|
|
36
|
+
"size": 441881,
|
|
37
37
|
"sizes": {
|
|
38
|
-
"javascript":
|
|
38
|
+
"javascript": 441671,
|
|
39
39
|
"consume-shared": 210
|
|
40
40
|
},
|
|
41
41
|
"names": [],
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"auxiliaryFiles": [
|
|
50
50
|
"181.js.map"
|
|
51
51
|
],
|
|
52
|
-
"hash": "
|
|
52
|
+
"hash": "1bb19893e17a96bc",
|
|
53
53
|
"childrenByOrder": {}
|
|
54
54
|
},
|
|
55
55
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.2.0"},"pages":[{"component":"dispensing","route":"dispensing","online":true,"offline":true}],"extensions":[{"name":"dispensing-link","slot":"app-menu-slot","component":"dispensingLink","online":true,"offline":true},{"name":"dispensing-dashboard","slot":"dispensing-dashboard-slot","component":"dispensingDashboard","online":true,"offline":true},{"name":"dispensing-dashboard-link","component":"dispensingDashboardLink","meta":{"name":"dispensing","slot":"dispensing-dashboard-slot","title":"Dispensing"}}],"version":"1.4.
|
|
1
|
+
{"backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.2.0"},"pages":[{"component":"dispensing","route":"dispensing","online":true,"offline":true}],"extensions":[{"name":"dispensing-link","slot":"app-menu-slot","component":"dispensingLink","online":true,"offline":true},{"name":"dispensing-dashboard","slot":"dispensing-dashboard-slot","component":"dispensingDashboard","online":true,"offline":true},{"name":"dispensing-dashboard-link","component":"dispensingDashboardLink","meta":{"name":"dispensing","slot":"dispensing-dashboard-slot","title":"Dispensing"}}],"version":"1.4.1-pre.320"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-dispensing-app",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1-pre.320",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Medication dispensing application",
|
|
6
6
|
"browser": "dist/openmrs-esm-dispensing-app.js",
|
|
@@ -93,5 +93,6 @@
|
|
|
93
93
|
"*.{ts,tsx}": "eslint --cache --fix --max-warnings 0",
|
|
94
94
|
"*.{css,scss,ts,tsx}": "prettier --write --list-different"
|
|
95
95
|
},
|
|
96
|
-
"packageManager": "yarn@4.2.2"
|
|
96
|
+
"packageManager": "yarn@4.2.2",
|
|
97
|
+
"stableVersion": "1.4.0"
|
|
97
98
|
}
|
package/src/utils.ts
CHANGED
|
@@ -24,7 +24,8 @@ import {
|
|
|
24
24
|
import dayjs from 'dayjs';
|
|
25
25
|
|
|
26
26
|
const unitsDontMatchErrorMessage =
|
|
27
|
-
"Misconfiguration, please contact your System Administrator: Can't calculate quantity dispensed if units don't match. Likely issue: allowModifyingPrescription and restrictTotalQuantityDispensed configuration parameters both set to true.
|
|
27
|
+
"Misconfiguration, please contact your System Administrator: Can't calculate quantity dispensed if units don't match. Likely issue: allowModifyingPrescription and restrictTotalQuantityDispensed configuration parameters both set to true. " +
|
|
28
|
+
'Either set restrictTotalQuantityDispensed to false or set allowModifyingPrescription to false. If you have previously entered dispense events that modified prescriptions, you will likely need to clean up or remove that data before setting restrictTotalQuantityDispensed to true.';
|
|
28
29
|
|
|
29
30
|
/**
|
|
30
31
|
* Computes the fulfiller status for a bundle
|