@openmrs/esm-billing-app 1.0.1-pre.98 → 1.0.2-pre.56

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 (224) hide show
  1. package/.eslintignore +0 -1
  2. package/.eslintrc +33 -24
  3. package/.husky/pre-commit +1 -1
  4. package/.turbo.json +1 -1
  5. package/.tx/config +11 -0
  6. package/README.md +111 -1
  7. package/dist/1119.js +1 -0
  8. package/dist/1197.js +1 -0
  9. package/dist/1362.js +1 -0
  10. package/dist/1362.js.map +1 -0
  11. package/dist/2146.js +1 -0
  12. package/dist/2690.js +1 -0
  13. package/dist/3029.js +2 -0
  14. package/dist/3029.js.LICENSE.txt +7 -0
  15. package/dist/3029.js.map +1 -0
  16. package/dist/3099.js +1 -0
  17. package/dist/3511.js +1 -0
  18. package/dist/3511.js.map +1 -0
  19. package/dist/3584.js +1 -0
  20. package/dist/4055.js +1 -0
  21. package/dist/4132.js +1 -0
  22. package/dist/4225.js +1 -0
  23. package/dist/4225.js.map +1 -0
  24. package/dist/4300.js +1 -0
  25. package/dist/4335.js +1 -0
  26. package/dist/4618.js +1 -0
  27. package/dist/4652.js +1 -0
  28. package/dist/4817.js +2 -0
  29. package/dist/4817.js.LICENSE.txt +77 -0
  30. package/dist/4817.js.map +1 -0
  31. package/dist/4944.js +1 -0
  32. package/dist/4993.js +1 -0
  33. package/dist/4993.js.map +1 -0
  34. package/dist/5173.js +1 -0
  35. package/dist/5241.js +1 -0
  36. package/dist/5442.js +1 -0
  37. package/dist/5661.js +1 -0
  38. package/dist/6022.js +1 -0
  39. package/dist/6468.js +1 -0
  40. package/dist/6540.js +2 -0
  41. package/dist/6540.js.map +1 -0
  42. package/dist/6606.js +2 -0
  43. package/dist/{591.js.LICENSE.txt → 6606.js.LICENSE.txt} +2 -2
  44. package/dist/6606.js.map +1 -0
  45. package/dist/6679.js +1 -0
  46. package/dist/6840.js +1 -0
  47. package/dist/6859.js +1 -0
  48. package/dist/6941.js +1 -0
  49. package/dist/6941.js.map +1 -0
  50. package/dist/7097.js +1 -0
  51. package/dist/7159.js +1 -0
  52. package/dist/723.js +1 -0
  53. package/dist/7255.js +1 -0
  54. package/dist/7255.js.map +1 -0
  55. package/dist/7617.js +1 -0
  56. package/dist/763.js +1 -0
  57. package/dist/763.js.map +1 -0
  58. package/dist/8163.js +1 -0
  59. package/dist/8349.js +1 -0
  60. package/dist/8618.js +1 -0
  61. package/dist/890.js +1 -0
  62. package/dist/9055.js +1 -0
  63. package/dist/9055.js.map +1 -0
  64. package/dist/9214.js +1 -0
  65. package/dist/9538.js +1 -0
  66. package/dist/{935.js → 961.js} +2 -2
  67. package/dist/{935.js.map → 961.js.map} +1 -1
  68. package/dist/986.js +1 -0
  69. package/dist/9879.js +1 -0
  70. package/dist/9895.js +1 -0
  71. package/dist/9900.js +1 -0
  72. package/dist/9913.js +1 -0
  73. package/dist/main.js +1 -1
  74. package/dist/main.js.LICENSE.txt +31 -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 +844 -165
  78. package/dist/openmrs-esm-billing-app.js.map +1 -1
  79. package/dist/routes.json +1 -1
  80. package/jest.config.js +4 -1
  81. package/package.json +19 -21
  82. package/src/bill-history/bill-history.component.tsx +5 -3
  83. package/src/bill-history/bill-history.scss +24 -9
  84. package/src/bill-history/bill-history.test.tsx +58 -16
  85. package/src/bill-item-actions/bill-item-actions.scss +26 -0
  86. package/src/bill-item-actions/edit-bill-item.component.tsx +221 -0
  87. package/src/bill-item-actions/edit-bill-item.test.tsx +137 -0
  88. package/src/billable-services/bill-waiver/bill-selection.component.tsx +1 -1
  89. package/src/billable-services/bill-waiver/bill-waiver-form.component.tsx +2 -2
  90. package/src/billable-services/bill-waiver/bill-waiver-form.scss +4 -4
  91. package/src/billable-services/bill-waiver/bill-waiver.component.tsx +4 -4
  92. package/src/billable-services/bill-waiver/patient-bills.component.tsx +1 -1
  93. package/src/billable-services/billable-service.resource.ts +19 -6
  94. package/src/billable-services/billable-services-home.component.tsx +19 -3
  95. package/src/billable-services/billable-services-menu-item/item.component.tsx +17 -0
  96. package/src/billable-services/billable-services-menu-item/item.scss +14 -0
  97. package/src/billable-services/billable-services.component.tsx +48 -9
  98. package/src/billable-services/billable-services.scss +10 -9
  99. package/src/billable-services/billable-services.test.tsx +172 -8
  100. package/src/billable-services/cash-point/cash-point-configuration.component.tsx +276 -0
  101. package/src/billable-services/cash-point/cash-point-configuration.scss +23 -0
  102. package/src/billable-services/create-edit/add-billable-service.component.tsx +126 -47
  103. package/src/billable-services/create-edit/add-billable-service.scss +14 -8
  104. package/src/billable-services/create-edit/add-billable-service.test.tsx +12 -10
  105. package/src/billable-services/dashboard/dashboard.scss +3 -3
  106. package/src/billable-services/payyment-modes/payment-modes-config.component.tsx +280 -0
  107. package/src/billable-services/payyment-modes/payment-modes-config.scss +23 -0
  108. package/src/billing-dashboard/billing-dashboard.component.tsx +17 -4
  109. package/src/billing-dashboard/billing-dashboard.scss +3 -3
  110. package/src/billing-form/billing-form.component.tsx +31 -25
  111. package/src/billing-form/billing-form.scss +9 -10
  112. package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +38 -14
  113. package/src/billing-header/billing-header.component.tsx +21 -5
  114. package/src/billing-header/billing-header.scss +1 -1
  115. package/src/billing.resource.ts +21 -4
  116. package/src/bills-table/bills-table.component.tsx +46 -36
  117. package/src/bills-table/bills-table.scss +6 -6
  118. package/src/bills-table/bills-table.test.tsx +108 -68
  119. package/src/config-schema.ts +36 -1
  120. package/src/constants.ts +2 -0
  121. package/src/dashboard.meta.ts +2 -1
  122. package/src/helpers/functions.ts +0 -2
  123. package/src/hooks/selectedDateContext.ts +10 -0
  124. package/src/index.ts +22 -27
  125. package/src/invoice/invoice-table.component.tsx +95 -56
  126. package/src/invoice/invoice-table.scss +7 -8
  127. package/src/invoice/invoice-table.test.tsx +151 -0
  128. package/src/invoice/invoice.component.tsx +7 -9
  129. package/src/invoice/invoice.scss +2 -2
  130. package/src/invoice/invoice.test.tsx +199 -169
  131. package/src/invoice/payments/payment-form/payment-form.component.tsx +84 -55
  132. package/src/invoice/payments/payment-form/payment-form.test.tsx +174 -0
  133. package/src/invoice/payments/payment-history/payment-history.component.tsx +9 -7
  134. package/src/invoice/payments/payment-history/payment-history.test.tsx +160 -0
  135. package/src/invoice/payments/payments.component.test.tsx +121 -0
  136. package/src/invoice/payments/payments.component.tsx +57 -48
  137. package/src/invoice/payments/utils.ts +17 -13
  138. package/src/invoice/printable-invoice/print-receipt.component.tsx +23 -8
  139. package/src/invoice/printable-invoice/print-receipt.test.tsx +50 -0
  140. package/src/metrics-cards/card.component.tsx +4 -2
  141. package/src/metrics-cards/metrics-cards.test.tsx +1 -1
  142. package/src/modal/require-payment-modal.component.tsx +2 -2
  143. package/src/modal/require-payment-modal.test.tsx +66 -0
  144. package/src/modal/require-payment.scss +2 -1
  145. package/src/routes.json +40 -8
  146. package/src/types/index.ts +15 -0
  147. package/{i18next-parser.config.js → tools/i18next-parser.config.js} +19 -19
  148. package/tools/update-openmrs-deps.mjs +42 -0
  149. package/translations/am.json +53 -0
  150. package/translations/ar.json +170 -0
  151. package/translations/ar_SY.json +170 -0
  152. package/translations/bn.json +170 -0
  153. package/translations/de.json +170 -0
  154. package/translations/en.json +53 -0
  155. package/translations/es.json +53 -0
  156. package/translations/es_MX.json +170 -0
  157. package/translations/fr.json +53 -0
  158. package/translations/he.json +53 -0
  159. package/translations/hi.json +170 -0
  160. package/translations/hi_IN.json +170 -0
  161. package/translations/id.json +170 -0
  162. package/translations/it.json +170 -0
  163. package/translations/km.json +53 -0
  164. package/translations/ku.json +170 -0
  165. package/translations/ky.json +170 -0
  166. package/translations/lg.json +170 -0
  167. package/translations/ne.json +170 -0
  168. package/translations/pl.json +170 -0
  169. package/translations/pt.json +170 -0
  170. package/translations/pt_BR.json +170 -0
  171. package/translations/qu.json +170 -0
  172. package/translations/ro_RO.json +170 -0
  173. package/translations/ru_RU.json +170 -0
  174. package/translations/si.json +170 -0
  175. package/translations/sw.json +170 -0
  176. package/translations/sw_KE.json +170 -0
  177. package/translations/tr.json +170 -0
  178. package/translations/tr_TR.json +170 -0
  179. package/translations/uk.json +170 -0
  180. package/translations/uz.json +170 -0
  181. package/translations/uz@Latn.json +170 -0
  182. package/translations/uz_UZ.json +170 -0
  183. package/translations/vi.json +170 -0
  184. package/translations/zh.json +170 -0
  185. package/translations/zh_CN.json +170 -0
  186. package/tsconfig.json +10 -8
  187. package/webpack.config.js +1 -1
  188. package/dist/146.js +0 -1
  189. package/dist/146.js.map +0 -1
  190. package/dist/294.js +0 -2
  191. package/dist/294.js.map +0 -1
  192. package/dist/319.js +0 -1
  193. package/dist/384.js +0 -1
  194. package/dist/384.js.map +0 -1
  195. package/dist/421.js +0 -1
  196. package/dist/421.js.map +0 -1
  197. package/dist/533.js +0 -1
  198. package/dist/533.js.map +0 -1
  199. package/dist/574.js +0 -1
  200. package/dist/591.js +0 -2
  201. package/dist/591.js.map +0 -1
  202. package/dist/614.js +0 -2
  203. package/dist/614.js.LICENSE.txt +0 -37
  204. package/dist/614.js.map +0 -1
  205. package/dist/753.js +0 -1
  206. package/dist/753.js.map +0 -1
  207. package/dist/757.js +0 -1
  208. package/dist/770.js +0 -1
  209. package/dist/770.js.map +0 -1
  210. package/dist/783.js +0 -1
  211. package/dist/783.js.map +0 -1
  212. package/dist/788.js +0 -1
  213. package/dist/800.js +0 -2
  214. package/dist/800.js.LICENSE.txt +0 -3
  215. package/dist/800.js.map +0 -1
  216. package/dist/807.js +0 -1
  217. package/dist/833.js +0 -1
  218. package/dist/992.js +0 -1
  219. package/dist/992.js.map +0 -1
  220. package/src/root.scss +0 -30
  221. /package/dist/{294.js.LICENSE.txt → 6540.js.LICENSE.txt} +0 -0
  222. /package/dist/{935.js.LICENSE.txt → 961.js.LICENSE.txt} +0 -0
  223. /package/{src → tools}/setup-tests.ts +0 -0
  224. /package/{test-helpers.tsx → tools/test-helpers.tsx} +0 -0
@@ -2,10 +2,13 @@
2
2
  "actions": "Actions",
3
3
  "addBill": "Add bill item(s)",
4
4
  "addBillableServices": "Add Billable Services",
5
+ "addCashPoint": "Add Cash Point",
5
6
  "addNewBillableService": "Add new billable service",
6
7
  "addNewService": "Add new service",
8
+ "addPaymentMode": "Add Payment Mode",
7
9
  "addPaymentOptions": "Add payment option",
8
10
  "amount": "Amount",
11
+ "amountDue": "Amount Due",
9
12
  "amountToWaiveAriaLabel": "Enter amount to waive",
10
13
  "amountToWaiveHelper": "Specify the amount to be deducted from the bill",
11
14
  "amountToWaiveLabel": "Amount to Waive",
@@ -17,12 +20,15 @@
17
20
  "billing": "Billing",
18
21
  "billingForm": "Billing form",
19
22
  "billingHistory": "Billing History",
23
+ "billingSettings": "Billing Settings",
20
24
  "billItem": "Bill item",
21
25
  "billItems": "Bill Items",
26
+ "billLineItemEmpty": "This bill has no line items",
22
27
  "billList": "Bill list",
23
28
  "billMetrics": "Bill metrics",
24
29
  "billName": " {{billName}} ",
25
30
  "billPayment": "Bill payment",
31
+ "billPaymentError": "Bill payment error",
26
32
  "billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
27
33
  "billServicesManagement": "Bill services management",
28
34
  "billsList": "Bill list",
@@ -31,15 +37,44 @@
31
37
  "billWaiverError": "Bill waiver failed {{error}}",
32
38
  "billWaiverSuccess": "Bill waiver successful",
33
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",
47
+ "cashPointUuidPlaceholder": "Enter UUID",
34
48
  "checkFilters": "Check the filters above",
35
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",
36
58
  "discard": "Discard",
37
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",
38
66
  "enterAmount": "Enter amount",
39
67
  "enterConcept": "Associated concept",
40
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.",
41
74
  "errorLoadingBillServices": "Error loading bill services",
42
75
  "errorLoadingPaymentModes": "Payment modes error",
76
+ "errorSavingCashPoint": "An error occurred while saving the cash point.",
77
+ "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
43
78
  "filterBy": "Filter by",
44
79
  "filterTable": "Filter table",
45
80
  "grandTotal": "Grand total",
@@ -57,6 +92,7 @@
57
92
  "loading": "Loading data...",
58
93
  "loadingBillingServices": "Loading billing services...",
59
94
  "loadingDescription": "Loading",
95
+ "location": "Select Location",
60
96
  "manageBillableServices": "Manage billable services",
61
97
  "name": "Name",
62
98
  "nextPage": "Next page",
@@ -76,16 +112,26 @@
76
112
  "paymentMethod": "Payment method",
77
113
  "paymentMethods": "Payment methods",
78
114
  "paymentMode": "Payment Mode",
115
+ "paymentModeDeleted": "Payment mode was successfully deleted.",
116
+ "paymentModeHistory": "Payment Mode History",
117
+ "paymentModeName": "Payment Mode Name",
118
+ "paymentModeNamePlaceholder": "e.g., Cash, Credit Card",
119
+ "paymentModeSaved": "Payment mode was successfully saved.",
120
+ "paymentModesConfig": "Payment Modes Config",
79
121
  "payments": "Payments",
122
+ "pleaseRequiredFields": "Please fill all required fields",
80
123
  "policyNumber": "Policy number",
81
124
  "postWaiver": "Post waiver",
82
125
  "previousPage": "Previous page",
126
+ "price": "Price",
127
+ "priceIsRequired": "Price is required",
83
128
  "prices": "Prices",
84
129
  "printBill": "Print bill",
85
130
  "printReceipt": "Print receipt",
86
131
  "processPayment": "Process Payment",
87
132
  "quantity": "Quantity",
88
133
  "quantityGreaterThanZero": "Quantity must be greater than zero",
134
+ "quantityRequired": "Quantity is required",
89
135
  "referenceNumber": "Reference number",
90
136
  "save": "Save",
91
137
  "saveAndClose": "Save and close",
@@ -96,22 +142,29 @@
96
142
  "searchThisTable": "Search this table",
97
143
  "selectBillableService": "Select a billable service...",
98
144
  "selectCategory": "Select category",
145
+ "selectPatientCategory": "Select patient category",
99
146
  "selectPaymentMethod": "Select payment method",
100
147
  "sellingAmount": "Enter selling price",
101
148
  "sellingPrice": "Selling Price",
102
149
  "service": "Service",
103
150
  "serviceMetrics": "Service Metrics",
104
151
  "serviceName": "Service Name",
152
+ "serviceNameExceedsLimit": "Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
105
153
  "serviceShortName": "Short Name",
106
154
  "servicesList": "Services list",
107
155
  "serviceType": "Service Type",
108
156
  "shortName": "Short Name",
157
+ "shortNameExceedsLimit": "Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
109
158
  "status": "Service Status",
110
159
  "stockItem": "Stock Item",
160
+ "submitting": "Submitting...",
161
+ "success": "Success",
111
162
  "total": "Total",
112
163
  "totalAmount": "Total Amount",
113
164
  "totalTendered": "Total Tendered",
114
165
  "unitPrice": "Unit price",
166
+ "updatedSuccessfully": "Billable service updated successfully",
167
+ "uuid": "UUID",
115
168
  "visitTime": "Visit time",
116
169
  "waiverForm": "Waiver form"
117
170
  }
@@ -2,10 +2,13 @@
2
2
  "actions": "Actions",
3
3
  "addBill": "Add bill item(s)",
4
4
  "addBillableServices": "Add Billable Services",
5
+ "addCashPoint": "Add Cash Point",
5
6
  "addNewBillableService": "Add new billable service",
6
7
  "addNewService": "Add new service",
8
+ "addPaymentMode": "Add Payment Mode",
7
9
  "addPaymentOptions": "Add payment option",
8
10
  "amount": "Amount",
11
+ "amountDue": "Amount Due",
9
12
  "amountToWaiveAriaLabel": "Enter amount to waive",
10
13
  "amountToWaiveHelper": "Specify the amount to be deducted from the bill",
11
14
  "amountToWaiveLabel": "Amount to Waive",
@@ -17,12 +20,15 @@
17
20
  "billing": "Billing",
18
21
  "billingForm": "Billing form",
19
22
  "billingHistory": "Billing History",
23
+ "billingSettings": "Billing Settings",
20
24
  "billItem": "Bill item",
21
25
  "billItems": "Bill Items",
26
+ "billLineItemEmpty": "This bill has no line items",
22
27
  "billList": "Bill list",
23
28
  "billMetrics": "Bill metrics",
24
29
  "billName": " {{billName}} ",
25
30
  "billPayment": "Bill payment",
31
+ "billPaymentError": "Bill payment error",
26
32
  "billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
27
33
  "billServicesManagement": "Bill services management",
28
34
  "billsList": "Bill list",
@@ -31,15 +37,44 @@
31
37
  "billWaiverError": "Bill waiver failed {{error}}",
32
38
  "billWaiverSuccess": "Bill waiver successful",
33
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",
47
+ "cashPointUuidPlaceholder": "Enter UUID",
34
48
  "checkFilters": "Check the filters above",
35
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",
36
58
  "discard": "Discard",
37
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",
38
66
  "enterAmount": "Enter amount",
39
67
  "enterConcept": "Associated concept",
40
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.",
41
74
  "errorLoadingBillServices": "Error loading bill services",
42
75
  "errorLoadingPaymentModes": "Payment modes error",
76
+ "errorSavingCashPoint": "An error occurred while saving the cash point.",
77
+ "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
43
78
  "filterBy": "Filter by",
44
79
  "filterTable": "Filter table",
45
80
  "grandTotal": "Grand total",
@@ -57,6 +92,7 @@
57
92
  "loading": "Loading data...",
58
93
  "loadingBillingServices": "Loading billing services...",
59
94
  "loadingDescription": "Loading",
95
+ "location": "Select Location",
60
96
  "manageBillableServices": "Manage billable services",
61
97
  "name": "Name",
62
98
  "nextPage": "Next page",
@@ -76,16 +112,26 @@
76
112
  "paymentMethod": "Payment method",
77
113
  "paymentMethods": "Payment methods",
78
114
  "paymentMode": "Payment Mode",
115
+ "paymentModeDeleted": "Payment mode was successfully deleted.",
116
+ "paymentModeHistory": "Payment Mode History",
117
+ "paymentModeName": "Payment Mode Name",
118
+ "paymentModeNamePlaceholder": "e.g., Cash, Credit Card",
119
+ "paymentModeSaved": "Payment mode was successfully saved.",
120
+ "paymentModesConfig": "Payment Modes Config",
79
121
  "payments": "Payments",
122
+ "pleaseRequiredFields": "Please fill all required fields",
80
123
  "policyNumber": "Policy number",
81
124
  "postWaiver": "Post waiver",
82
125
  "previousPage": "Previous page",
126
+ "price": "Price",
127
+ "priceIsRequired": "Price is required",
83
128
  "prices": "Prices",
84
129
  "printBill": "Print bill",
85
130
  "printReceipt": "Print receipt",
86
131
  "processPayment": "Process Payment",
87
132
  "quantity": "Quantity",
88
133
  "quantityGreaterThanZero": "Quantity must be greater than zero",
134
+ "quantityRequired": "Quantity is required",
89
135
  "referenceNumber": "Reference number",
90
136
  "save": "Save",
91
137
  "saveAndClose": "Save and close",
@@ -96,22 +142,29 @@
96
142
  "searchThisTable": "Search this table",
97
143
  "selectBillableService": "Select a billable service...",
98
144
  "selectCategory": "Select category",
145
+ "selectPatientCategory": "Select patient category",
99
146
  "selectPaymentMethod": "Select payment method",
100
147
  "sellingAmount": "Enter selling price",
101
148
  "sellingPrice": "Selling Price",
102
149
  "service": "Service",
103
150
  "serviceMetrics": "Service Metrics",
104
151
  "serviceName": "Service Name",
152
+ "serviceNameExceedsLimit": "Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
105
153
  "serviceShortName": "Short Name",
106
154
  "servicesList": "Services list",
107
155
  "serviceType": "Service Type",
108
156
  "shortName": "Short Name",
157
+ "shortNameExceedsLimit": "Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
109
158
  "status": "Service Status",
110
159
  "stockItem": "Stock Item",
160
+ "submitting": "Submitting...",
161
+ "success": "Success",
111
162
  "total": "Total",
112
163
  "totalAmount": "Total Amount",
113
164
  "totalTendered": "Total Tendered",
114
165
  "unitPrice": "Unit price",
166
+ "updatedSuccessfully": "Billable service updated successfully",
167
+ "uuid": "UUID",
115
168
  "visitTime": "Visit time",
116
169
  "waiverForm": "Waiver form"
117
170
  }
@@ -0,0 +1,170 @@
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",
26
+ "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",
47
+ "cashPointUuidPlaceholder": "Enter UUID",
48
+ "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.",
74
+ "errorLoadingBillServices": "Error loading bill services",
75
+ "errorLoadingPaymentModes": "Payment modes error",
76
+ "errorSavingCashPoint": "An error occurred while saving the cash point.",
77
+ "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
78
+ "filterBy": "Filter by",
79
+ "filterTable": "Filter table",
80
+ "grandTotal": "Grand total",
81
+ "home": "Home",
82
+ "identifier": "Identifier",
83
+ "inlineLoading": "Loading bill items...",
84
+ "insuranceScheme": "Insurance scheme",
85
+ "invalidWaiverAmount": "Invalid waiver amount",
86
+ "invoice": "Invoice",
87
+ "invoiceError": "Invoice error",
88
+ "item": "Item",
89
+ "itemsToBeBilled": "Items to be billed",
90
+ "launchBillForm": "Launch bill form",
91
+ "lineItems": "Line items",
92
+ "loading": "Loading data...",
93
+ "loadingBillingServices": "Loading billing services...",
94
+ "loadingDescription": "Loading",
95
+ "location": "Select Location",
96
+ "manageBillableServices": "Manage billable services",
97
+ "name": "Name",
98
+ "nextPage": "Next page",
99
+ "noBilltoDisplay": "There are no bills to display for this patient",
100
+ "noMatchingBillsToDisplay": "No matching bills to display",
101
+ "noMatchingItemsToDisplay": "No matching items to display",
102
+ "noMatchingServicesToDisplay": "No matching services to display",
103
+ "noResultsFor": "No results for",
104
+ "noResultsFound": "No results found",
105
+ "noServicesToDisplay": "There are no services to display",
106
+ "ok": "OK",
107
+ "patientBillingAlert": "Patient Billing Alert",
108
+ "patientBills": "Patient bill",
109
+ "patientBillsDescription": "List of patient bills",
110
+ "patientCategory": "Patient category",
111
+ "paymentDetails": "Payment Details",
112
+ "paymentMethod": "Payment method",
113
+ "paymentMethods": "Payment methods",
114
+ "paymentMode": "Payment Mode",
115
+ "paymentModeDeleted": "Payment mode was successfully deleted.",
116
+ "paymentModeHistory": "Payment Mode History",
117
+ "paymentModeName": "Payment Mode Name",
118
+ "paymentModeNamePlaceholder": "e.g., Cash, Credit Card",
119
+ "paymentModeSaved": "Payment mode was successfully saved.",
120
+ "paymentModesConfig": "Payment Modes Config",
121
+ "payments": "Payments",
122
+ "pleaseRequiredFields": "Please fill all required fields",
123
+ "policyNumber": "Policy number",
124
+ "postWaiver": "Post waiver",
125
+ "previousPage": "Previous page",
126
+ "price": "Unit Price",
127
+ "priceIsRequired": "Price is required",
128
+ "prices": "Prices",
129
+ "printBill": "Print bill",
130
+ "printReceipt": "Print receipt",
131
+ "processPayment": "Process Payment",
132
+ "quantity": "Quantity",
133
+ "quantityGreaterThanZero": "Quantity must be greater than zero",
134
+ "quantityRequired": "Quantity is required",
135
+ "referenceNumber": "Reference number",
136
+ "save": "Save",
137
+ "saveAndClose": "Save and close",
138
+ "saving": "Saving",
139
+ "searchConcepts": "Search associated concept",
140
+ "searching": "Searching",
141
+ "searchItems": "Search items and services",
142
+ "searchThisTable": "Search this table",
143
+ "selectBillableService": "Select a billable service...",
144
+ "selectCategory": "Select category",
145
+ "selectPatientCategory": "Select patient category",
146
+ "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",
154
+ "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...",
161
+ "success": "Success",
162
+ "total": "Total",
163
+ "totalAmount": "Total Amount",
164
+ "totalTendered": "Total Tendered",
165
+ "unitPrice": "Unit price",
166
+ "updatedSuccessfully": "Billable service updated successfully",
167
+ "uuid": "UUID",
168
+ "visitTime": "Visit time",
169
+ "waiverForm": "Waiver form"
170
+ }
@@ -0,0 +1,170 @@
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",
26
+ "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",
47
+ "cashPointUuidPlaceholder": "Enter UUID",
48
+ "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.",
74
+ "errorLoadingBillServices": "Error loading bill services",
75
+ "errorLoadingPaymentModes": "Payment modes error",
76
+ "errorSavingCashPoint": "An error occurred while saving the cash point.",
77
+ "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
78
+ "filterBy": "Filter by",
79
+ "filterTable": "Filter table",
80
+ "grandTotal": "Grand total",
81
+ "home": "Home",
82
+ "identifier": "Identifier",
83
+ "inlineLoading": "Loading bill items...",
84
+ "insuranceScheme": "Insurance scheme",
85
+ "invalidWaiverAmount": "Invalid waiver amount",
86
+ "invoice": "Invoice",
87
+ "invoiceError": "Invoice error",
88
+ "item": "Item",
89
+ "itemsToBeBilled": "Items to be billed",
90
+ "launchBillForm": "Launch bill form",
91
+ "lineItems": "Line items",
92
+ "loading": "Loading data...",
93
+ "loadingBillingServices": "Loading billing services...",
94
+ "loadingDescription": "Loading",
95
+ "location": "Select Location",
96
+ "manageBillableServices": "Manage billable services",
97
+ "name": "Name",
98
+ "nextPage": "Next page",
99
+ "noBilltoDisplay": "There are no bills to display for this patient",
100
+ "noMatchingBillsToDisplay": "No matching bills to display",
101
+ "noMatchingItemsToDisplay": "No matching items to display",
102
+ "noMatchingServicesToDisplay": "No matching services to display",
103
+ "noResultsFor": "No results for",
104
+ "noResultsFound": "No results found",
105
+ "noServicesToDisplay": "There are no services to display",
106
+ "ok": "OK",
107
+ "patientBillingAlert": "Patient Billing Alert",
108
+ "patientBills": "Patient bill",
109
+ "patientBillsDescription": "List of patient bills",
110
+ "patientCategory": "Patient category",
111
+ "paymentDetails": "Payment Details",
112
+ "paymentMethod": "Payment method",
113
+ "paymentMethods": "Payment methods",
114
+ "paymentMode": "Payment Mode",
115
+ "paymentModeDeleted": "Payment mode was successfully deleted.",
116
+ "paymentModeHistory": "Payment Mode History",
117
+ "paymentModeName": "Payment Mode Name",
118
+ "paymentModeNamePlaceholder": "e.g., Cash, Credit Card",
119
+ "paymentModeSaved": "Payment mode was successfully saved.",
120
+ "paymentModesConfig": "Payment Modes Config",
121
+ "payments": "Payments",
122
+ "pleaseRequiredFields": "Please fill all required fields",
123
+ "policyNumber": "Policy number",
124
+ "postWaiver": "Post waiver",
125
+ "previousPage": "Previous page",
126
+ "price": "Unit Price",
127
+ "priceIsRequired": "Price is required",
128
+ "prices": "Prices",
129
+ "printBill": "Print bill",
130
+ "printReceipt": "Print receipt",
131
+ "processPayment": "Process Payment",
132
+ "quantity": "Quantity",
133
+ "quantityGreaterThanZero": "Quantity must be greater than zero",
134
+ "quantityRequired": "Quantity is required",
135
+ "referenceNumber": "Reference number",
136
+ "save": "Save",
137
+ "saveAndClose": "Save and close",
138
+ "saving": "Saving",
139
+ "searchConcepts": "Search associated concept",
140
+ "searching": "Searching",
141
+ "searchItems": "Search items and services",
142
+ "searchThisTable": "Search this table",
143
+ "selectBillableService": "Select a billable service...",
144
+ "selectCategory": "Select category",
145
+ "selectPatientCategory": "Select patient category",
146
+ "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",
154
+ "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...",
161
+ "success": "Success",
162
+ "total": "Total",
163
+ "totalAmount": "Total Amount",
164
+ "totalTendered": "Total Tendered",
165
+ "unitPrice": "Unit price",
166
+ "updatedSuccessfully": "Billable service updated successfully",
167
+ "uuid": "UUID",
168
+ "visitTime": "Visit time",
169
+ "waiverForm": "Waiver form"
170
+ }