@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,7 +39,11 @@
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",
46
+ "billingDetails": "Billing details",
42
47
  "billingHistory": "Billing history",
43
48
  "billingSettings": "Billing settings",
44
49
  "billItem": "Bill item",
@@ -72,6 +77,7 @@
72
77
  "childUnder5": "Child under 5",
73
78
  "clearSearch": "Clear",
74
79
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
80
+ "createBill": "Create bill",
75
81
  "cumulativeBills": "Cumulative bills",
76
82
  "currentPrice": "Current price",
77
83
  "date": "Date",
@@ -100,16 +106,24 @@
100
106
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
101
107
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
102
108
  "errorFetchingLocations": "An error occurred while fetching locations.",
109
+ "errorLoadingBill": "Error loading bill",
103
110
  "errorLoadingBillableServices": "Error loading billable services",
104
111
  "errorLoadingBillServices": "Error loading bill services",
112
+ "errorLoadingLastVisit": "An error occurred while loading the last visit",
105
113
  "errorLoadingPaymentModes": "Error loading payment modes",
106
114
  "errorPrintingInvoice": "Error printing invoice",
107
115
  "errorProcessingPayment": "Error processing payment",
108
116
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
109
117
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
118
+ "existingItems": "Existing items",
110
119
  "filterBillsByPatient": "Filter bills by patient name or identifier",
111
120
  "filterBy": "Filter by:",
112
121
  "filterTable": "Filter table",
122
+ "finalize": "Finalize",
123
+ "finalizeBill": "Finalize bill",
124
+ "finalizeBillConfirmation": "Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.",
125
+ "finalizeFailedTryAgain": "Unable to finalize bill. Please try again.",
126
+ "finalizing": "Finalizing",
113
127
  "gender": "Gender",
114
128
  "grandTotal": "Grand total",
115
129
  "home": "Home",
@@ -125,7 +139,13 @@
125
139
  "invoiceStatus": "Invoice status",
126
140
  "invoiceSummary": "Invoice summary",
127
141
  "item": "Item",
142
+ "itemsAddedToBill": "Items added to bill",
143
+ "itemsAddedToBillSuccessfully": "Items have been added to the bill successfully",
128
144
  "itemsToBeBilled": "Items to be billed",
145
+ "lastVisitError": "Last visit error",
146
+ "lastVisitInfo": "Last Visit Information",
147
+ "lastVisitMsg_one": "The last visit was a {{type}} {{count}} day ago at {{location}}",
148
+ "lastVisitMsg_other": "The last visit was a {{type}} {{count}} days ago at {{location}}",
129
149
  "lineItemDeleted": "Line item deleted",
130
150
  "lineItemDeleteFailed": "Failed to delete line item",
131
151
  "lineItemDeleteSuccess": "Bill line item deleted successfully",
@@ -144,6 +164,7 @@
144
164
  "locationRequired": "Location is required",
145
165
  "manageBillableServices": "Manage billable services",
146
166
  "name": "Name",
167
+ "newItems": "New items",
147
168
  "nextPage": "Next page",
148
169
  "no": "No",
149
170
  "noBillsToDisplay": "There are no bills to display.",
@@ -152,6 +173,7 @@
152
173
  "noMatchingItemsToDisplay": "No matching items to display",
153
174
  "noMatchingServicesToDisplay": "No matching services to display",
154
175
  "nonPaying": "Non paying",
176
+ "nonPayingInfo": "Any services rendered to non-paying patients will not be billed",
155
177
  "noResultsFor": "No results for {{searchTerm}}",
156
178
  "number": "Number",
157
179
  "ok": "OK",
@@ -184,11 +206,14 @@
184
206
  "paymentProcessedSuccessfully": "Payment processed successfully",
185
207
  "payments": "Payments",
186
208
  "pendingBills": "Pending bills",
209
+ "pendingConfirmationBills": "Pending confirmation",
210
+ "pendingPaymentBills": "Pending payment",
187
211
  "policyNumber": "Policy number",
188
212
  "postWaiver": "Post waiver",
189
213
  "previousPage": "Previous page",
190
214
  "price": "Price",
191
215
  "priceIsRequired": "Price is required",
216
+ "priceMustBeNonNegative": "Price must be 0 or greater",
192
217
  "priceMustBeNumber": "Price must be a valid number",
193
218
  "priceMustBePositive": "Price must be greater than 0",
194
219
  "prices": "Prices",
@@ -222,15 +247,18 @@
222
247
  "serviceName": "Service name",
223
248
  "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
224
249
  "serviceNameRequired": "Service name is required",
250
+ "serviceResolutionError": "Could not resolve service \"{{service}}\"",
225
251
  "servicesList": "Services list",
226
252
  "serviceStatus": "Service status",
227
253
  "serviceType": "Service type",
228
254
  "serviceTypeRequired": "Service type is required",
229
255
  "shortName": "Short name",
230
256
  "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
257
+ "showInformation": "Show information",
231
258
  "status": "Service status",
232
259
  "student": "Student",
233
260
  "submitting": "Submitting",
261
+ "subtotal": "Subtotal",
234
262
  "success": "Success",
235
263
  "total": "Total",
236
264
  "totalAmount": "Total amount",
@@ -238,6 +266,7 @@
238
266
  "totalTendered": "Total tendered",
239
267
  "unitPrice": "Unit price",
240
268
  "unitPriceHelperText": "This is the unit price for this item",
269
+ "unknownBillError": "An unexpected error occurred",
241
270
  "uuid": "UUID",
242
271
  "uuidRequired": "UUID is required",
243
272
  "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": "Facturación",
42
46
  "billingHistory": "Billing history",
43
47
  "billingSettings": "Billing settings",
@@ -72,6 +76,7 @@
72
76
  "childUnder5": "Child under 5",
73
77
  "clearSearch": "Limpiar",
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": "Fecha",
@@ -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": "Nombre corto",
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": "Éxito",
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": "Ajouter un service facturable",
4
4
  "addBillItems": "Add bill items",
5
5
  "addCashPoint": "Ajouter un point de vente",
6
+ "addItemsToBill": "Add items to bill",
6
7
  "addNewBillableService": "Ajouter un nouveau service facturable",
7
8
  "addNewCashPoint": "Ajouter un nouveau point de vente",
8
9
  "addNewPaymentMode": "Ajouter un nouveau mode de paiement",
@@ -38,6 +39,9 @@
38
39
  "billDate": "Bill date",
39
40
  "billedItems": "Articles facturés",
40
41
  "billErrorService": "Erreur du service de facturation",
42
+ "billFinalized": "Bill finalized",
43
+ "billFinalizedSuccess": "Bill has been finalized successfully",
44
+ "billFinalizeFailed": "Failed to finalize bill",
41
45
  "billing": "En cours de facturation",
42
46
  "billingHistory": "Historique des facturations",
43
47
  "billingSettings": "Paramétrage des facturations",
@@ -72,6 +76,7 @@
72
76
  "childUnder5": "Enfant en dessous de 5 ans",
73
77
  "clearSearch": "Clear",
74
78
  "confirmDeleteMessage": "Êtes vous sûr de vouloir supprimer le mode de paiement ? Soyez Prudent",
79
+ "createBill": "Create bill",
75
80
  "cumulativeBills": "factures cumulatives",
76
81
  "currentPrice": "Prix Actuel",
77
82
  "date": "Date",
@@ -100,16 +105,24 @@
100
105
  "errorDeletingPaymentMode": "Une erreur lors de la suppression du mode de paiement",
101
106
  "errorFetchingCashPoints": "Une erreur s'est produite lors de la récupération des point de vente",
102
107
  "errorFetchingLocations": "Une erreur s'est produite lors de la récupération des localisations.",
108
+ "errorLoadingBill": "Error loading bill",
103
109
  "errorLoadingBillableServices": "Une erreur s'est produite lors du chargement des services facturables.",
104
110
  "errorLoadingBillServices": "Une erreur s'est produite lors du chargement des services facturés.",
111
+ "errorLoadingLastVisit": "An error occurred while loading the last visit",
105
112
  "errorLoadingPaymentModes": "Une erreur s'est produite lors du chargement des modes de paiement",
106
113
  "errorPrintingInvoice": "Erreur lors de l’impression de la facture",
107
114
  "errorProcessingPayment": "Erreur lors du traitement du paiement",
108
115
  "errorSavingCashPoint": "Une erreur s'est produite lors de l'enregistrement du point de vente",
109
116
  "errorSavingPaymentMode": "Une erreur s'est produite lors de l'enregistrement du mode de paiement",
117
+ "existingItems": "Existing items",
110
118
  "filterBillsByPatient": "Filter bills by patient name or identifier",
111
119
  "filterBy": "Trier par:",
112
120
  "filterTable": "Tableau de tri",
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": "Genre",
114
127
  "grandTotal": "Total",
115
128
  "home": "Accueil",
@@ -125,7 +138,13 @@
125
138
  "invoiceStatus": "État de la facture",
126
139
  "invoiceSummary": "Invoice summary",
127
140
  "item": "Article",
141
+ "itemsAddedToBill": "Items added to bill",
142
+ "itemsAddedToBillSuccessfully": "Items have been added to the bill successfully",
128
143
  "itemsToBeBilled": "Articles à facturer",
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": "L'emplacement est obligatoire",
145
164
  "manageBillableServices": "Gérer les services facturables",
146
165
  "name": "Nom",
166
+ "newItems": "New items",
147
167
  "nextPage": "Page suivante",
148
168
  "no": "No",
149
169
  "noBillsToDisplay": "There are no bills to display.",
@@ -152,6 +172,7 @@
152
172
  "noMatchingItemsToDisplay": "Aucun article correspondant à afficher",
153
173
  "noMatchingServicesToDisplay": "Aucun service correspondant à afficher",
154
174
  "nonPaying": "non-paiement",
175
+ "nonPayingInfo": "Any services rendered to non-paying patients will not be billed",
155
176
  "noResultsFor": "pas de résultats pour {{searchTerm}}",
156
177
  "number": "Nombre",
157
178
  "ok": "OK",
@@ -184,11 +205,14 @@
184
205
  "paymentProcessedSuccessfully": "Traitement réussi du paiement",
185
206
  "payments": "Paiements",
186
207
  "pendingBills": "Factures en attente",
208
+ "pendingConfirmationBills": "Pending confirmation",
209
+ "pendingPaymentBills": "Pending payment",
187
210
  "policyNumber": "Numéro de police",
188
211
  "postWaiver": "Exonération future",
189
212
  "previousPage": "Page précédente",
190
213
  "price": "Prix",
191
214
  "priceIsRequired": "Prix obligatoire",
215
+ "priceMustBeNonNegative": "Price must be 0 or greater",
192
216
  "priceMustBeNumber": "Le prix doit être un nombre valide",
193
217
  "priceMustBePositive": "Le prix doit être supérieur à zéro (0)",
194
218
  "prices": "Prix",
@@ -222,15 +246,18 @@
222
246
  "serviceName": "Nom du service",
223
247
  "serviceNameExceedsLimit": "Nom de service ne peut excéder {{MAX_NAME_LENGTH}} caractères",
224
248
  "serviceNameRequired": "Nom du service obligatoire",
249
+ "serviceResolutionError": "Could not resolve service \"{{service}}\"",
225
250
  "servicesList": "Liste des services",
226
251
  "serviceStatus": "État du service",
227
252
  "serviceType": "Type de service",
228
253
  "serviceTypeRequired": "Type de service obligatoire",
229
254
  "shortName": "Nom court",
230
255
  "shortNameExceedsLimit": "Nom court ne peut excéder {{MAX_NAME_LENGTH}} caractères",
256
+ "showInformation": "Show information",
231
257
  "status": "Etat du service",
232
258
  "student": "Étudiant",
233
259
  "submitting": "Soumission en cours",
260
+ "subtotal": "Subtotal",
234
261
  "success": "Réussi!",
235
262
  "total": "Total",
236
263
  "totalAmount": "Montant Total",
@@ -238,6 +265,7 @@
238
265
  "totalTendered": "Montant total proposé",
239
266
  "unitPrice": "Prix unitaire",
240
267
  "unitPriceHelperText": "Ceci est le prix unitaire de cet article",
268
+ "unknownBillError": "An unexpected error occurred",
241
269
  "uuid": "UUID",
242
270
  "uuidRequired": "UUID est obligatoire",
243
271
  "validationError": "Erreur de validation",