@openmrs/esm-stock-management-app 3.0.1-pre.840 → 3.0.1-pre.845
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/10.js +1 -1
- package/dist/119.js +1 -1
- package/dist/14.js +1 -0
- package/dist/14.js.map +1 -0
- package/dist/152.js +1 -0
- package/dist/152.js.map +1 -0
- package/dist/172.js +1 -1
- package/dist/20.js +1 -1
- package/dist/235.js +1 -0
- package/dist/235.js.map +1 -0
- package/dist/290.js +1 -1
- package/dist/467.js +1 -1
- package/dist/574.js +1 -1
- package/dist/606.js +1 -1
- package/dist/627.js +1 -1
- package/dist/642.js +1 -1
- package/dist/675.js +1 -1
- package/dist/703.js +1 -0
- package/dist/703.js.map +1 -0
- package/dist/727.js +1 -1
- package/dist/842.js +2 -0
- package/dist/842.js.map +1 -0
- package/dist/93.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-stock-management-app.js +1 -1
- package/dist/openmrs-esm-stock-management-app.js.buildmanifest.json +127 -55
- package/dist/openmrs-esm-stock-management-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/core/components/card/metrics-card-component.tsx +24 -21
- package/src/core/components/card/metrics-card.scss +46 -8
- package/src/dashboard/home-dashboard.scss +0 -4
- package/src/index.ts +61 -42
- package/src/routes.json +12 -4
- package/src/stock-home/{stock-home-inventory-expiry.component.tsx → expired-stock.modal.tsx} +26 -14
- package/src/stock-home/{stock-home-issuing-modal.component.tsx → issuing-stock.modal.tsx} +26 -14
- package/src/stock-home/{stock-home-receiving-modal.component.tsx → receiving-stock.modal.tsx} +27 -20
- package/src/stock-home/stock-home-detail-card.scss +24 -30
- package/src/stock-home/stock-home-detail-cards.component.tsx +34 -33
- package/src/stock-home/stock-home-inventory-card.component.tsx +19 -33
- package/src/stock-home/{stock-home-inventory-expiry.resource.tsx → stock-home-inventory-expiry.resource.ts} +2 -7
- package/src/stock-home/{stock-home-inventory-items.resource.tsx → stock-home-inventory-items.resource.ts} +2 -1
- package/src/stock-home/stock-home-issuing-card.component.tsx +17 -28
- package/src/stock-home/stock-home-landing-page-component.tsx +1 -3
- package/src/stock-home/{stock-home-metrics.tsx → stock-home-metrics.component.tsx} +37 -40
- package/src/stock-home/stock-home-receiving-card.component.tsx +16 -27
- package/src/stock-home/stock-home.scss +5 -5
- package/src/stock-items/add-stock-item/stock-item-rules/add-stock-rule-button.component.tsx +1 -1
- package/translations/en.json +34 -29
- package/dist/165.js +0 -2
- package/dist/165.js.map +0 -1
- package/dist/769.js +0 -1
- package/dist/769.js.map +0 -1
- /package/dist/{165.js.LICENSE.txt → 842.js.LICENSE.txt} +0 -0
- /package/src/stock-home/{stock-home-issuing.resource.tsx → stock-home-issuing.resource.ts} +0 -0
- /package/src/stock-home/{stock-home-receiving.resource.tsx → stock-home-receiving.resource.ts} +0 -0
package/translations/en.json
CHANGED
@@ -13,11 +13,11 @@
|
|
13
13
|
"addLocation": "Create new Location",
|
14
14
|
"addNewStock": "Add New",
|
15
15
|
"addNewStockRule": "Add New Rule",
|
16
|
-
"addNewStockSource": "Add
|
17
|
-
"addNewUserRoleScope": "Add
|
16
|
+
"addNewStockSource": "Add new source",
|
17
|
+
"addNewUserRoleScope": "Add new user role scope",
|
18
18
|
"addStockItem": "Add Stock Item",
|
19
19
|
"addStockOperation": "Add stock operation",
|
20
|
-
"
|
20
|
+
"addStockRule": "Add stock rule",
|
21
21
|
"addUserRole": "Add User role",
|
22
22
|
"adminSettings": "Admin settings",
|
23
23
|
"alertRole": "Alert Role",
|
@@ -59,7 +59,6 @@
|
|
59
59
|
"commonName": "Common Name",
|
60
60
|
"complete": "Complete",
|
61
61
|
"completed": "Completed",
|
62
|
-
"continue": "Continue",
|
63
62
|
"createLocation": "Create Location",
|
64
63
|
"date": "Date",
|
65
64
|
"dateRequested": "Date Requested",
|
@@ -82,7 +81,7 @@
|
|
82
81
|
"deletingRule": "Delete Rule",
|
83
82
|
"deletingSource": "Delete Source",
|
84
83
|
"deletingstockUserScope": "Delete Stock User Scope",
|
85
|
-
"destination": "
|
84
|
+
"destination": "destination",
|
86
85
|
"details": "Details",
|
87
86
|
"discard": "Discard",
|
88
87
|
"dispatch": "Dispatch",
|
@@ -91,8 +90,8 @@
|
|
91
90
|
"dispensingUnit": "Dispensing Unit",
|
92
91
|
"dispensingUnitHolder": "Choose a dispensing unit",
|
93
92
|
"dispensingUnitName": "Dispensing UoM",
|
94
|
-
"dispensingUnitOfMeasurement": "Dispensing packaging unit of measurement
|
95
|
-
"
|
93
|
+
"dispensingUnitOfMeasurement": "Dispensing packaging unit of measurement",
|
94
|
+
"disposedStock": "Disposed stock",
|
96
95
|
"doesThisTransactionRequireApproval": "Does the transaction require approval ?",
|
97
96
|
"drug": "Drug",
|
98
97
|
"editItem": "Edit {{name}}",
|
@@ -100,7 +99,8 @@
|
|
100
99
|
"editStockItem": "Edit Stock Item",
|
101
100
|
"editStockOperation": "Edit stock operation",
|
102
101
|
"editStockRule": "Edit Stock Rule",
|
103
|
-
"
|
102
|
+
"editStockSource": "Edit stock source",
|
103
|
+
"editUserScope": "Edit user scope role",
|
104
104
|
"enabled": "Enabled",
|
105
105
|
"endDate": "End Date",
|
106
106
|
"ended": "Ended",
|
@@ -114,7 +114,7 @@
|
|
114
114
|
"errorDeletingSource": "Error deleting a source",
|
115
115
|
"errorDeletingUserScope": "Error deleting a user scope",
|
116
116
|
"errorEditingStockItem": "Error editing a stock Item",
|
117
|
-
"errorLoadingStockOperation": "Error loading stock
|
117
|
+
"errorLoadingStockOperation": "Error loading stock operation",
|
118
118
|
"errorLoadingStockOperationTypes": "Error loading stock operation types",
|
119
119
|
"errorPrintingStockOperation": "Error printing stock operation",
|
120
120
|
"errorSavingForm": "Error on saving form",
|
@@ -126,9 +126,10 @@
|
|
126
126
|
"exitMessage": "Message",
|
127
127
|
"expirationNotice": "Expiration Notice (days)",
|
128
128
|
"expired": "Expired",
|
129
|
+
"expiredStock": "Expired stock",
|
129
130
|
"expires": "Expires",
|
130
131
|
"expiriation": "Expiration Date",
|
131
|
-
"expiringStock": "Expiring
|
132
|
+
"expiringStock": "Expiring stock",
|
132
133
|
"expiry": "Expiry",
|
133
134
|
"expiryNoticeDays": "Expiration Notice (days)",
|
134
135
|
"filter": "Filter ...",
|
@@ -142,19 +143,17 @@
|
|
142
143
|
"generatedMessage": "The card has been electronically generated and is a valid document. It was created by {{userName}} on {{date}}",
|
143
144
|
"genericName": "Generic Name",
|
144
145
|
"hasExpiration": "Does the item expire?",
|
145
|
-
"highestServiceVolume": "Out of Stock ",
|
146
146
|
"home": "Home",
|
147
147
|
"import": "Import",
|
148
148
|
"importStockItems": "Import Stock Items",
|
149
149
|
"in6Months": "In 6 months",
|
150
150
|
"includeChildLocations": "Include Child Locations",
|
151
|
-
"
|
152
|
-
"inventoryAlertNull": "No inventory alerts to display",
|
151
|
+
"inventoryAlerts": "Inventory alerts",
|
153
152
|
"inventoryBy": "Inventory by",
|
154
153
|
"inventoryGroupBy": "Inventory group by",
|
154
|
+
"issuedStock": "Issued stock",
|
155
155
|
"issueStock": "Issue Stock ",
|
156
156
|
"issuing": "Issuing",
|
157
|
-
"issuingNull": "No issued to display",
|
158
157
|
"item": "Item",
|
159
158
|
"itemAlreadyExists": "Item already exits",
|
160
159
|
"itemDetails": "Item Details",
|
@@ -179,7 +178,7 @@
|
|
179
178
|
"manageStock": "Manage Stock",
|
180
179
|
"maxReorderLevelRatio": "Max reorder level ratio",
|
181
180
|
"mostMoving": "Most Moving",
|
182
|
-
"name": "
|
181
|
+
"name": "Name",
|
183
182
|
"newOperationTitle": "New: {{operationName}}",
|
184
183
|
"newReport": "New Report",
|
185
184
|
"next": "Next",
|
@@ -187,27 +186,33 @@
|
|
187
186
|
"noCommonNameAvailable": "No common name available",
|
188
187
|
"noData": "No data to display",
|
189
188
|
"noDrugNameAvailable": "No drug name available",
|
189
|
+
"noExpiredStockDataAvailable": "No expired stock data available.",
|
190
|
+
"noInventoryAlerts": "No inventory alerts to display",
|
191
|
+
"noIssuedStock": "No issued stock to display",
|
192
|
+
"noIssuedStockDataAvailable": "No issued stock data available.",
|
190
193
|
"noItemsToDisplay": "No Stock Items to display",
|
191
194
|
"noneFulfillment": "Non Fulfillment",
|
192
195
|
"noOperationsToDisplay": "No Stock Operations to display",
|
193
196
|
"noPrivilagesTitle": "",
|
197
|
+
"noReceivedStock": "No received stock to display",
|
198
|
+
"noReceivedStockDataAvailable": "No received stock data available.",
|
194
199
|
"noReportsToDisplay": "No Stock reports to display",
|
195
200
|
"noRulesToDisplay": "No Stock rules to display",
|
196
201
|
"noSourcesToDisplay": "No Stock sources to display",
|
197
202
|
"noStockItemsToDisplay": "No stock items to display",
|
203
|
+
"noStockUserRoleScopesToDisplay": "No stock user role scopes to display",
|
198
204
|
"notes": "Please explain the reason:",
|
199
205
|
"notSet": "Not Set",
|
200
|
-
"
|
201
|
-
"noViewPrivilegesDescription": "",
|
206
|
+
"noViewPrivilegesDescription": "Description: {{description}}",
|
202
207
|
"number": "Number",
|
203
208
|
"operationDate": "Operation Date",
|
204
209
|
"operationModalTitle": "{{title}} Operation",
|
205
210
|
"operationNumber": "Operation Number",
|
206
211
|
"operationSuccessful": "You have successfully {{title}} operation",
|
207
212
|
"operationSuccessTitle": "{{title}} Operation",
|
208
|
-
"orderLevel": "Reorder level
|
213
|
+
"orderLevel": "Reorder level",
|
209
214
|
"other": "Other",
|
210
|
-
"
|
215
|
+
"outOfStock": "Out of stock",
|
211
216
|
"packagingUnit": "Packaging Unit",
|
212
217
|
"packagingUnits": "Packaging Units",
|
213
218
|
"packagingUomError": "Error loading stockItemPackagingUOM name",
|
@@ -218,17 +223,16 @@
|
|
218
223
|
"partieserror": "Error launching base operation details form",
|
219
224
|
"patients": "Patients",
|
220
225
|
"permanent": "Permanent",
|
221
|
-
"pleaseFillField": "",
|
226
|
+
"pleaseFillField": "{{message}}",
|
222
227
|
"pleaseSpecify": "Please Specify",
|
223
|
-
"
|
228
|
+
"poorQuality": "Poor Quality",
|
224
229
|
"previous": "Previous",
|
225
|
-
"print": "Print
|
230
|
+
"print": "Print",
|
226
231
|
"printbincard": "Print Stock Card",
|
227
232
|
"printBinCard": "Print Bin Card",
|
228
233
|
"printStockCard": "Print Stock Card",
|
229
|
-
"providersAvailableToday": "Disposed Stock ",
|
230
234
|
"purchasePrice": "Purchase Price",
|
231
|
-
"purchasePricePackagingUnit": "Purchase price packaging unit
|
235
|
+
"purchasePricePackagingUnit": "Purchase price packaging unit",
|
232
236
|
"qty": "Qty",
|
233
237
|
"quantities": "Quantities",
|
234
238
|
"quantity": "Quantity Threshold",
|
@@ -243,17 +247,17 @@
|
|
243
247
|
"reasonLabel": "Please explain the reason:",
|
244
248
|
"reasonPlaceholder": "Enter reason here",
|
245
249
|
"receivedItems": "Received Items",
|
246
|
-
"
|
247
|
-
"receivedView": "View All",
|
250
|
+
"receivedStock": "Received stock",
|
248
251
|
"receiving": "Receiving",
|
249
252
|
"references": "References",
|
253
|
+
"refresh": "Refresh",
|
250
254
|
"reject": "Reject ",
|
251
255
|
"rejected": "Rejected",
|
252
256
|
"rejectOrder": "Uploaded Order",
|
253
257
|
"relatedStockRequisitionRequired": "Related stock requisition Required",
|
254
258
|
"remarks": "Remarks",
|
255
259
|
"removePackagingUnit": "Remove Packaging Unit",
|
256
|
-
"removePackagingUnitConfirmation": "",
|
260
|
+
"removePackagingUnitConfirmation": "Would you really like to remove the packaging unit {{name}} from the stock item?",
|
257
261
|
"reorderLevel": "Reorder Level",
|
258
262
|
"reorderLevelPackagingUnit": "Reorder level packaging unit",
|
259
263
|
"report": "Report",
|
@@ -309,7 +313,6 @@
|
|
309
313
|
"stockRuleAddedSuccessfully": "Stock Rule Added Successfully",
|
310
314
|
"stockRuleDeletedSuccessfully": "Stock Rule Deleted Successfully",
|
311
315
|
"stockRules": "Rules",
|
312
|
-
"stocks": "Expiring stock",
|
313
316
|
"stockSource": "Stock source",
|
314
317
|
"stockSourceAddedSuccessfully": "Stock Source Added Successfully",
|
315
318
|
"stockSourceDeletedSuccessfully": "Stock Source Deleted Successfully",
|
@@ -322,7 +325,7 @@
|
|
322
325
|
"submitted": "Submitted",
|
323
326
|
"submittingForReview": "Submitting for review",
|
324
327
|
"success": "Success",
|
325
|
-
"successfullysaved": "You have successfully saved user role scope
|
328
|
+
"successfullysaved": "You have successfully saved user role scope",
|
326
329
|
"SuccessfullyUploadedStockItem": "You have successfully uploaded stock items",
|
327
330
|
"tabletOverlay": "Tablet overlay",
|
328
331
|
"tags": "Tags",
|
@@ -332,6 +335,7 @@
|
|
332
335
|
"tradeName": "Trade Name",
|
333
336
|
"transactions": "Transactions",
|
334
337
|
"type": "Type",
|
338
|
+
"unit": "Unit",
|
335
339
|
"uom": "UoM",
|
336
340
|
"updatePackagingUnitErrorMessage": "Error updating package unit {{name}}",
|
337
341
|
"updatePackagingUnitErrorTitle": "Package Unit",
|
@@ -340,6 +344,7 @@
|
|
340
344
|
"uploadStockItems": "Upload StockItems",
|
341
345
|
"user": "User",
|
342
346
|
"view": "View",
|
347
|
+
"viewAll": "View All",
|
343
348
|
"whoIsThePreferredVendor": "Who is the preferred vendor?",
|
344
349
|
"yes": "Yes"
|
345
350
|
}
|