@openmrs/esm-billing-app 1.0.2-pre.112 → 1.0.2-pre.1124

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 (241) hide show
  1. package/.eslintrc +16 -2
  2. package/README.md +54 -9
  3. package/__mocks__/bills.mock.ts +12 -0
  4. package/__mocks__/react-i18next.js +6 -5
  5. package/dist/1119.js +1 -1
  6. package/dist/1146.js +1 -2
  7. package/dist/1146.js.map +1 -1
  8. package/dist/1197.js +1 -1
  9. package/dist/1537.js +1 -0
  10. package/dist/1537.js.map +1 -0
  11. package/dist/1856.js +1 -0
  12. package/dist/1856.js.map +1 -0
  13. package/dist/2146.js +1 -1
  14. package/dist/2177.js +1 -1
  15. package/dist/2177.js.map +1 -1
  16. package/dist/2524.js +1 -0
  17. package/dist/2524.js.map +1 -0
  18. package/dist/2690.js +1 -1
  19. package/dist/3099.js +1 -1
  20. package/dist/3584.js +1 -1
  21. package/dist/3717.js +2 -0
  22. package/dist/3717.js.map +1 -0
  23. package/dist/4055.js +1 -1
  24. package/dist/4132.js +1 -1
  25. package/dist/4300.js +1 -1
  26. package/dist/4335.js +1 -1
  27. package/dist/439.js +1 -0
  28. package/dist/4618.js +1 -1
  29. package/dist/4652.js +1 -1
  30. package/dist/4724.js +1 -0
  31. package/dist/4724.js.map +1 -0
  32. package/dist/4739.js +1 -1
  33. package/dist/4739.js.map +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/5442.js +1 -1
  38. package/dist/5661.js +1 -1
  39. package/dist/6022.js +1 -1
  40. package/dist/6468.js +1 -1
  41. package/dist/6540.js +1 -1
  42. package/dist/6540.js.map +1 -1
  43. package/dist/6589.js +1 -0
  44. package/dist/6679.js +1 -1
  45. package/dist/6840.js +1 -1
  46. package/dist/6859.js +1 -1
  47. package/dist/7097.js +1 -1
  48. package/dist/7159.js +1 -1
  49. package/dist/723.js +1 -1
  50. package/dist/7255.js +1 -1
  51. package/dist/7255.js.map +1 -1
  52. package/dist/7617.js +1 -1
  53. package/dist/795.js +1 -1
  54. package/dist/8163.js +1 -1
  55. package/dist/8349.js +1 -1
  56. package/dist/8371.js +1 -0
  57. package/dist/8572.js +1 -0
  58. package/dist/8572.js.map +1 -0
  59. package/dist/8618.js +1 -1
  60. package/dist/8708.js +2 -0
  61. package/dist/{6557.js.LICENSE.txt → 8708.js.LICENSE.txt} +22 -0
  62. package/dist/8708.js.map +1 -0
  63. package/dist/890.js +1 -1
  64. package/dist/9214.js +1 -1
  65. package/dist/9538.js +1 -1
  66. package/dist/9569.js +1 -1
  67. package/dist/961.js +1 -1
  68. package/dist/961.js.map +1 -1
  69. package/dist/986.js +1 -1
  70. package/dist/9879.js +1 -1
  71. package/dist/9895.js +1 -1
  72. package/dist/9900.js +1 -1
  73. package/dist/9913.js +1 -1
  74. package/dist/main.js +1 -1
  75. package/dist/main.js.map +1 -1
  76. package/dist/openmrs-esm-billing-app.js +1 -1
  77. package/dist/openmrs-esm-billing-app.js.buildmanifest.json +321 -249
  78. package/dist/openmrs-esm-billing-app.js.map +1 -1
  79. package/dist/routes.json +1 -1
  80. package/e2e/README.md +19 -18
  81. package/e2e/commands/billing-operations.ts +96 -0
  82. package/e2e/commands/index.ts +3 -0
  83. package/e2e/commands/patient-operations.ts +82 -0
  84. package/e2e/commands/types.ts +73 -0
  85. package/e2e/core/test.ts +12 -1
  86. package/e2e/fixtures/api.ts +2 -3
  87. package/e2e/pages/billing-dashboard-page.ts +84 -0
  88. package/e2e/pages/billing-form-page.ts +114 -0
  89. package/e2e/pages/index.ts +4 -1
  90. package/e2e/pages/invoice-page.ts +113 -0
  91. package/e2e/pages/payment-page.ts +104 -0
  92. package/e2e/specs/billing-dashboard.spec.ts +203 -0
  93. package/e2e/specs/billing-patient-chart.spec.ts +738 -0
  94. package/e2e/support/github/Dockerfile +1 -1
  95. package/e2e/support/github/run-e2e-docker-env.sh +29 -32
  96. package/example.env +15 -1
  97. package/package.json +19 -16
  98. package/playwright.config.ts +4 -2
  99. package/src/bill-history/bill-history.component.tsx +15 -17
  100. package/src/bill-history/bill-history.scss +4 -94
  101. package/src/bill-history/bill-history.test.tsx +37 -77
  102. package/src/bill-item-actions/bill-item-actions.scss +21 -5
  103. package/src/bill-item-actions/edit-bill-item.modal.tsx +227 -0
  104. package/src/bill-item-actions/edit-bill-item.test.tsx +233 -40
  105. package/src/billable-services/bill-waiver/bill-selection.component.tsx +5 -5
  106. package/src/billable-services/bill-waiver/bill-waiver-form.component.tsx +37 -39
  107. package/src/billable-services/bill-waiver/patient-bills.component.tsx +7 -7
  108. package/src/billable-services/bill-waiver/utils.ts +13 -3
  109. package/src/billable-services/{create-edit/add-billable-service.scss → billable-service-form/billable-service-form.scss} +32 -64
  110. package/src/billable-services/billable-service-form/billable-service-form.test.tsx +1099 -0
  111. package/src/billable-services/billable-service-form/billable-service-form.workspace.tsx +516 -0
  112. package/src/billable-services/billable-service.resource.ts +71 -27
  113. package/src/billable-services/billable-services-home.component.tsx +13 -42
  114. package/src/billable-services/billable-services-left-panel-link.component.tsx +50 -0
  115. package/src/billable-services/billable-services-left-panel-menu.component.tsx +48 -0
  116. package/src/billable-services/billable-services-menu-item/item.component.tsx +5 -4
  117. package/src/billable-services/billable-services.component.tsx +156 -152
  118. package/src/billable-services/billable-services.scss +29 -0
  119. package/src/billable-services/billable-services.test.tsx +6 -49
  120. package/src/billable-services/cash-point/add-cash-point.modal.tsx +170 -0
  121. package/src/billable-services/cash-point/cash-point-configuration.component.tsx +19 -193
  122. package/src/billable-services/cash-point/cash-point-configuration.scss +1 -5
  123. package/src/billable-services/dashboard/dashboard.component.tsx +0 -2
  124. package/src/billable-services/payment-modes/delete-payment-mode.modal.tsx +77 -0
  125. package/src/billable-services/payment-modes/payment-mode-form.modal.tsx +131 -0
  126. package/src/billable-services/payment-modes/payment-modes-config.component.tsx +139 -0
  127. package/src/billable-services/{payyment-modes → payment-modes}/payment-modes-config.scss +5 -4
  128. package/src/billable-services-admin-card-link.component.test.tsx +2 -2
  129. package/src/billable-services-admin-card-link.component.tsx +1 -1
  130. package/src/billing-dashboard/billing-dashboard.scss +1 -1
  131. package/src/billing-form/billing-checkin-form.component.tsx +29 -29
  132. package/src/billing-form/billing-checkin-form.scss +0 -7
  133. package/src/billing-form/billing-checkin-form.test.tsx +100 -27
  134. package/src/billing-form/billing-form.component.tsx +226 -284
  135. package/src/billing-form/billing-form.scss +143 -0
  136. package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +47 -41
  137. package/src/billing-form/visit-attributes/visit-attributes-form.scss +16 -3
  138. package/src/billing.resource.test.ts +503 -0
  139. package/src/billing.resource.ts +68 -76
  140. package/src/bills-table/bills-table.component.tsx +17 -24
  141. package/src/bills-table/bills-table.test.tsx +98 -54
  142. package/src/config-schema.ts +84 -31
  143. package/src/dashboard.meta.ts +5 -3
  144. package/src/helpers/functions.ts +5 -4
  145. package/src/index.ts +75 -13
  146. package/src/invoice/invoice-table.component.tsx +36 -70
  147. package/src/invoice/invoice-table.scss +8 -5
  148. package/src/invoice/invoice-table.test.tsx +273 -62
  149. package/src/invoice/invoice.component.tsx +44 -38
  150. package/src/invoice/invoice.scss +11 -4
  151. package/src/invoice/invoice.test.tsx +324 -120
  152. package/src/invoice/payments/invoice-breakdown/invoice-breakdown.scss +9 -9
  153. package/src/invoice/payments/payment-form/payment-form.component.tsx +45 -36
  154. package/src/invoice/payments/payment-form/payment-form.scss +5 -6
  155. package/src/invoice/payments/payment-form/payment-form.test.tsx +217 -67
  156. package/src/invoice/payments/payment-history/payment-history.component.tsx +6 -4
  157. package/src/invoice/payments/payment-history/payment-history.test.tsx +9 -14
  158. package/src/invoice/payments/payments.component.tsx +56 -68
  159. package/src/invoice/payments/payments.scss +4 -3
  160. package/src/invoice/payments/payments.test.tsx +282 -0
  161. package/src/invoice/payments/utils.ts +15 -27
  162. package/src/invoice/printable-invoice/print-receipt.component.tsx +3 -3
  163. package/src/invoice/printable-invoice/print-receipt.test.tsx +14 -25
  164. package/src/invoice/printable-invoice/printable-footer.component.tsx +2 -2
  165. package/src/invoice/printable-invoice/printable-footer.test.tsx +4 -13
  166. package/src/invoice/printable-invoice/printable-invoice-header.component.tsx +20 -11
  167. package/src/invoice/printable-invoice/printable-invoice-header.test.tsx +95 -16
  168. package/src/invoice/printable-invoice/printable-invoice.component.tsx +21 -35
  169. package/src/left-panel-link.component.tsx +9 -8
  170. package/src/left-panel-link.test.tsx +1 -4
  171. package/src/metrics-cards/metrics-cards.component.tsx +16 -6
  172. package/src/metrics-cards/metrics-cards.scss +4 -0
  173. package/src/metrics-cards/metrics-cards.test.tsx +18 -5
  174. package/src/modal/require-payment-modal.test.tsx +27 -22
  175. package/src/modal/{require-payment-modal.component.tsx → require-payment.modal.tsx} +18 -19
  176. package/src/routes.json +44 -20
  177. package/src/types/index.ts +87 -24
  178. package/translations/am.json +140 -80
  179. package/translations/ar.json +141 -81
  180. package/translations/ar_SY.json +141 -81
  181. package/translations/bn.json +143 -83
  182. package/translations/cs.json +230 -0
  183. package/translations/de.json +141 -81
  184. package/translations/en.json +142 -81
  185. package/translations/en_US.json +141 -81
  186. package/translations/es.json +140 -80
  187. package/translations/es_MX.json +141 -81
  188. package/translations/fr.json +224 -164
  189. package/translations/he.json +140 -80
  190. package/translations/hi.json +141 -81
  191. package/translations/hi_IN.json +141 -81
  192. package/translations/id.json +141 -81
  193. package/translations/it.json +166 -106
  194. package/translations/ka.json +141 -81
  195. package/translations/km.json +140 -80
  196. package/translations/ku.json +141 -81
  197. package/translations/ky.json +141 -81
  198. package/translations/lg.json +141 -81
  199. package/translations/ne.json +141 -81
  200. package/translations/pl.json +141 -81
  201. package/translations/pt.json +141 -81
  202. package/translations/pt_BR.json +141 -81
  203. package/translations/qu.json +141 -81
  204. package/translations/ro_RO.json +225 -165
  205. package/translations/ru_RU.json +141 -81
  206. package/translations/si.json +141 -81
  207. package/translations/sq.json +230 -0
  208. package/translations/sw.json +141 -81
  209. package/translations/sw_KE.json +141 -81
  210. package/translations/tr.json +141 -81
  211. package/translations/tr_TR.json +141 -81
  212. package/translations/uk.json +141 -81
  213. package/translations/uz.json +141 -81
  214. package/translations/uz@Latn.json +141 -81
  215. package/translations/uz_UZ.json +141 -81
  216. package/translations/vi.json +141 -81
  217. package/translations/zh.json +141 -81
  218. package/translations/zh_CN.json +171 -111
  219. package/translations/zh_TW.json +230 -0
  220. package/dist/1146.js.LICENSE.txt +0 -21
  221. package/dist/2352.js +0 -1
  222. package/dist/2352.js.map +0 -1
  223. package/dist/246.js +0 -1
  224. package/dist/246.js.map +0 -1
  225. package/dist/4689.js +0 -2
  226. package/dist/4689.js.map +0 -1
  227. package/dist/6557.js +0 -2
  228. package/dist/6557.js.map +0 -1
  229. package/dist/8638.js +0 -1
  230. package/dist/8638.js.map +0 -1
  231. package/dist/9968.js +0 -1
  232. package/dist/9968.js.map +0 -1
  233. package/e2e/pages/home-page.ts +0 -9
  234. package/e2e/specs/sample-test.spec.ts +0 -11
  235. package/src/bill-item-actions/edit-bill-item.component.tsx +0 -221
  236. package/src/billable-services/create-edit/add-billable-service.component.tsx +0 -401
  237. package/src/billable-services/create-edit/add-billable-service.test.tsx +0 -154
  238. package/src/billable-services/dashboard/service-metrics.component.tsx +0 -41
  239. package/src/billable-services/payyment-modes/payment-modes-config.component.tsx +0 -280
  240. package/src/invoice/payments/payments.component.test.tsx +0 -121
  241. /package/dist/{4689.js.LICENSE.txt → 3717.js.LICENSE.txt} +0 -0
@@ -1,170 +1,230 @@
1
1
  {
2
- "actions": "Actions",
3
- "addBill": "Add bill item(s)",
4
- "addBillableServices": "Add Billable Services",
5
- "addCashPoint": "Add Cash Point",
6
- "addNewBillableService": "Add new billable service",
7
- "addNewService": "Add new service",
8
- "addPaymentMode": "Add Payment Mode",
9
- "addPaymentOptions": "Add payment option",
10
- "amount": "Amount",
11
- "amountDue": "Amount Due",
12
- "amountToWaiveAriaLabel": "Enter amount to waive",
13
- "amountToWaiveHelper": "Specify the amount to be deducted from the bill",
14
- "amountToWaiveLabel": "Amount to Waive",
15
- "billableService": "Billable service",
16
- "billableServices": "Billable Services",
17
- "billedItems": "Billed Items",
18
- "billedTo": "Billed to",
19
- "billErrorService": "Bill service error",
20
- "billing": "Billing",
21
- "billingForm": "Billing form",
22
- "billingHistory": "Billing History",
23
- "billingSettings": "Billing Settings",
24
- "billItem": "Bill item",
25
- "billItems": "Bill Items",
2
+ "add": "添加",
3
+ "addBill": "Add bill items",
4
+ "addBillableService": "Add billable service",
5
+ "addCashPoint": "Add cash point",
6
+ "addNewBillableService": "添加新的计费服务",
7
+ "addNewCashPoint": "Add new cash point",
8
+ "addNewPaymentMode": "Add new payment mode",
9
+ "addNewService": "添加新的服务",
10
+ "addPaymentMethod": "添加付款方式",
11
+ "addPaymentMode": "Add payment mode",
12
+ "addPaymentOption": "添加付款选项",
13
+ "amount": "",
14
+ "amountDue": "Amount due",
15
+ "amountMustBePositive": "数量必须大于0",
16
+ "amountRequired": "数量上必须的",
17
+ "amountTendered": "Amount tendered",
18
+ "amountToWaiveAriaLabel": "输入要豁免的价格",
19
+ "amountToWaiveHelper": "指定要从账单中扣除的金额",
20
+ "amountToWaiveLabel": "Amount to waive",
21
+ "associatedConcept": "相关概念",
22
+ "billableService": "计费服务",
23
+ "billableServiceCreated": "Billable service created",
24
+ "billableServiceCreatedSuccessfully": "Billable service created successfully",
25
+ "billableServiceForm": "Billable service form",
26
+ "billableServices": "Billable services",
27
+ "billableServices__lower": "计费服务",
28
+ "billableServicesManagement": "Billable services management",
29
+ "billableServiceUpdated": "Billable service updated",
30
+ "billableServiceUpdatedSuccessfully": "Billable service updated successfully",
31
+ "billAmount": "费用数额",
32
+ "billCode": "费用代码",
33
+ "billCreatedSuccessfully": "Bill created successfully",
34
+ "billCreationError": "Bill creation error",
35
+ "billedItems": "Billed items",
36
+ "billedTo": "计费至",
37
+ "billErrorService": "Billing service error",
38
+ "billing": "计费",
39
+ "billingForm": "从。。。计费",
40
+ "billingHistory": "Billing history",
41
+ "billingSettings": "Billing settings",
42
+ "billItem": "计费项目",
43
+ "billItems": "Bill items",
26
44
  "billLineItemEmpty": "This bill has no line items",
27
- "billList": "Bill list",
28
- "billMetrics": "Bill metrics",
29
- "billName": " {{billName}} ",
30
- "billPayment": "Bill payment",
31
- "billPaymentError": "Bill payment error",
32
- "billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
33
- "billServicesManagement": "Bill services management",
34
- "billsList": "Bill list",
35
- "billTotal": "Bill total",
36
- "billWaiver": "Bill waiver",
37
- "billWaiverError": "Bill waiver failed {{error}}",
38
- "billWaiverSuccess": "Bill waiver successful",
39
- "cancel": "Cancel",
40
- "cashPointConfig": "Cash Point Config",
41
- "cashPointHistory": "Cash Point History",
42
- "cashPointLocation": "Cash Point Location",
43
- "cashPointName": "Cash Point Name",
44
- "cashPointNamePlaceholder": "e.g., Pharmacy Cash Point",
45
- "cashPointSaved": "Cash point was successfully saved.",
46
- "cashPointUuid": "Cash Point UUID",
45
+ "billList": "账单清单",
46
+ "billMetrics": "账单指标",
47
+ "billName": "{{billName}}",
48
+ "billPayment": "账单支付",
49
+ "billPaymentError": "账单支付错误",
50
+ "billPaymentRequiredMessage": "The current patient has a pending bill. Advise the patient to settle the bill before receiving services",
51
+ "billProcessed": "Bill processed",
52
+ "billProcessedSuccessfully": "Bill processed successfully",
53
+ "billProcessingError": "Bill processing error",
54
+ "billsTable": "Bills table",
55
+ "billTotal": "账单总和",
56
+ "billWaiver": "账单豁免",
57
+ "billWaiverError": "账单豁免错误(错误)",
58
+ "billWaiverSuccess": "账单豁免成功",
59
+ "birthDate": "Date of birth",
60
+ "cashPointConfig": "Cash point configuration",
61
+ "cashPointHistory": "Cash point history",
62
+ "cashPointLocation": "Cash point location",
63
+ "cashPointName": "Cash point name",
64
+ "cashPointNamePlaceholder": "For example, Pharmacy Cash Point",
65
+ "cashPointNameRequired": "Cash point name is required",
66
+ "cashPointSaved": "现金积分已成功保存",
67
+ "cashPointUuid": "Cash point UUID",
47
68
  "cashPointUuidPlaceholder": "Enter UUID",
48
69
  "checkFilters": "Check the filters above",
49
- "clearSearchInput": "Clear search input",
50
- "clientBalance": "Client Balance",
51
- "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
52
- "createdSuccessfully": "Billable service created successfully",
53
- "currentPrice": "Current price",
54
- "delete": "Delete",
55
- "deletePaymentMode": "Delete Payment Mode",
56
- "description": "Description",
57
- "descriptionPlaceholder": "e.g., Used for all cash transactions",
58
- "discard": "Discard",
59
- "discount": "Discount",
60
- "duplicateCashPointError": "A cash point with the same name or UUID already exists. Please use a unique name and UUID.",
61
- "duplicatePaymentModeError": "A payment mode with the same name already exists. Please create another payment mode",
62
- "editBillableService": "Edit billable service",
63
- "editBillableServices": "Edit Billable Services",
64
- "editBillLineItem": "Edit bill line item?",
65
- "editThisBillItem": "Edit this bill item",
66
- "enterAmount": "Enter amount",
67
- "enterConcept": "Associated concept",
68
- "enterReferenceNumber": "Enter ref. number",
69
- "error": "Error",
70
- "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
71
- "errorFetchingCashPoints": "An error occurred while fetching cash points.",
72
- "errorFetchingLocations": "An error occurred while fetching locations.",
73
- "errorFetchingPaymentModes": "An error occurred while fetching payment modes.",
70
+ "childUnder5": "Child under 5",
71
+ "confirmDeleteMessage": "您确定要删除此支付方式吗?请谨慎此操作",
72
+ "cumulativeBills": "Cumulative bills",
73
+ "currentPrice": "当前价格",
74
+ "date": "Date",
75
+ "dateAndTime": "Date and time",
76
+ "dateOfPayment": "Date of payment",
77
+ "deletePaymentMode": "Delete payment mode",
78
+ "deleting": "Deleting",
79
+ "description": "描述",
80
+ "descriptionPlaceholder": "For example, Used for all cash transactions",
81
+ "discard": "放弃",
82
+ "discount": "折扣",
83
+ "discountAmount": "Discount amount",
84
+ "editBillableService": "编辑计费服务",
85
+ "editBillLineItem": "Edit bill line item",
86
+ "editPaymentMode": "Edit payment mode",
87
+ "editThisBillItem": "修改此次计费服务账单",
88
+ "enterAmount": "输入金额",
89
+ "enterReferenceNumber": "Enter reference number",
90
+ "enterSellingPrice": "Enter selling price",
91
+ "enterServiceName": "Enter service name",
92
+ "enterServiceShortName": "Enter service short name",
93
+ "errorCreatingBill": "An error occurred while creating the bill",
94
+ "errorDeletingPaymentMode": "在清理支付模式中发生错误",
95
+ "errorFetchingCashPoints": "在连接付款点时出现错误",
96
+ "errorFetchingLocations": "在获取位置时发生错误",
97
+ "errorLoadingBillableServices": "Error loading billable services",
74
98
  "errorLoadingBillServices": "Error loading bill services",
75
- "errorLoadingPaymentModes": "Payment modes error",
99
+ "errorLoadingPaymentModes": "Error loading payment modes",
100
+ "errorPrintingInvoice": "Error printing invoice",
101
+ "errorProcessingPayment": "Error processing payment",
76
102
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
77
103
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
78
- "filterBy": "Filter by",
104
+ "filterBy": "Filter by:",
79
105
  "filterTable": "Filter table",
106
+ "gender": "Gender",
80
107
  "grandTotal": "Grand total",
81
108
  "home": "Home",
82
109
  "identifier": "Identifier",
83
- "inlineLoading": "Loading bill items...",
84
110
  "insuranceScheme": "Insurance scheme",
111
+ "invalidUuidFormat": "Invalid UUID format",
85
112
  "invalidWaiverAmount": "Invalid waiver amount",
113
+ "inventoryItem": "Inventory item",
86
114
  "invoice": "Invoice",
115
+ "invoiceDate": "Invoice date",
87
116
  "invoiceError": "Invoice error",
117
+ "invoiceLineItems": "Invoice line items",
118
+ "invoiceNumber": "Invoice #",
119
+ "invoiceStatus": "Invoice status",
88
120
  "item": "Item",
89
121
  "itemsToBeBilled": "Items to be billed",
90
122
  "launchBillForm": "Launch bill form",
91
123
  "lineItems": "Line items",
92
- "loading": "Loading data...",
93
- "loadingBillingServices": "Loading billing services...",
124
+ "lineItemUpdated": "Line item updated",
125
+ "lineItemUpdateErrorDefault": "Unable to update the bill line item. Please try again.",
126
+ "lineItemUpdateFailed": "Failed to update line item",
127
+ "lineItemUpdateSuccess": "The bill line item has been updated successfully",
128
+ "loading": "Loading data",
129
+ "loadingBillInfo": "Loading bill information",
130
+ "loadingBillingServices": "Loading billing services",
131
+ "loadingBillItems": "Loading bill items",
132
+ "loadingBillMetrics": "Loading bill metrics",
94
133
  "loadingDescription": "Loading",
95
- "location": "Select Location",
134
+ "location": "Location",
135
+ "locationRequired": "Location is required",
96
136
  "manageBillableServices": "Manage billable services",
97
137
  "name": "Name",
98
138
  "nextPage": "Next page",
99
- "noBilltoDisplay": "There are no bills to display for this patient",
139
+ "noBillToDisplay": "There are no bills to display for this patient",
100
140
  "noMatchingBillsToDisplay": "No matching bills to display",
101
141
  "noMatchingItemsToDisplay": "No matching items to display",
102
142
  "noMatchingServicesToDisplay": "No matching services to display",
103
- "noResultsFor": "No results for",
104
- "noResultsFound": "No results found",
105
- "noServicesToDisplay": "There are no services to display",
143
+ "nonPaying": "Non paying",
144
+ "noResultsFor": "No results for {{searchTerm}}",
145
+ "number": "Number",
106
146
  "ok": "OK",
107
- "patientBillingAlert": "Patient Billing Alert",
108
- "patientBills": "Patient bill",
147
+ "paidBills": "Paid bills",
148
+ "patientBill": "Patient bill",
149
+ "patientBillingAlert": "Patient billing alert",
150
+ "patientBills": "Patient bills",
109
151
  "patientBillsDescription": "List of patient bills",
110
152
  "patientCategory": "Patient category",
111
- "paymentDetails": "Payment Details",
153
+ "paying": "Paying",
154
+ "paymentAmountCannotExceedAmountDue": "Payment amount cannot exceed amount due",
155
+ "paymentDetails": "Payment details",
112
156
  "paymentMethod": "Payment method",
113
- "paymentMethods": "Payment methods",
114
- "paymentMode": "Payment Mode",
157
+ "paymentMethodRequired": "Payment method is required for all items",
158
+ "paymentMode": "Payment mode",
115
159
  "paymentModeDeleted": "Payment mode was successfully deleted.",
116
- "paymentModeHistory": "Payment Mode History",
117
- "paymentModeName": "Payment Mode Name",
118
- "paymentModeNamePlaceholder": "e.g., Cash, Credit Card",
160
+ "paymentModeHistory": "Payment mode history",
161
+ "paymentModeNameLabel": "Payment mode name",
162
+ "paymentModeNamePlaceholder": "For example, Cash, Credit Card",
163
+ "paymentModeNameRequired": "Payment mode name is required",
164
+ "paymentModeNameToDelete": "Payment mode name: {{paymentModeName}}",
165
+ "paymentModeRequired": "Payment mode is required",
119
166
  "paymentModeSaved": "Payment mode was successfully saved.",
120
- "paymentModesConfig": "Payment Modes Config",
167
+ "paymentModesConfig": "Payment modes configuration",
168
+ "paymentOptionRequired": "At least one payment option is required",
169
+ "paymentProcessedSuccessfully": "Payment processed successfully",
121
170
  "payments": "Payments",
122
- "pleaseRequiredFields": "Please fill all required fields",
171
+ "pendingBills": "Pending bills",
123
172
  "policyNumber": "Policy number",
124
173
  "postWaiver": "Post waiver",
125
174
  "previousPage": "Previous page",
126
- "price": "Unit Price",
175
+ "price": "Price",
127
176
  "priceIsRequired": "Price is required",
177
+ "priceMustBeNumber": "Price must be a valid number",
178
+ "priceMustBePositive": "Price must be greater than 0",
128
179
  "prices": "Prices",
129
180
  "printBill": "Print bill",
130
181
  "printReceipt": "Print receipt",
131
- "processPayment": "Process Payment",
182
+ "processPayment": "Process payment",
132
183
  "quantity": "Quantity",
133
- "quantityGreaterThanZero": "Quantity must be greater than zero",
184
+ "quantityCannotExceed100": "Quantity cannot exceed 100",
185
+ "quantityMustBeAtLeastOne": "Quantity must be at least 1",
186
+ "quantityMustBeInteger": "Quantity must be a whole number",
187
+ "quantityMustBeNumber": "Quantity must be a valid number",
134
188
  "quantityRequired": "Quantity is required",
135
189
  "referenceNumber": "Reference number",
136
- "save": "Save",
190
+ "remove": "Remove",
191
+ "removePaymentMethod": "Remove payment method",
137
192
  "saveAndClose": "Save and close",
138
193
  "saving": "Saving",
139
194
  "searchConcepts": "Search associated concept",
140
195
  "searching": "Searching",
141
196
  "searchItems": "Search items and services",
142
197
  "searchThisTable": "Search this table",
143
- "selectBillableService": "Select a billable service...",
144
- "selectCategory": "Select category",
198
+ "selectBillableService": "Select a billable service",
199
+ "selectedItems": "Selected items",
200
+ "selectLocation": "Select location",
145
201
  "selectPatientCategory": "Select patient category",
146
202
  "selectPaymentMethod": "Select payment method",
147
- "sellingAmount": "Enter selling price",
148
- "sellingPrice": "Selling Price",
149
- "service": "Service",
150
- "serviceMetrics": "Service Metrics",
151
- "serviceName": "Service Name",
152
- "serviceNameExceedsLimit": "Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
153
- "serviceShortName": "Short Name",
203
+ "selectPaymentMode": "Select payment mode",
204
+ "selectServiceType": "Select service type",
205
+ "sellingPrice": "Selling price",
206
+ "serviceList": "Service list",
207
+ "serviceName": "Service name",
208
+ "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
209
+ "serviceNameRequired": "Service name is required",
154
210
  "servicesList": "Services list",
155
- "serviceType": "Service Type",
156
- "shortName": "Short Name",
157
- "shortNameExceedsLimit": "Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
158
- "status": "Service Status",
159
- "stockItem": "Stock Item",
160
- "submitting": "Submitting...",
211
+ "serviceStatus": "Service status",
212
+ "serviceType": "Service type",
213
+ "serviceTypeRequired": "Service type is required",
214
+ "shortName": "Short name",
215
+ "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
216
+ "status": "Service status",
217
+ "student": "Student",
218
+ "submitting": "Submitting",
161
219
  "success": "Success",
162
220
  "total": "Total",
163
- "totalAmount": "Total Amount",
164
- "totalTendered": "Total Tendered",
221
+ "totalAmount": "Total amount",
222
+ "totalTendered": "Total tendered",
165
223
  "unitPrice": "Unit price",
166
- "updatedSuccessfully": "Billable service updated successfully",
224
+ "unitPriceHelperText": "This is the unit price for this item",
167
225
  "uuid": "UUID",
226
+ "uuidRequired": "UUID is required",
227
+ "validationError": "Validation error",
168
228
  "visitTime": "Visit time",
169
229
  "waiverForm": "Waiver form"
170
230
  }
@@ -0,0 +1,230 @@
1
+ {
2
+ "add": "Add",
3
+ "addBill": "Add bill items",
4
+ "addBillableService": "Add billable service",
5
+ "addCashPoint": "Add cash point",
6
+ "addNewBillableService": "Add new billable service",
7
+ "addNewCashPoint": "Add new cash point",
8
+ "addNewPaymentMode": "Add new payment mode",
9
+ "addNewService": "Add new service",
10
+ "addPaymentMethod": "Add payment method",
11
+ "addPaymentMode": "Add payment mode",
12
+ "addPaymentOption": "Add payment option",
13
+ "amount": "Amount",
14
+ "amountDue": "Amount due",
15
+ "amountMustBePositive": "Amount must be greater than 0",
16
+ "amountRequired": "Amount is required",
17
+ "amountTendered": "Amount tendered",
18
+ "amountToWaiveAriaLabel": "Enter amount to waive",
19
+ "amountToWaiveHelper": "Specify the amount to be deducted from the bill",
20
+ "amountToWaiveLabel": "Amount to waive",
21
+ "associatedConcept": "Associated concept",
22
+ "billableService": "Billable service",
23
+ "billableServiceCreated": "Billable service created",
24
+ "billableServiceCreatedSuccessfully": "Billable service created successfully",
25
+ "billableServiceForm": "Billable service form",
26
+ "billableServices": "Billable services",
27
+ "billableServices__lower": "billable services",
28
+ "billableServicesManagement": "Billable services management",
29
+ "billableServiceUpdated": "Billable service updated",
30
+ "billableServiceUpdatedSuccessfully": "Billable service updated successfully",
31
+ "billAmount": "Bill amount",
32
+ "billCode": "Bill code",
33
+ "billCreatedSuccessfully": "Bill created successfully",
34
+ "billCreationError": "Bill creation error",
35
+ "billedItems": "Billed items",
36
+ "billedTo": "Billed to",
37
+ "billErrorService": "Billing service error",
38
+ "billing": "Billing",
39
+ "billingForm": "Billing form",
40
+ "billingHistory": "Billing history",
41
+ "billingSettings": "Billing settings",
42
+ "billItem": "Bill item",
43
+ "billItems": "Bill items",
44
+ "billLineItemEmpty": "This bill has no line items",
45
+ "billList": "Bill list",
46
+ "billMetrics": "Bill metrics",
47
+ "billName": "{{billName}}",
48
+ "billPayment": "Bill payment",
49
+ "billPaymentError": "Bill payment error",
50
+ "billPaymentRequiredMessage": "The current patient has a pending bill. Advise the patient to settle the bill before receiving services",
51
+ "billProcessed": "Bill processed",
52
+ "billProcessedSuccessfully": "Bill processed successfully",
53
+ "billProcessingError": "Bill processing error",
54
+ "billsTable": "Bills table",
55
+ "billTotal": "Bill total",
56
+ "billWaiver": "Bill waiver",
57
+ "billWaiverError": "Bill waiver failed {{error}}",
58
+ "billWaiverSuccess": "Bill waiver successful",
59
+ "birthDate": "Date of birth",
60
+ "cashPointConfig": "Cash point configuration",
61
+ "cashPointHistory": "Cash point history",
62
+ "cashPointLocation": "Cash point location",
63
+ "cashPointName": "Cash point name",
64
+ "cashPointNamePlaceholder": "For example, Pharmacy Cash Point",
65
+ "cashPointNameRequired": "Cash point name is required",
66
+ "cashPointSaved": "Cash point was successfully saved.",
67
+ "cashPointUuid": "Cash point UUID",
68
+ "cashPointUuidPlaceholder": "Enter UUID",
69
+ "checkFilters": "Check the filters above",
70
+ "childUnder5": "Child under 5",
71
+ "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
72
+ "cumulativeBills": "Cumulative bills",
73
+ "currentPrice": "Current price",
74
+ "date": "Date",
75
+ "dateAndTime": "Date and time",
76
+ "dateOfPayment": "Date of payment",
77
+ "deletePaymentMode": "Delete payment mode",
78
+ "deleting": "Deleting",
79
+ "description": "Description",
80
+ "descriptionPlaceholder": "For example, Used for all cash transactions",
81
+ "discard": "Discard",
82
+ "discount": "Discount",
83
+ "discountAmount": "Discount amount",
84
+ "editBillableService": "Edit billable service",
85
+ "editBillLineItem": "Edit bill line item",
86
+ "editPaymentMode": "Edit payment mode",
87
+ "editThisBillItem": "Edit this bill item",
88
+ "enterAmount": "Enter amount",
89
+ "enterReferenceNumber": "Enter reference number",
90
+ "enterSellingPrice": "Enter selling price",
91
+ "enterServiceName": "Enter service name",
92
+ "enterServiceShortName": "Enter service short name",
93
+ "errorCreatingBill": "An error occurred while creating the bill",
94
+ "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
95
+ "errorFetchingCashPoints": "An error occurred while fetching cash points.",
96
+ "errorFetchingLocations": "An error occurred while fetching locations.",
97
+ "errorLoadingBillableServices": "Error loading billable services",
98
+ "errorLoadingBillServices": "Error loading bill services",
99
+ "errorLoadingPaymentModes": "Error loading payment modes",
100
+ "errorPrintingInvoice": "Error printing invoice",
101
+ "errorProcessingPayment": "Error processing payment",
102
+ "errorSavingCashPoint": "An error occurred while saving the cash point.",
103
+ "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
104
+ "filterBy": "Filter by:",
105
+ "filterTable": "Filter table",
106
+ "gender": "Gender",
107
+ "grandTotal": "Grand total",
108
+ "home": "Home",
109
+ "identifier": "Identifier",
110
+ "insuranceScheme": "Insurance scheme",
111
+ "invalidUuidFormat": "Invalid UUID format",
112
+ "invalidWaiverAmount": "Invalid waiver amount",
113
+ "inventoryItem": "Inventory item",
114
+ "invoice": "Invoice",
115
+ "invoiceDate": "Invoice date",
116
+ "invoiceError": "Invoice error",
117
+ "invoiceLineItems": "Invoice line items",
118
+ "invoiceNumber": "Invoice #",
119
+ "invoiceStatus": "Invoice status",
120
+ "item": "Item",
121
+ "itemsToBeBilled": "Items to be billed",
122
+ "launchBillForm": "Launch bill form",
123
+ "lineItems": "Line items",
124
+ "lineItemUpdated": "Line item updated",
125
+ "lineItemUpdateErrorDefault": "Unable to update the bill line item. Please try again.",
126
+ "lineItemUpdateFailed": "Failed to update line item",
127
+ "lineItemUpdateSuccess": "The bill line item has been updated successfully",
128
+ "loading": "Loading data",
129
+ "loadingBillInfo": "Loading bill information",
130
+ "loadingBillingServices": "Loading billing services",
131
+ "loadingBillItems": "Loading bill items",
132
+ "loadingBillMetrics": "Loading bill metrics",
133
+ "loadingDescription": "Loading",
134
+ "location": "Location",
135
+ "locationRequired": "Location is required",
136
+ "manageBillableServices": "Manage billable services",
137
+ "name": "Name",
138
+ "nextPage": "Next page",
139
+ "noBillToDisplay": "There are no bills to display for this patient",
140
+ "noMatchingBillsToDisplay": "No matching bills to display",
141
+ "noMatchingItemsToDisplay": "No matching items to display",
142
+ "noMatchingServicesToDisplay": "No matching services to display",
143
+ "nonPaying": "Non paying",
144
+ "noResultsFor": "No results for {{searchTerm}}",
145
+ "number": "Number",
146
+ "ok": "OK",
147
+ "paidBills": "Paid bills",
148
+ "patientBill": "Patient bill",
149
+ "patientBillingAlert": "Patient billing alert",
150
+ "patientBills": "Patient bills",
151
+ "patientBillsDescription": "List of patient bills",
152
+ "patientCategory": "Patient category",
153
+ "paying": "Paying",
154
+ "paymentAmountCannotExceedAmountDue": "Payment amount cannot exceed amount due",
155
+ "paymentDetails": "Payment details",
156
+ "paymentMethod": "Payment method",
157
+ "paymentMethodRequired": "Payment method is required for all items",
158
+ "paymentMode": "Payment mode",
159
+ "paymentModeDeleted": "Payment mode was successfully deleted.",
160
+ "paymentModeHistory": "Payment mode history",
161
+ "paymentModeNameLabel": "Payment mode name",
162
+ "paymentModeNamePlaceholder": "For example, Cash, Credit Card",
163
+ "paymentModeNameRequired": "Payment mode name is required",
164
+ "paymentModeNameToDelete": "Payment mode name: {{paymentModeName}}",
165
+ "paymentModeRequired": "Payment mode is required",
166
+ "paymentModeSaved": "Payment mode was successfully saved.",
167
+ "paymentModesConfig": "Payment modes configuration",
168
+ "paymentOptionRequired": "At least one payment option is required",
169
+ "paymentProcessedSuccessfully": "Payment processed successfully",
170
+ "payments": "Payments",
171
+ "pendingBills": "Pending bills",
172
+ "policyNumber": "Policy number",
173
+ "postWaiver": "Post waiver",
174
+ "previousPage": "Previous page",
175
+ "price": "Price",
176
+ "priceIsRequired": "Price is required",
177
+ "priceMustBeNumber": "Price must be a valid number",
178
+ "priceMustBePositive": "Price must be greater than 0",
179
+ "prices": "Prices",
180
+ "printBill": "Print bill",
181
+ "printReceipt": "Print receipt",
182
+ "processPayment": "Process payment",
183
+ "quantity": "Quantity",
184
+ "quantityCannotExceed100": "Quantity cannot exceed 100",
185
+ "quantityMustBeAtLeastOne": "Quantity must be at least 1",
186
+ "quantityMustBeInteger": "Quantity must be a whole number",
187
+ "quantityMustBeNumber": "Quantity must be a valid number",
188
+ "quantityRequired": "Quantity is required",
189
+ "referenceNumber": "Reference number",
190
+ "remove": "Remove",
191
+ "removePaymentMethod": "Remove payment method",
192
+ "saveAndClose": "Save and close",
193
+ "saving": "Saving",
194
+ "searchConcepts": "Search associated concept",
195
+ "searching": "Searching",
196
+ "searchItems": "Search items and services",
197
+ "searchThisTable": "Search this table",
198
+ "selectBillableService": "Select a billable service",
199
+ "selectedItems": "Selected items",
200
+ "selectLocation": "Select location",
201
+ "selectPatientCategory": "Select patient category",
202
+ "selectPaymentMethod": "Select payment method",
203
+ "selectPaymentMode": "Select payment mode",
204
+ "selectServiceType": "Select service type",
205
+ "sellingPrice": "Selling price",
206
+ "serviceList": "Service list",
207
+ "serviceName": "Service name",
208
+ "serviceNameExceedsLimit": "Service name cannot exceed {{MAX_NAME_LENGTH}} characters",
209
+ "serviceNameRequired": "Service name is required",
210
+ "servicesList": "Services list",
211
+ "serviceStatus": "Service status",
212
+ "serviceType": "Service type",
213
+ "serviceTypeRequired": "Service type is required",
214
+ "shortName": "Short name",
215
+ "shortNameExceedsLimit": "Short name cannot exceed {{MAX_NAME_LENGTH}} characters",
216
+ "status": "Service status",
217
+ "student": "Student",
218
+ "submitting": "Submitting",
219
+ "success": "Success",
220
+ "total": "Total",
221
+ "totalAmount": "Total amount",
222
+ "totalTendered": "Total tendered",
223
+ "unitPrice": "Unit price",
224
+ "unitPriceHelperText": "This is the unit price for this item",
225
+ "uuid": "UUID",
226
+ "uuidRequired": "UUID is required",
227
+ "validationError": "Validation error",
228
+ "visitTime": "Visit time",
229
+ "waiverForm": "Waiver form"
230
+ }
@@ -1,21 +0,0 @@
1
- /**
2
- * @remix-run/router v1.14.2
3
- *
4
- * Copyright (c) Remix Software Inc.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE.md file in the root directory of this source tree.
8
- *
9
- * @license MIT
10
- */
11
-
12
- /**
13
- * React Router v6.21.3
14
- *
15
- * Copyright (c) Remix Software Inc.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE.md file in the root directory of this source tree.
19
- *
20
- * @license MIT
21
- */