@openmrs/esm-stock-management-app 1.0.1-pre.327 → 1.0.1-pre.329
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/979.js +1 -1
- package/dist/979.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-stock-management-app.js.buildmanifest.json +6 -6
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.component.tsx +19 -11
@@ -86,10 +86,10 @@
|
|
86
86
|
"initial": true,
|
87
87
|
"entry": true,
|
88
88
|
"recorded": false,
|
89
|
-
"size":
|
89
|
+
"size": 4313069,
|
90
90
|
"sizes": {
|
91
91
|
"consume-shared": 252,
|
92
|
-
"javascript":
|
92
|
+
"javascript": 4291120,
|
93
93
|
"share-init": 252,
|
94
94
|
"runtime": 21445
|
95
95
|
},
|
@@ -106,7 +106,7 @@
|
|
106
106
|
"auxiliaryFiles": [
|
107
107
|
"main.js.map"
|
108
108
|
],
|
109
|
-
"hash": "
|
109
|
+
"hash": "42dca93609521f69",
|
110
110
|
"childrenByOrder": {}
|
111
111
|
},
|
112
112
|
{
|
@@ -333,9 +333,9 @@
|
|
333
333
|
"initial": false,
|
334
334
|
"entry": false,
|
335
335
|
"recorded": false,
|
336
|
-
"size":
|
336
|
+
"size": 903255,
|
337
337
|
"sizes": {
|
338
|
-
"javascript":
|
338
|
+
"javascript": 903045,
|
339
339
|
"consume-shared": 210
|
340
340
|
},
|
341
341
|
"names": [],
|
@@ -349,7 +349,7 @@
|
|
349
349
|
"auxiliaryFiles": [
|
350
350
|
"979.js.map"
|
351
351
|
],
|
352
|
-
"hash": "
|
352
|
+
"hash": "b615a24cc4b7a8ee",
|
353
353
|
"childrenByOrder": {}
|
354
354
|
}
|
355
355
|
]
|
package/dist/routes.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":"^1.2.0","webservices.rest":"^2.24.0"},"extensions":[{"name":"stock-management-dashboard","slot":"stock-management-dashboard-slot","component":"stockManagementDashboard"},{"name":"stock-management-admin-card-link","slot":"system-admin-page-card-link-slot","component":"stockManagementAdminCardLink"},{"name":"stock-operation-dialog","component":"stockOperationDialog"},{"name":"import-bulk-stock-items","component":"importBulkStockItemsDialog"},{"name":"delete-stock-modal","component":"deleteStockModal"},{"name":"delete-stock-user-scope-modal","component":"deleteUserScopeModal"},{"name":"stock-management-app-menu-item","component":"stockManagementAppMenuItem","slot":"app-menu-item-slot","meta":{"name":" Stock Management"}},{"name":"delete-stock-rule-modal","component":"deleteStockRuleModal"}],"pages":[{"component":"stockManagement","route":"stock-management"}],"version":"1.0.1-pre.
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":"^1.2.0","webservices.rest":"^2.24.0"},"extensions":[{"name":"stock-management-dashboard","slot":"stock-management-dashboard-slot","component":"stockManagementDashboard"},{"name":"stock-management-admin-card-link","slot":"system-admin-page-card-link-slot","component":"stockManagementAdminCardLink"},{"name":"stock-operation-dialog","component":"stockOperationDialog"},{"name":"import-bulk-stock-items","component":"importBulkStockItemsDialog"},{"name":"delete-stock-modal","component":"deleteStockModal"},{"name":"delete-stock-user-scope-modal","component":"deleteUserScopeModal"},{"name":"stock-management-app-menu-item","component":"stockManagementAppMenuItem","slot":"app-menu-item-slot","meta":{"name":" Stock Management"}},{"name":"delete-stock-rule-modal","component":"deleteStockRuleModal"}],"pages":[{"component":"stockManagement","route":"stock-management"}],"version":"1.0.1-pre.329"}
|
package/package.json
CHANGED
@@ -162,17 +162,25 @@ const StockItemDetails = forwardRef<never, StockItemDetailsProps>(
|
|
162
162
|
</FormGroup>
|
163
163
|
|
164
164
|
{hasExpiration && (
|
165
|
-
<
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
165
|
+
<FormGroup
|
166
|
+
className="clear-margin-bottom"
|
167
|
+
legendText={t("expirationNotice", "Expiration Notice (days)")}
|
168
|
+
title={t("expirationNotice", "Expiration Notice (days)")}
|
169
|
+
>
|
170
|
+
<ControlledNumberInput
|
171
|
+
id="expiryNotice"
|
172
|
+
name="expiryNotice"
|
173
|
+
control={control}
|
174
|
+
controllerName="expiryNotice"
|
175
|
+
size={"md"}
|
176
|
+
allowEmpty={true}
|
177
|
+
label={t("expiryNoticeDays", "Expiration Notice (days)")}
|
178
|
+
invalid={!!errors.expiryNotice}
|
179
|
+
invalidText={
|
180
|
+
errors.expiryNotice && errors?.expiryNotice?.message
|
181
|
+
}
|
182
|
+
/>
|
183
|
+
</FormGroup>
|
176
184
|
)}
|
177
185
|
</div>
|
178
186
|
<PreferredVendorSelector
|