@openmrs/esm-billing-app 1.1.1 → 1.1.2-pre.1

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.
Files changed (193) hide show
  1. package/.turbo/cache/53e233a916ffe7d2-meta.json +1 -0
  2. package/.turbo/cache/53e233a916ffe7d2.tar.zst +0 -0
  3. package/.turbo/turbo-build.log +44 -0
  4. package/__mocks__/bills.mock.ts +6 -5
  5. package/dist/1119.js +1 -1
  6. package/dist/1197.js +1 -1
  7. package/dist/1435.js +1 -0
  8. package/dist/1435.js.map +1 -0
  9. package/dist/1807.js +1 -0
  10. package/dist/1807.js.map +1 -0
  11. package/dist/2146.js +1 -1
  12. package/dist/2177.js +1 -1
  13. package/dist/2177.js.map +1 -1
  14. package/dist/2690.js +1 -1
  15. package/dist/2704.js +1 -0
  16. package/dist/2704.js.map +1 -0
  17. package/dist/3002.js +1 -0
  18. package/dist/3002.js.map +1 -0
  19. package/dist/3041.js +1 -1
  20. package/dist/3041.js.map +1 -1
  21. package/dist/3099.js +1 -1
  22. package/dist/3184.js +1 -1
  23. package/dist/3184.js.map +1 -1
  24. package/dist/3584.js +1 -1
  25. package/dist/4055.js +1 -1
  26. package/dist/4132.js +1 -1
  27. package/dist/4225.js +1 -1
  28. package/dist/4225.js.map +1 -1
  29. package/dist/4300.js +1 -1
  30. package/dist/4335.js +1 -1
  31. package/dist/439.js +1 -1
  32. package/dist/4618.js +1 -1
  33. package/dist/4652.js +1 -1
  34. package/dist/4944.js +1 -1
  35. package/dist/5173.js +1 -1
  36. package/dist/5241.js +1 -1
  37. package/dist/5422.js +1 -1
  38. package/dist/5422.js.map +1 -1
  39. package/dist/5442.js +1 -1
  40. package/dist/5661.js +1 -1
  41. package/dist/6022.js +1 -1
  42. package/dist/6404.js +1 -0
  43. package/dist/6404.js.map +1 -0
  44. package/dist/6468.js +1 -1
  45. package/dist/6540.js +1 -1
  46. package/dist/6540.js.map +1 -1
  47. package/dist/6589.js +1 -1
  48. package/dist/6606.js +1 -1
  49. package/dist/6606.js.map +1 -1
  50. package/dist/6679.js +1 -1
  51. package/dist/6792.js +1 -0
  52. package/dist/6792.js.map +1 -0
  53. package/dist/6840.js +1 -1
  54. package/dist/6859.js +1 -1
  55. package/dist/7097.js +1 -1
  56. package/dist/7159.js +1 -1
  57. package/dist/723.js +1 -1
  58. package/dist/7255.js +1 -1
  59. package/dist/7255.js.map +1 -1
  60. package/dist/7617.js +1 -1
  61. package/dist/795.js +1 -1
  62. package/dist/8163.js +1 -1
  63. package/dist/8341.js +2 -0
  64. package/dist/{1907.js.LICENSE.txt → 8341.js.LICENSE.txt} +0 -15
  65. package/dist/8341.js.map +1 -0
  66. package/dist/8349.js +1 -1
  67. package/dist/8371.js +1 -1
  68. package/dist/8421.js +1 -0
  69. package/dist/8421.js.map +1 -0
  70. package/dist/8618.js +1 -1
  71. package/dist/890.js +1 -1
  72. package/dist/9214.js +1 -1
  73. package/dist/9538.js +1 -1
  74. package/dist/9569.js +1 -1
  75. package/dist/961.js +1 -1
  76. package/dist/961.js.map +1 -1
  77. package/dist/986.js +1 -1
  78. package/dist/9879.js +1 -1
  79. package/dist/9895.js +1 -1
  80. package/dist/9900.js +1 -1
  81. package/dist/9913.js +1 -1
  82. package/dist/main.js +1 -1
  83. package/dist/main.js.LICENSE.txt +0 -15
  84. package/dist/main.js.map +1 -1
  85. package/dist/openmrs-esm-billing-app.js +1 -1
  86. package/dist/openmrs-esm-billing-app.js.buildmanifest.json +284 -259
  87. package/dist/openmrs-esm-billing-app.js.map +1 -1
  88. package/dist/routes.json +1 -1
  89. package/e2e/commands/patient-operations.ts +1 -1
  90. package/e2e/pages/billing-dashboard-page.ts +3 -1
  91. package/e2e/pages/billing-form-page.ts +5 -0
  92. package/e2e/pages/invoice-page.ts +10 -0
  93. package/e2e/specs/billing-dashboard.spec.ts +126 -3
  94. package/e2e/specs/billing-patient-chart.spec.ts +95 -9
  95. package/package.json +3 -6
  96. package/src/bill-history/bill-action-menu.component.tsx +41 -0
  97. package/src/bill-history/bill-action-menu.scss +3 -0
  98. package/src/bill-history/bill-history.component.tsx +15 -5
  99. package/src/bill-history/bill-history.scss +0 -1
  100. package/src/bill-history/bill-history.test.tsx +78 -1
  101. package/src/bill-item-actions/edit-bill-item.modal.tsx +1 -1
  102. package/src/bill-item-actions/edit-bill-item.test.tsx +40 -0
  103. package/src/billable-services/bill-waiver/bill-waiver.component.tsx +3 -1
  104. package/src/billing-dashboard/billing-dashboard.component.tsx +3 -16
  105. package/src/billing-form/billing-checkin-form.component.tsx +116 -57
  106. package/src/billing-form/billing-checkin-form.scss +26 -2
  107. package/src/billing-form/billing-checkin-form.test.tsx +51 -1
  108. package/src/billing-form/billing-form.resource.test.ts +87 -0
  109. package/src/billing-form/billing-form.resource.ts +33 -0
  110. package/src/billing-form/billing-form.scss +54 -7
  111. package/src/billing-form/billing-form.test.tsx +547 -0
  112. package/src/billing-form/billing-form.workspace.tsx +150 -45
  113. package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +25 -2
  114. package/src/billing-form/visit-attributes/visit-attributes-form.scss +29 -0
  115. package/src/billing-header/billing-header.component.tsx +1 -34
  116. package/src/billing-header/billing-header.scss +0 -50
  117. package/src/billing.resource.test.ts +11 -11
  118. package/src/billing.resource.ts +42 -12
  119. package/src/bills-table/bills-table.component.tsx +16 -12
  120. package/src/bills-table/bills-table.test.tsx +84 -7
  121. package/src/index.ts +5 -0
  122. package/src/invoice/invoice.component.tsx +46 -16
  123. package/src/invoice/invoice.scss +9 -8
  124. package/src/invoice/invoice.test.tsx +128 -7
  125. package/src/invoice/line-item-action-menu.component.tsx +2 -2
  126. package/src/invoice/payments/payments.component.tsx +2 -2
  127. package/src/invoice/payments/payments.test.tsx +31 -2
  128. package/src/metrics-cards/metrics.resource.ts +3 -4
  129. package/src/modal/finalize-bill-confirmation.modal.test.tsx +209 -0
  130. package/src/modal/finalize-bill-confirmation.modal.tsx +86 -0
  131. package/src/modal/require-payment.modal.tsx +2 -1
  132. package/src/routes.json +4 -0
  133. package/src/types/index.ts +10 -1
  134. package/tools/setup-tests.ts +7 -6
  135. package/translations/am.json +28 -0
  136. package/translations/ar.json +28 -0
  137. package/translations/ar_SY.json +28 -0
  138. package/translations/bn.json +28 -0
  139. package/translations/cs.json +28 -0
  140. package/translations/de.json +266 -238
  141. package/translations/en.json +29 -0
  142. package/translations/en_US.json +28 -0
  143. package/translations/es.json +28 -0
  144. package/translations/es_MX.json +28 -0
  145. package/translations/fr.json +28 -0
  146. package/translations/he.json +28 -0
  147. package/translations/hi.json +28 -0
  148. package/translations/hi_IN.json +28 -0
  149. package/translations/id.json +28 -0
  150. package/translations/it.json +28 -0
  151. package/translations/ka.json +28 -0
  152. package/translations/km.json +28 -0
  153. package/translations/ku.json +28 -0
  154. package/translations/ky.json +28 -0
  155. package/translations/lg.json +28 -0
  156. package/translations/ne.json +28 -0
  157. package/translations/pl.json +28 -0
  158. package/translations/pt.json +28 -0
  159. package/translations/pt_BR.json +28 -0
  160. package/translations/qu.json +28 -0
  161. package/translations/ro_RO.json +28 -0
  162. package/translations/ru_RU.json +28 -0
  163. package/translations/si.json +28 -0
  164. package/translations/sq.json +28 -0
  165. package/translations/sw.json +28 -0
  166. package/translations/sw_KE.json +28 -0
  167. package/translations/tr.json +28 -0
  168. package/translations/tr_TR.json +28 -0
  169. package/translations/uk.json +28 -0
  170. package/translations/uz.json +28 -0
  171. package/translations/uz@Latn.json +28 -0
  172. package/translations/uz_UZ.json +28 -0
  173. package/translations/vi.json +28 -0
  174. package/translations/zh.json +268 -240
  175. package/translations/zh_CN.json +30 -2
  176. package/translations/zh_TW.json +28 -0
  177. package/turbo.json +29 -0
  178. package/dist/1537.js +0 -1
  179. package/dist/1537.js.map +0 -1
  180. package/dist/1907.js +0 -2
  181. package/dist/1907.js.map +0 -1
  182. package/dist/1981.js +0 -1
  183. package/dist/1981.js.map +0 -1
  184. package/dist/2820.js +0 -1
  185. package/dist/2820.js.map +0 -1
  186. package/dist/8025.js +0 -1
  187. package/dist/8025.js.map +0 -1
  188. package/dist/9727.js +0 -2
  189. package/dist/9727.js.LICENSE.txt +0 -14
  190. package/dist/9727.js.map +0 -1
  191. package/dist/9756.js +0 -1
  192. package/dist/9756.js.map +0 -1
  193. package/src/hooks/selectedDateContext.ts +0 -10
@@ -3,6 +3,7 @@
3
3
  "addBillableService": "Add billable service",
4
4
  "addBillItems": "Add bill items",
5
5
  "addCashPoint": "Add cash point",
6
+ "addItemsToBill": "Add items to bill",
6
7
  "addNewBillableService": "Add new billable service",
7
8
  "addNewCashPoint": "Add new cash point",
8
9
  "addNewPaymentMode": "Add new payment mode",
@@ -38,6 +39,9 @@
38
39
  "billDate": "Bill date",
39
40
  "billedItems": "Billed items",
40
41
  "billErrorService": "Billing service error",
42
+ "billFinalized": "Bill finalized",
43
+ "billFinalizedSuccess": "Bill has been finalized successfully",
44
+ "billFinalizeFailed": "Failed to finalize bill",
41
45
  "billing": "ბილინგი",
42
46
  "billingHistory": "Billing history",
43
47
  "billingSettings": "Billing settings",
@@ -72,6 +76,7 @@
72
76
  "childUnder5": "Child under 5",
73
77
  "clearSearch": "Clear",
74
78
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
79
+ "createBill": "Create bill",
75
80
  "cumulativeBills": "Cumulative bills",
76
81
  "currentPrice": "მიმდინარე ფასი",
77
82
  "date": "Date",
@@ -100,16 +105,24 @@
100
105
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
101
106
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
102
107
  "errorFetchingLocations": "An error occurred while fetching locations.",
108
+ "errorLoadingBill": "Error loading bill",
103
109
  "errorLoadingBillableServices": "Error loading billable services",
104
110
  "errorLoadingBillServices": "Error loading bill services",
111
+ "errorLoadingLastVisit": "An error occurred while loading the last visit",
105
112
  "errorLoadingPaymentModes": "Error loading payment modes",
106
113
  "errorPrintingInvoice": "Error printing invoice",
107
114
  "errorProcessingPayment": "Error processing payment",
108
115
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
109
116
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
117
+ "existingItems": "Existing items",
110
118
  "filterBillsByPatient": "Filter bills by patient name or identifier",
111
119
  "filterBy": "Filter by:",
112
120
  "filterTable": "ცხრილის გაფილტვრა",
121
+ "finalize": "Finalize",
122
+ "finalizeBill": "Finalize bill",
123
+ "finalizeBillConfirmation": "Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.",
124
+ "finalizeFailedTryAgain": "Unable to finalize bill. Please try again.",
125
+ "finalizing": "Finalizing",
113
126
  "gender": "Gender",
114
127
  "grandTotal": "მთლიანი ჯამი",
115
128
  "home": "საწყისი",
@@ -125,7 +138,13 @@
125
138
  "invoiceStatus": "Invoice status",
126
139
  "invoiceSummary": "Invoice summary",
127
140
  "item": "ელემენტი",
141
+ "itemsAddedToBill": "Items added to bill",
142
+ "itemsAddedToBillSuccessfully": "Items have been added to the bill successfully",
128
143
  "itemsToBeBilled": "Items to be billed",
144
+ "lastVisitError": "Last visit error",
145
+ "lastVisitInfo": "Last Visit Information",
146
+ "lastVisitMsg_one": "The last visit was a {{type}} {{count}} day ago at {{location}}",
147
+ "lastVisitMsg_other": "The last visit was a {{type}} {{count}} days ago at {{location}}",
129
148
  "lineItemDeleted": "Line item deleted",
130
149
  "lineItemDeleteFailed": "Failed to delete line item",
131
150
  "lineItemDeleteSuccess": "Bill line item deleted successfully",
@@ -144,6 +163,7 @@
144
163
  "locationRequired": "Location is required",
145
164
  "manageBillableServices": "Manage billable services",
146
165
  "name": "სახელი",
166
+ "newItems": "New items",
147
167
  "nextPage": "შემდეგი გვერდი",
148
168
  "no": "No",
149
169
  "noBillsToDisplay": "There are no bills to display.",
@@ -152,6 +172,7 @@
152
172
  "noMatchingItemsToDisplay": "No matching items to display",
153
173
  "noMatchingServicesToDisplay": "No matching services to display",
154
174
  "nonPaying": "Non paying",
175
+ "nonPayingInfo": "Any services rendered to non-paying patients will not be billed",
155
176
  "noResultsFor": "No results for {{searchTerm}}",
156
177
  "number": "Number",
157
178
  "ok": "დიახ",
@@ -184,11 +205,14 @@
184
205
  "paymentProcessedSuccessfully": "Payment processed successfully",
185
206
  "payments": "გადახდები",
186
207
  "pendingBills": "Pending bills",
208
+ "pendingConfirmationBills": "Pending confirmation",
209
+ "pendingPaymentBills": "Pending payment",
187
210
  "policyNumber": "პოლიტიკის ნომერი",
188
211
  "postWaiver": "უარყოფის შემდეგ",
189
212
  "previousPage": "წინა გვერდი",
190
213
  "price": "Price",
191
214
  "priceIsRequired": "ფასი აუცილებელია",
215
+ "priceMustBeNonNegative": "Price must be 0 or greater",
192
216
  "priceMustBeNumber": "Price must be a valid number",
193
217
  "priceMustBePositive": "Price must be greater than 0",
194
218
  "prices": "ფასები",
@@ -222,15 +246,18 @@
222
246
  "serviceName": "Service name",
223
247
  "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
224
248
  "serviceNameRequired": "Service name is required",
249
+ "serviceResolutionError": "Could not resolve service \"{{service}}\"",
225
250
  "servicesList": "სერვისების სია",
226
251
  "serviceStatus": "Service status",
227
252
  "serviceType": "Service type",
228
253
  "serviceTypeRequired": "Service type is required",
229
254
  "shortName": "Short name",
230
255
  "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
256
+ "showInformation": "Show information",
231
257
  "status": "Service status",
232
258
  "student": "Student",
233
259
  "submitting": "Submitting",
260
+ "subtotal": "Subtotal",
234
261
  "success": "წარმატებულია",
235
262
  "total": "ჯამში",
236
263
  "totalAmount": "Total amount",
@@ -238,6 +265,7 @@
238
265
  "totalTendered": "Total tendered",
239
266
  "unitPrice": "ერთეულის ფასი",
240
267
  "unitPriceHelperText": "This is the unit price for this item",
268
+ "unknownBillError": "An unexpected error occurred",
241
269
  "uuid": "UUID",
242
270
  "uuidRequired": "UUID is required",
243
271
  "validationError": "Validation error",
@@ -3,6 +3,7 @@
3
3
  "addBillableService": "Add billable service",
4
4
  "addBillItems": "Add bill items",
5
5
  "addCashPoint": "Add cash point",
6
+ "addItemsToBill": "Add items to bill",
6
7
  "addNewBillableService": "Add new billable service",
7
8
  "addNewCashPoint": "Add new cash point",
8
9
  "addNewPaymentMode": "Add new payment mode",
@@ -38,6 +39,9 @@
38
39
  "billDate": "Bill date",
39
40
  "billedItems": "Billed items",
40
41
  "billErrorService": "Billing service error",
42
+ "billFinalized": "Bill finalized",
43
+ "billFinalizedSuccess": "Bill has been finalized successfully",
44
+ "billFinalizeFailed": "Failed to finalize bill",
41
45
  "billing": "Billing",
42
46
  "billingHistory": "Billing history",
43
47
  "billingSettings": "Billing settings",
@@ -72,6 +76,7 @@
72
76
  "childUnder5": "Child under 5",
73
77
  "clearSearch": "Clear",
74
78
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
79
+ "createBill": "Create bill",
75
80
  "cumulativeBills": "Cumulative bills",
76
81
  "currentPrice": "Current price",
77
82
  "date": "Date",
@@ -100,16 +105,24 @@
100
105
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
101
106
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
102
107
  "errorFetchingLocations": "An error occurred while fetching locations.",
108
+ "errorLoadingBill": "Error loading bill",
103
109
  "errorLoadingBillableServices": "Error loading billable services",
104
110
  "errorLoadingBillServices": "Error loading bill services",
111
+ "errorLoadingLastVisit": "An error occurred while loading the last visit",
105
112
  "errorLoadingPaymentModes": "Error loading payment modes",
106
113
  "errorPrintingInvoice": "Error printing invoice",
107
114
  "errorProcessingPayment": "Error processing payment",
108
115
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
109
116
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
117
+ "existingItems": "Existing items",
110
118
  "filterBillsByPatient": "Filter bills by patient name or identifier",
111
119
  "filterBy": "Filter by:",
112
120
  "filterTable": "Filter table",
121
+ "finalize": "Finalize",
122
+ "finalizeBill": "Finalize bill",
123
+ "finalizeBillConfirmation": "Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.",
124
+ "finalizeFailedTryAgain": "Unable to finalize bill. Please try again.",
125
+ "finalizing": "Finalizing",
113
126
  "gender": "Gender",
114
127
  "grandTotal": "Grand total",
115
128
  "home": "Home",
@@ -125,7 +138,13 @@
125
138
  "invoiceStatus": "Invoice status",
126
139
  "invoiceSummary": "Invoice summary",
127
140
  "item": "Item",
141
+ "itemsAddedToBill": "Items added to bill",
142
+ "itemsAddedToBillSuccessfully": "Items have been added to the bill successfully",
128
143
  "itemsToBeBilled": "Items to be billed",
144
+ "lastVisitError": "Last visit error",
145
+ "lastVisitInfo": "Last Visit Information",
146
+ "lastVisitMsg_one": "The last visit was a {{type}} {{count}} day ago at {{location}}",
147
+ "lastVisitMsg_other": "The last visit was a {{type}} {{count}} days ago at {{location}}",
129
148
  "lineItemDeleted": "Line item deleted",
130
149
  "lineItemDeleteFailed": "Failed to delete line item",
131
150
  "lineItemDeleteSuccess": "Bill line item deleted successfully",
@@ -144,6 +163,7 @@
144
163
  "locationRequired": "Location is required",
145
164
  "manageBillableServices": "Manage billable services",
146
165
  "name": "Name",
166
+ "newItems": "New items",
147
167
  "nextPage": "Next page",
148
168
  "no": "No",
149
169
  "noBillsToDisplay": "There are no bills to display.",
@@ -152,6 +172,7 @@
152
172
  "noMatchingItemsToDisplay": "No matching items to display",
153
173
  "noMatchingServicesToDisplay": "No matching services to display",
154
174
  "nonPaying": "Non paying",
175
+ "nonPayingInfo": "Any services rendered to non-paying patients will not be billed",
155
176
  "noResultsFor": "No results for {{searchTerm}}",
156
177
  "number": "Number",
157
178
  "ok": "OK",
@@ -184,11 +205,14 @@
184
205
  "paymentProcessedSuccessfully": "Payment processed successfully",
185
206
  "payments": "Payments",
186
207
  "pendingBills": "Pending bills",
208
+ "pendingConfirmationBills": "Pending confirmation",
209
+ "pendingPaymentBills": "Pending payment",
187
210
  "policyNumber": "Policy number",
188
211
  "postWaiver": "Post waiver",
189
212
  "previousPage": "Previous page",
190
213
  "price": "Price",
191
214
  "priceIsRequired": "Price is required",
215
+ "priceMustBeNonNegative": "Price must be 0 or greater",
192
216
  "priceMustBeNumber": "Price must be a valid number",
193
217
  "priceMustBePositive": "Price must be greater than 0",
194
218
  "prices": "Prices",
@@ -222,15 +246,18 @@
222
246
  "serviceName": "Service name",
223
247
  "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
224
248
  "serviceNameRequired": "Service name is required",
249
+ "serviceResolutionError": "Could not resolve service \"{{service}}\"",
225
250
  "servicesList": "Services list",
226
251
  "serviceStatus": "Service status",
227
252
  "serviceType": "Service type",
228
253
  "serviceTypeRequired": "Service type is required",
229
254
  "shortName": "Short name",
230
255
  "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
256
+ "showInformation": "Show information",
231
257
  "status": "Service status",
232
258
  "student": "Student",
233
259
  "submitting": "Submitting",
260
+ "subtotal": "Subtotal",
234
261
  "success": "Success",
235
262
  "total": "Total",
236
263
  "totalAmount": "Total amount",
@@ -238,6 +265,7 @@
238
265
  "totalTendered": "Total tendered",
239
266
  "unitPrice": "Unit price",
240
267
  "unitPriceHelperText": "This is the unit price for this item",
268
+ "unknownBillError": "An unexpected error occurred",
241
269
  "uuid": "UUID",
242
270
  "uuidRequired": "UUID is required",
243
271
  "validationError": "Validation error",
@@ -3,6 +3,7 @@
3
3
  "addBillableService": "Add billable service",
4
4
  "addBillItems": "Add bill items",
5
5
  "addCashPoint": "Add cash point",
6
+ "addItemsToBill": "Add items to bill",
6
7
  "addNewBillableService": "Add new billable service",
7
8
  "addNewCashPoint": "Add new cash point",
8
9
  "addNewPaymentMode": "Add new payment mode",
@@ -38,6 +39,9 @@
38
39
  "billDate": "Bill date",
39
40
  "billedItems": "Billed items",
40
41
  "billErrorService": "Billing service error",
42
+ "billFinalized": "Bill finalized",
43
+ "billFinalizedSuccess": "Bill has been finalized successfully",
44
+ "billFinalizeFailed": "Failed to finalize bill",
41
45
  "billing": "Billing",
42
46
  "billingHistory": "Billing history",
43
47
  "billingSettings": "Billing settings",
@@ -72,6 +76,7 @@
72
76
  "childUnder5": "Child under 5",
73
77
  "clearSearch": "Clear",
74
78
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
79
+ "createBill": "Create bill",
75
80
  "cumulativeBills": "Cumulative bills",
76
81
  "currentPrice": "Current price",
77
82
  "date": "Date",
@@ -100,16 +105,24 @@
100
105
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
101
106
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
102
107
  "errorFetchingLocations": "An error occurred while fetching locations.",
108
+ "errorLoadingBill": "Error loading bill",
103
109
  "errorLoadingBillableServices": "Error loading billable services",
104
110
  "errorLoadingBillServices": "Error loading bill services",
111
+ "errorLoadingLastVisit": "An error occurred while loading the last visit",
105
112
  "errorLoadingPaymentModes": "Error loading payment modes",
106
113
  "errorPrintingInvoice": "Error printing invoice",
107
114
  "errorProcessingPayment": "Error processing payment",
108
115
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
109
116
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
117
+ "existingItems": "Existing items",
110
118
  "filterBillsByPatient": "Filter bills by patient name or identifier",
111
119
  "filterBy": "Filter by:",
112
120
  "filterTable": "Filter table",
121
+ "finalize": "Finalize",
122
+ "finalizeBill": "Finalize bill",
123
+ "finalizeBillConfirmation": "Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.",
124
+ "finalizeFailedTryAgain": "Unable to finalize bill. Please try again.",
125
+ "finalizing": "Finalizing",
113
126
  "gender": "Gender",
114
127
  "grandTotal": "Grand total",
115
128
  "home": "Home",
@@ -125,7 +138,13 @@
125
138
  "invoiceStatus": "Invoice status",
126
139
  "invoiceSummary": "Invoice summary",
127
140
  "item": "Item",
141
+ "itemsAddedToBill": "Items added to bill",
142
+ "itemsAddedToBillSuccessfully": "Items have been added to the bill successfully",
128
143
  "itemsToBeBilled": "Items to be billed",
144
+ "lastVisitError": "Last visit error",
145
+ "lastVisitInfo": "Last Visit Information",
146
+ "lastVisitMsg_one": "The last visit was a {{type}} {{count}} day ago at {{location}}",
147
+ "lastVisitMsg_other": "The last visit was a {{type}} {{count}} days ago at {{location}}",
129
148
  "lineItemDeleted": "Line item deleted",
130
149
  "lineItemDeleteFailed": "Failed to delete line item",
131
150
  "lineItemDeleteSuccess": "Bill line item deleted successfully",
@@ -144,6 +163,7 @@
144
163
  "locationRequired": "Location is required",
145
164
  "manageBillableServices": "Manage billable services",
146
165
  "name": "Name",
166
+ "newItems": "New items",
147
167
  "nextPage": "Next page",
148
168
  "no": "No",
149
169
  "noBillsToDisplay": "There are no bills to display.",
@@ -152,6 +172,7 @@
152
172
  "noMatchingItemsToDisplay": "No matching items to display",
153
173
  "noMatchingServicesToDisplay": "No matching services to display",
154
174
  "nonPaying": "Non paying",
175
+ "nonPayingInfo": "Any services rendered to non-paying patients will not be billed",
155
176
  "noResultsFor": "No results for {{searchTerm}}",
156
177
  "number": "Number",
157
178
  "ok": "OK",
@@ -184,11 +205,14 @@
184
205
  "paymentProcessedSuccessfully": "Payment processed successfully",
185
206
  "payments": "Payments",
186
207
  "pendingBills": "Pending bills",
208
+ "pendingConfirmationBills": "Pending confirmation",
209
+ "pendingPaymentBills": "Pending payment",
187
210
  "policyNumber": "Policy number",
188
211
  "postWaiver": "Post waiver",
189
212
  "previousPage": "Previous page",
190
213
  "price": "Price",
191
214
  "priceIsRequired": "Price is required",
215
+ "priceMustBeNonNegative": "Price must be 0 or greater",
192
216
  "priceMustBeNumber": "Price must be a valid number",
193
217
  "priceMustBePositive": "Price must be greater than 0",
194
218
  "prices": "Prices",
@@ -222,15 +246,18 @@
222
246
  "serviceName": "Service name",
223
247
  "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
224
248
  "serviceNameRequired": "Service name is required",
249
+ "serviceResolutionError": "Could not resolve service \"{{service}}\"",
225
250
  "servicesList": "Services list",
226
251
  "serviceStatus": "Service status",
227
252
  "serviceType": "Service type",
228
253
  "serviceTypeRequired": "Service type is required",
229
254
  "shortName": "Short name",
230
255
  "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
256
+ "showInformation": "Show information",
231
257
  "status": "Service status",
232
258
  "student": "Student",
233
259
  "submitting": "Submitting",
260
+ "subtotal": "Subtotal",
234
261
  "success": "Success",
235
262
  "total": "Total",
236
263
  "totalAmount": "Total amount",
@@ -238,6 +265,7 @@
238
265
  "totalTendered": "Total tendered",
239
266
  "unitPrice": "Unit price",
240
267
  "unitPriceHelperText": "This is the unit price for this item",
268
+ "unknownBillError": "An unexpected error occurred",
241
269
  "uuid": "UUID",
242
270
  "uuidRequired": "UUID is required",
243
271
  "validationError": "Validation error",
@@ -3,6 +3,7 @@
3
3
  "addBillableService": "Add billable service",
4
4
  "addBillItems": "Add bill items",
5
5
  "addCashPoint": "Add cash point",
6
+ "addItemsToBill": "Add items to bill",
6
7
  "addNewBillableService": "Add new billable service",
7
8
  "addNewCashPoint": "Add new cash point",
8
9
  "addNewPaymentMode": "Add new payment mode",
@@ -38,6 +39,9 @@
38
39
  "billDate": "Bill date",
39
40
  "billedItems": "Billed items",
40
41
  "billErrorService": "Billing service error",
42
+ "billFinalized": "Bill finalized",
43
+ "billFinalizedSuccess": "Bill has been finalized successfully",
44
+ "billFinalizeFailed": "Failed to finalize bill",
41
45
  "billing": "Billing",
42
46
  "billingHistory": "Billing history",
43
47
  "billingSettings": "Billing settings",
@@ -72,6 +76,7 @@
72
76
  "childUnder5": "Child under 5",
73
77
  "clearSearch": "Clear",
74
78
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
79
+ "createBill": "Create bill",
75
80
  "cumulativeBills": "Cumulative bills",
76
81
  "currentPrice": "Current price",
77
82
  "date": "Date",
@@ -100,16 +105,24 @@
100
105
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
101
106
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
102
107
  "errorFetchingLocations": "An error occurred while fetching locations.",
108
+ "errorLoadingBill": "Error loading bill",
103
109
  "errorLoadingBillableServices": "Error loading billable services",
104
110
  "errorLoadingBillServices": "Error loading bill services",
111
+ "errorLoadingLastVisit": "An error occurred while loading the last visit",
105
112
  "errorLoadingPaymentModes": "Error loading payment modes",
106
113
  "errorPrintingInvoice": "Error printing invoice",
107
114
  "errorProcessingPayment": "Error processing payment",
108
115
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
109
116
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
117
+ "existingItems": "Existing items",
110
118
  "filterBillsByPatient": "Filter bills by patient name or identifier",
111
119
  "filterBy": "Filter by:",
112
120
  "filterTable": "Filter table",
121
+ "finalize": "Finalize",
122
+ "finalizeBill": "Finalize bill",
123
+ "finalizeBillConfirmation": "Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.",
124
+ "finalizeFailedTryAgain": "Unable to finalize bill. Please try again.",
125
+ "finalizing": "Finalizing",
113
126
  "gender": "Gender",
114
127
  "grandTotal": "Grand total",
115
128
  "home": "Home",
@@ -125,7 +138,13 @@
125
138
  "invoiceStatus": "Invoice status",
126
139
  "invoiceSummary": "Invoice summary",
127
140
  "item": "Item",
141
+ "itemsAddedToBill": "Items added to bill",
142
+ "itemsAddedToBillSuccessfully": "Items have been added to the bill successfully",
128
143
  "itemsToBeBilled": "Items to be billed",
144
+ "lastVisitError": "Last visit error",
145
+ "lastVisitInfo": "Last Visit Information",
146
+ "lastVisitMsg_one": "The last visit was a {{type}} {{count}} day ago at {{location}}",
147
+ "lastVisitMsg_other": "The last visit was a {{type}} {{count}} days ago at {{location}}",
129
148
  "lineItemDeleted": "Line item deleted",
130
149
  "lineItemDeleteFailed": "Failed to delete line item",
131
150
  "lineItemDeleteSuccess": "Bill line item deleted successfully",
@@ -144,6 +163,7 @@
144
163
  "locationRequired": "Location is required",
145
164
  "manageBillableServices": "Manage billable services",
146
165
  "name": "Name",
166
+ "newItems": "New items",
147
167
  "nextPage": "Next page",
148
168
  "no": "No",
149
169
  "noBillsToDisplay": "There are no bills to display.",
@@ -152,6 +172,7 @@
152
172
  "noMatchingItemsToDisplay": "No matching items to display",
153
173
  "noMatchingServicesToDisplay": "No matching services to display",
154
174
  "nonPaying": "Non paying",
175
+ "nonPayingInfo": "Any services rendered to non-paying patients will not be billed",
155
176
  "noResultsFor": "No results for {{searchTerm}}",
156
177
  "number": "Number",
157
178
  "ok": "OK",
@@ -184,11 +205,14 @@
184
205
  "paymentProcessedSuccessfully": "Payment processed successfully",
185
206
  "payments": "Payments",
186
207
  "pendingBills": "Pending bills",
208
+ "pendingConfirmationBills": "Pending confirmation",
209
+ "pendingPaymentBills": "Pending payment",
187
210
  "policyNumber": "Policy number",
188
211
  "postWaiver": "Post waiver",
189
212
  "previousPage": "Previous page",
190
213
  "price": "Price",
191
214
  "priceIsRequired": "Price is required",
215
+ "priceMustBeNonNegative": "Price must be 0 or greater",
192
216
  "priceMustBeNumber": "Price must be a valid number",
193
217
  "priceMustBePositive": "Price must be greater than 0",
194
218
  "prices": "Prices",
@@ -222,15 +246,18 @@
222
246
  "serviceName": "Service name",
223
247
  "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
224
248
  "serviceNameRequired": "Service name is required",
249
+ "serviceResolutionError": "Could not resolve service \"{{service}}\"",
225
250
  "servicesList": "Services list",
226
251
  "serviceStatus": "Service status",
227
252
  "serviceType": "Service type",
228
253
  "serviceTypeRequired": "Service type is required",
229
254
  "shortName": "Short name",
230
255
  "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
256
+ "showInformation": "Show information",
231
257
  "status": "Service status",
232
258
  "student": "Student",
233
259
  "submitting": "Submitting",
260
+ "subtotal": "Subtotal",
234
261
  "success": "Success",
235
262
  "total": "Total",
236
263
  "totalAmount": "Total amount",
@@ -238,6 +265,7 @@
238
265
  "totalTendered": "Total tendered",
239
266
  "unitPrice": "Unit price",
240
267
  "unitPriceHelperText": "This is the unit price for this item",
268
+ "unknownBillError": "An unexpected error occurred",
241
269
  "uuid": "UUID",
242
270
  "uuidRequired": "UUID is required",
243
271
  "validationError": "Validation error",
@@ -3,6 +3,7 @@
3
3
  "addBillableService": "Add billable service",
4
4
  "addBillItems": "Add bill items",
5
5
  "addCashPoint": "Add cash point",
6
+ "addItemsToBill": "Add items to bill",
6
7
  "addNewBillableService": "Add new billable service",
7
8
  "addNewCashPoint": "Add new cash point",
8
9
  "addNewPaymentMode": "Add new payment mode",
@@ -38,6 +39,9 @@
38
39
  "billDate": "Bill date",
39
40
  "billedItems": "Billed items",
40
41
  "billErrorService": "Billing service error",
42
+ "billFinalized": "Bill finalized",
43
+ "billFinalizedSuccess": "Bill has been finalized successfully",
44
+ "billFinalizeFailed": "Failed to finalize bill",
41
45
  "billing": "Billing",
42
46
  "billingHistory": "Billing history",
43
47
  "billingSettings": "Billing settings",
@@ -72,6 +76,7 @@
72
76
  "childUnder5": "Child under 5",
73
77
  "clearSearch": "Clear",
74
78
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
79
+ "createBill": "Create bill",
75
80
  "cumulativeBills": "Cumulative bills",
76
81
  "currentPrice": "Current price",
77
82
  "date": "Date",
@@ -100,16 +105,24 @@
100
105
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
101
106
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
102
107
  "errorFetchingLocations": "An error occurred while fetching locations.",
108
+ "errorLoadingBill": "Error loading bill",
103
109
  "errorLoadingBillableServices": "Error loading billable services",
104
110
  "errorLoadingBillServices": "Error loading bill services",
111
+ "errorLoadingLastVisit": "An error occurred while loading the last visit",
105
112
  "errorLoadingPaymentModes": "Error loading payment modes",
106
113
  "errorPrintingInvoice": "Error printing invoice",
107
114
  "errorProcessingPayment": "Error processing payment",
108
115
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
109
116
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
117
+ "existingItems": "Existing items",
110
118
  "filterBillsByPatient": "Filter bills by patient name or identifier",
111
119
  "filterBy": "Filter by:",
112
120
  "filterTable": "Filter table",
121
+ "finalize": "Finalize",
122
+ "finalizeBill": "Finalize bill",
123
+ "finalizeBillConfirmation": "Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.",
124
+ "finalizeFailedTryAgain": "Unable to finalize bill. Please try again.",
125
+ "finalizing": "Finalizing",
113
126
  "gender": "Gender",
114
127
  "grandTotal": "Grand total",
115
128
  "home": "Home",
@@ -125,7 +138,13 @@
125
138
  "invoiceStatus": "Invoice status",
126
139
  "invoiceSummary": "Invoice summary",
127
140
  "item": "Item",
141
+ "itemsAddedToBill": "Items added to bill",
142
+ "itemsAddedToBillSuccessfully": "Items have been added to the bill successfully",
128
143
  "itemsToBeBilled": "Items to be billed",
144
+ "lastVisitError": "Last visit error",
145
+ "lastVisitInfo": "Last Visit Information",
146
+ "lastVisitMsg_one": "The last visit was a {{type}} {{count}} day ago at {{location}}",
147
+ "lastVisitMsg_other": "The last visit was a {{type}} {{count}} days ago at {{location}}",
129
148
  "lineItemDeleted": "Line item deleted",
130
149
  "lineItemDeleteFailed": "Failed to delete line item",
131
150
  "lineItemDeleteSuccess": "Bill line item deleted successfully",
@@ -144,6 +163,7 @@
144
163
  "locationRequired": "Location is required",
145
164
  "manageBillableServices": "Manage billable services",
146
165
  "name": "Name",
166
+ "newItems": "New items",
147
167
  "nextPage": "Next page",
148
168
  "no": "No",
149
169
  "noBillsToDisplay": "There are no bills to display.",
@@ -152,6 +172,7 @@
152
172
  "noMatchingItemsToDisplay": "No matching items to display",
153
173
  "noMatchingServicesToDisplay": "No matching services to display",
154
174
  "nonPaying": "Non paying",
175
+ "nonPayingInfo": "Any services rendered to non-paying patients will not be billed",
155
176
  "noResultsFor": "No results for {{searchTerm}}",
156
177
  "number": "Number",
157
178
  "ok": "OK",
@@ -184,11 +205,14 @@
184
205
  "paymentProcessedSuccessfully": "Payment processed successfully",
185
206
  "payments": "Payments",
186
207
  "pendingBills": "Pending bills",
208
+ "pendingConfirmationBills": "Pending confirmation",
209
+ "pendingPaymentBills": "Pending payment",
187
210
  "policyNumber": "Policy number",
188
211
  "postWaiver": "Post waiver",
189
212
  "previousPage": "Previous page",
190
213
  "price": "Price",
191
214
  "priceIsRequired": "Price is required",
215
+ "priceMustBeNonNegative": "Price must be 0 or greater",
192
216
  "priceMustBeNumber": "Price must be a valid number",
193
217
  "priceMustBePositive": "Price must be greater than 0",
194
218
  "prices": "Prices",
@@ -222,15 +246,18 @@
222
246
  "serviceName": "Service name",
223
247
  "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
224
248
  "serviceNameRequired": "Service name is required",
249
+ "serviceResolutionError": "Could not resolve service \"{{service}}\"",
225
250
  "servicesList": "Services list",
226
251
  "serviceStatus": "Service status",
227
252
  "serviceType": "Service type",
228
253
  "serviceTypeRequired": "Service type is required",
229
254
  "shortName": "Short name",
230
255
  "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
256
+ "showInformation": "Show information",
231
257
  "status": "Service status",
232
258
  "student": "Student",
233
259
  "submitting": "Submitting",
260
+ "subtotal": "Subtotal",
234
261
  "success": "Success",
235
262
  "total": "Total",
236
263
  "totalAmount": "Total amount",
@@ -238,6 +265,7 @@
238
265
  "totalTendered": "Total tendered",
239
266
  "unitPrice": "Unit price",
240
267
  "unitPriceHelperText": "This is the unit price for this item",
268
+ "unknownBillError": "An unexpected error occurred",
241
269
  "uuid": "UUID",
242
270
  "uuidRequired": "UUID is required",
243
271
  "validationError": "Validation error",