@openmrs/esm-billing-app 1.0.2-pre.84 → 1.0.2-pre.849

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 (214) 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/1856.js +1 -0
  10. package/dist/1856.js.map +1 -0
  11. package/dist/2146.js +1 -1
  12. package/dist/2177.js +2 -0
  13. package/dist/2177.js.LICENSE.txt +9 -0
  14. package/dist/2177.js.map +1 -0
  15. package/dist/2524.js +1 -0
  16. package/dist/2524.js.map +1 -0
  17. package/dist/2690.js +1 -1
  18. package/dist/3041.js +1 -0
  19. package/dist/3041.js.map +1 -0
  20. package/dist/3099.js +1 -1
  21. package/dist/3584.js +1 -1
  22. package/dist/3717.js +2 -0
  23. package/dist/3717.js.map +1 -0
  24. package/dist/4055.js +1 -1
  25. package/dist/4132.js +1 -1
  26. package/dist/4225.js +1 -0
  27. package/dist/4225.js.map +1 -0
  28. package/dist/4300.js +1 -1
  29. package/dist/4335.js +1 -1
  30. package/dist/4344.js +1 -0
  31. package/dist/4344.js.map +1 -0
  32. package/dist/4618.js +1 -1
  33. package/dist/4652.js +1 -1
  34. package/dist/4724.js +1 -0
  35. package/dist/4724.js.map +1 -0
  36. package/dist/4739.js +1 -1
  37. package/dist/4739.js.map +1 -1
  38. package/dist/4944.js +1 -1
  39. package/dist/5173.js +1 -1
  40. package/dist/5241.js +1 -1
  41. package/dist/5422.js +1 -0
  42. package/dist/5422.js.map +1 -0
  43. package/dist/5442.js +1 -1
  44. package/dist/5661.js +1 -1
  45. package/dist/6022.js +1 -1
  46. package/dist/6295.js +2 -0
  47. package/dist/{6525.js.LICENSE.txt → 6295.js.LICENSE.txt} +16 -4
  48. package/dist/6295.js.map +1 -0
  49. package/dist/6468.js +1 -1
  50. package/dist/6540.js +1 -1
  51. package/dist/6540.js.map +1 -1
  52. package/dist/6606.js +1 -0
  53. package/dist/6606.js.map +1 -0
  54. package/dist/6679.js +1 -1
  55. package/dist/6840.js +1 -1
  56. package/dist/6859.js +1 -1
  57. package/dist/7097.js +1 -1
  58. package/dist/7159.js +1 -1
  59. package/dist/723.js +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/8349.js +1 -1
  64. package/dist/8618.js +1 -1
  65. package/dist/890.js +1 -1
  66. package/dist/9214.js +1 -1
  67. package/dist/9538.js +1 -1
  68. package/dist/9569.js +1 -1
  69. package/dist/961.js +1 -1
  70. package/dist/961.js.map +1 -1
  71. package/dist/986.js +1 -1
  72. package/dist/9879.js +1 -1
  73. package/dist/9895.js +1 -1
  74. package/dist/9900.js +1 -1
  75. package/dist/9913.js +1 -1
  76. package/dist/main.js +1 -1
  77. package/dist/main.js.map +1 -1
  78. package/dist/openmrs-esm-billing-app.js +1 -1
  79. package/dist/openmrs-esm-billing-app.js.buildmanifest.json +388 -282
  80. package/dist/openmrs-esm-billing-app.js.map +1 -1
  81. package/dist/routes.json +1 -1
  82. package/e2e/README.md +19 -18
  83. package/e2e/core/test.ts +1 -1
  84. package/e2e/fixtures/api.ts +1 -1
  85. package/e2e/specs/sample-test.spec.ts +0 -1
  86. package/e2e/support/github/Dockerfile +1 -1
  87. package/package.json +13 -10
  88. package/src/bill-history/bill-history.component.tsx +20 -28
  89. package/src/bill-history/bill-history.scss +4 -94
  90. package/src/bill-history/bill-history.test.tsx +37 -78
  91. package/src/bill-item-actions/bill-item-actions.scss +21 -5
  92. package/src/bill-item-actions/edit-bill-item.modal.tsx +225 -0
  93. package/src/bill-item-actions/edit-bill-item.test.tsx +214 -40
  94. package/src/billable-services/bill-waiver/bill-selection.component.tsx +5 -5
  95. package/src/billable-services/bill-waiver/bill-waiver-form.component.tsx +28 -32
  96. package/src/billable-services/bill-waiver/patient-bills.component.tsx +7 -7
  97. package/src/billable-services/bill-waiver/utils.ts +13 -3
  98. package/src/billable-services/billable-service.resource.ts +28 -12
  99. package/src/billable-services/billable-services-home.component.tsx +4 -4
  100. package/src/billable-services/billable-services.component.tsx +149 -148
  101. package/src/billable-services/billable-services.scss +3 -0
  102. package/src/billable-services/billable-services.test.tsx +6 -49
  103. package/src/billable-services/cash-point/add-cash-point.modal.tsx +168 -0
  104. package/src/billable-services/cash-point/cash-point-configuration.component.tsx +19 -193
  105. package/src/billable-services/cash-point/cash-point-configuration.scss +1 -5
  106. package/src/billable-services/create-edit/add-billable-service.component.tsx +356 -300
  107. package/src/billable-services/create-edit/add-billable-service.scss +6 -65
  108. package/src/billable-services/create-edit/add-billable-service.test.tsx +167 -81
  109. package/src/billable-services/create-edit/edit-billable-service.modal.tsx +51 -0
  110. package/src/billable-services/dashboard/service-metrics.component.tsx +11 -3
  111. package/src/billable-services/payment-modes/add-payment-mode.modal.tsx +121 -0
  112. package/src/billable-services/payment-modes/delete-payment-mode.modal.tsx +72 -0
  113. package/src/billable-services/payment-modes/payment-modes-config.component.tsx +125 -0
  114. package/src/billable-services/{payyment-modes → payment-modes}/payment-modes-config.scss +5 -4
  115. package/src/billing-dashboard/billing-dashboard.scss +1 -1
  116. package/src/billing-form/billing-checkin-form.component.tsx +21 -17
  117. package/src/billing-form/billing-checkin-form.test.tsx +99 -26
  118. package/src/billing-form/billing-form.component.tsx +222 -292
  119. package/src/billing-form/billing-form.scss +143 -0
  120. package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +1 -1
  121. package/src/billing.resource.ts +69 -74
  122. package/src/bills-table/bills-table.component.tsx +3 -3
  123. package/src/bills-table/bills-table.test.tsx +98 -54
  124. package/src/config-schema.ts +52 -24
  125. package/src/dashboard.meta.ts +4 -2
  126. package/src/helpers/functions.ts +5 -4
  127. package/src/index.ts +17 -6
  128. package/src/invoice/invoice-table.component.tsx +36 -70
  129. package/src/invoice/invoice-table.scss +8 -5
  130. package/src/invoice/invoice-table.test.tsx +273 -62
  131. package/src/invoice/invoice.component.tsx +39 -32
  132. package/src/invoice/invoice.scss +11 -4
  133. package/src/invoice/invoice.test.tsx +324 -120
  134. package/src/invoice/payments/invoice-breakdown/invoice-breakdown.scss +9 -9
  135. package/src/invoice/payments/payment-form/payment-form.component.tsx +43 -34
  136. package/src/invoice/payments/payment-form/payment-form.scss +5 -6
  137. package/src/invoice/payments/payment-form/payment-form.test.tsx +216 -66
  138. package/src/invoice/payments/payment-history/payment-history.component.tsx +6 -4
  139. package/src/invoice/payments/payment-history/payment-history.test.tsx +9 -14
  140. package/src/invoice/payments/payments.component.tsx +55 -67
  141. package/src/invoice/payments/payments.scss +4 -3
  142. package/src/invoice/payments/payments.test.tsx +282 -0
  143. package/src/invoice/payments/utils.ts +15 -27
  144. package/src/invoice/printable-invoice/print-receipt.component.tsx +3 -2
  145. package/src/invoice/printable-invoice/print-receipt.test.tsx +14 -25
  146. package/src/invoice/printable-invoice/printable-footer.component.tsx +2 -2
  147. package/src/invoice/printable-invoice/printable-footer.test.tsx +4 -13
  148. package/src/invoice/printable-invoice/printable-invoice-header.component.tsx +12 -11
  149. package/src/invoice/printable-invoice/printable-invoice-header.test.tsx +16 -14
  150. package/src/invoice/printable-invoice/printable-invoice.component.tsx +20 -34
  151. package/src/left-panel-link.test.tsx +1 -4
  152. package/src/metrics-cards/metrics-cards.component.tsx +12 -2
  153. package/src/metrics-cards/metrics-cards.scss +4 -0
  154. package/src/metrics-cards/metrics-cards.test.tsx +18 -5
  155. package/src/modal/require-payment-modal.test.tsx +27 -22
  156. package/src/modal/{require-payment-modal.component.tsx → require-payment.modal.tsx} +18 -19
  157. package/src/routes.json +25 -7
  158. package/src/types/index.ts +80 -18
  159. package/translations/am.json +125 -74
  160. package/translations/ar.json +126 -75
  161. package/translations/ar_SY.json +126 -75
  162. package/translations/bn.json +128 -77
  163. package/translations/de.json +126 -75
  164. package/translations/en.json +126 -75
  165. package/translations/en_US.json +126 -75
  166. package/translations/es.json +125 -74
  167. package/translations/es_MX.json +126 -75
  168. package/translations/fr.json +131 -80
  169. package/translations/he.json +125 -74
  170. package/translations/hi.json +126 -75
  171. package/translations/hi_IN.json +126 -75
  172. package/translations/id.json +126 -75
  173. package/translations/it.json +152 -101
  174. package/translations/ka.json +126 -75
  175. package/translations/km.json +125 -74
  176. package/translations/ku.json +126 -75
  177. package/translations/ky.json +126 -75
  178. package/translations/lg.json +126 -75
  179. package/translations/ne.json +126 -75
  180. package/translations/pl.json +126 -75
  181. package/translations/pt.json +126 -75
  182. package/translations/pt_BR.json +126 -75
  183. package/translations/qu.json +126 -75
  184. package/translations/ro_RO.json +216 -165
  185. package/translations/ru_RU.json +126 -75
  186. package/translations/si.json +126 -75
  187. package/translations/sw.json +126 -75
  188. package/translations/sw_KE.json +126 -75
  189. package/translations/tr.json +126 -75
  190. package/translations/tr_TR.json +126 -75
  191. package/translations/uk.json +126 -75
  192. package/translations/uz.json +126 -75
  193. package/translations/uz@Latn.json +126 -75
  194. package/translations/uz_UZ.json +126 -75
  195. package/translations/vi.json +126 -75
  196. package/translations/zh.json +126 -75
  197. package/translations/zh_CN.json +158 -107
  198. package/dist/1146.js.LICENSE.txt +0 -21
  199. package/dist/2352.js +0 -1
  200. package/dist/2352.js.map +0 -1
  201. package/dist/246.js +0 -1
  202. package/dist/246.js.map +0 -1
  203. package/dist/6525.js +0 -2
  204. package/dist/6525.js.map +0 -1
  205. package/dist/8556.js +0 -2
  206. package/dist/8556.js.map +0 -1
  207. package/dist/8638.js +0 -1
  208. package/dist/8638.js.map +0 -1
  209. package/dist/9968.js +0 -1
  210. package/dist/9968.js.map +0 -1
  211. package/src/bill-item-actions/edit-bill-item.component.tsx +0 -221
  212. package/src/billable-services/payyment-modes/payment-modes-config.component.tsx +0 -280
  213. package/src/invoice/payments/payments.component.test.tsx +0 -121
  214. /package/dist/{8556.js.LICENSE.txt → 3717.js.LICENSE.txt} +0 -0
@@ -1,170 +1,221 @@
1
1
  {
2
- "actions": "ქმედებები",
3
- "addBill": "Add bill item(s)",
4
- "addBillableServices": "Add Billable Services",
5
- "addCashPoint": "Add Cash Point",
2
+ "add": "Add",
3
+ "addBill": "Add bill items",
4
+ "addBillableService": "Add billable service",
5
+ "addCashPoint": "Add cash point",
6
6
  "addNewBillableService": "Add new billable service",
7
+ "addNewCashPoint": "Add new cash point",
8
+ "addNewPaymentMode": "Add new payment mode",
7
9
  "addNewService": "ახალი სერვისის დამატება",
8
- "addPaymentMode": "გადახდის რეჟიმის დამატება",
9
- "addPaymentOptions": "გადახდის პარამეტრის დამატება",
10
+ "addPaymentMethod": "Add payment method",
11
+ "addPaymentMode": "Add payment mode",
12
+ "addPaymentOption": "Add payment option",
10
13
  "amount": "რაოდენობა",
11
- "amountDue": "რაოდენობა ახლა",
14
+ "amountDue": "Amount due",
15
+ "amountMustBePositive": "Amount must be greater than 0",
16
+ "amountRequired": "Amount is required",
17
+ "amountTendered": "Amount tendered",
12
18
  "amountToWaiveAriaLabel": "შეიყვანეთ უარყოფის რაოდენობა",
13
19
  "amountToWaiveHelper": "Specify the amount to be deducted from the bill",
14
- "amountToWaiveLabel": "უარყოფის რაოდენობა",
20
+ "amountToWaiveLabel": "Amount to waive",
21
+ "associatedConcept": "Associated concept",
15
22
  "billableService": "ფასიანი მომსახურება",
16
- "billableServices": "ფასიანი სერვისები",
17
- "billedItems": "Billed Items",
23
+ "billableServices": "Billable services",
24
+ "billableServices__lower": "billable services",
25
+ "billAmount": "Bill amount",
26
+ "billCode": "Bill code",
27
+ "billCreatedSuccessfully": "Bill created successfully",
28
+ "billCreationError": "Bill creation error",
29
+ "billedItems": "Billed items",
18
30
  "billedTo": "Billed to",
19
- "billErrorService": "ჩეკის სერვისის შეცდომა",
31
+ "billErrorService": "Billing service error",
20
32
  "billing": "ბილინგი",
21
33
  "billingForm": "ბილინგის ფორმა",
22
- "billingHistory": "ბილინგის ისტორია",
23
- "billingSettings": "ბილინგის მორგება",
34
+ "billingHistory": "Billing history",
35
+ "billingSettings": "Billing settings",
24
36
  "billItem": "Bill item",
25
- "billItems": "Bill Items",
37
+ "billItems": "Bill items",
26
38
  "billLineItemEmpty": "This bill has no line items",
27
39
  "billList": "Bill list",
28
40
  "billMetrics": "Bill metrics",
29
- "billName": " {{billName}} ",
41
+ "billName": "{{billName}}",
30
42
  "billPayment": "Bill payment",
31
43
  "billPaymentError": "ჩეკის გადახდის შეცდომა",
32
- "billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
44
+ "billPaymentRequiredMessage": "The current patient has a pending bill. Advise the patient to settle the bill before receiving services",
45
+ "billProcessedSuccessfully": "Bill processed successfully",
46
+ "billProcessingError": "Bill processing error",
33
47
  "billServicesManagement": "Bill services management",
34
- "billsList": "Bill list",
48
+ "billsTable": "Bills table",
35
49
  "billTotal": "Bill total",
36
50
  "billWaiver": "Bill waiver",
37
51
  "billWaiverError": "Bill waiver failed {{error}}",
38
52
  "billWaiverSuccess": "Bill waiver successful",
39
- "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",
53
+ "cashPointConfig": "Cash point configuration",
54
+ "cashPointHistory": "Cash point history",
55
+ "cashPointLocation": "Cash point location",
56
+ "cashPointName": "Cash point name",
57
+ "cashPointNamePlaceholder": "For example, Pharmacy Cash Point",
58
+ "cashPointNameRequired": "Cash point name is required",
45
59
  "cashPointSaved": "Cash point was successfully saved.",
46
- "cashPointUuid": "Cash Point UUID",
60
+ "cashPointUuid": "Cash point UUID",
47
61
  "cashPointUuidPlaceholder": "შეიყვანეთ UUID",
48
62
  "checkFilters": "Check the filters above",
49
- "clearSearchInput": "ძებნის გასუფთავება",
50
- "clientBalance": "კლიენტის ბალანსი",
51
63
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
52
64
  "createdSuccessfully": "Billable service created successfully",
53
65
  "currentPrice": "მიმდინარე ფასი",
54
- "delete": "წაშლა",
55
- "deletePaymentMode": "გადახდის რეჟიმის წაშლა",
66
+ "date": "Date",
67
+ "dateAndTime": "Date and time",
68
+ "dateOfPayment": "Date of payment",
69
+ "deletePaymentMode": "Delete payment mode",
70
+ "deleting": "Deleting",
56
71
  "description": "აღწერა",
57
- "descriptionPlaceholder": "e.g., Used for all cash transactions",
72
+ "descriptionPlaceholder": "For example, Used for all cash transactions",
58
73
  "discard": "მოცილება",
59
74
  "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",
75
+ "discountAmount": "Discount amount",
62
76
  "editBillableService": "Edit billable service",
63
- "editBillableServices": "Edit Billable Services",
64
- "editBillLineItem": "Edit bill line item?",
77
+ "editBillLineItem": "Edit bill line item",
65
78
  "editThisBillItem": "Edit this bill item",
66
79
  "enterAmount": "შეიყვანეთ რაოდენობა",
67
- "enterConcept": "ასოცირებული კონცეფცია",
68
- "enterReferenceNumber": "შეიყვანეთ მიმართვის ნომერი",
69
- "error": "შეცდომა",
80
+ "enterReferenceNumber": "Enter reference number",
81
+ "enterSellingPrice": "Enter selling price",
82
+ "enterServiceName": "Enter service name",
83
+ "enterServiceShortName": "Enter service short name",
84
+ "errorCreatingBill": "An error occurred while creating the bill",
70
85
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
71
86
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
72
87
  "errorFetchingLocations": "An error occurred while fetching locations.",
73
88
  "errorFetchingPaymentModes": "An error occurred while fetching payment modes.",
89
+ "errorLoadingBillableServices": "Error loading billable services",
74
90
  "errorLoadingBillServices": "Error loading bill services",
75
91
  "errorLoadingPaymentModes": "გადახდის რეჟიმების შეცდომა",
92
+ "errorPrintingInvoice": "Error printing invoice",
93
+ "errorProcessingPayment": "Error processing payment",
76
94
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
77
95
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
78
- "filterBy": "ფილტრის პირობა",
96
+ "filterBy": "Filter by:",
79
97
  "filterTable": "ცხრილის გაფილტვრა",
80
98
  "grandTotal": "მთლიანი ჯამი",
81
99
  "home": "საწყისი",
82
100
  "identifier": "იდენტიფიკატორი",
83
- "inlineLoading": "Loading bill items...",
84
101
  "insuranceScheme": "დაზღვევის სქემა",
102
+ "invalidUuidFormat": "Invalid UUID format",
85
103
  "invalidWaiverAmount": "Invalid waiver amount",
104
+ "inventoryItem": "Inventory item",
86
105
  "invoice": "ინვოისი",
106
+ "invoiceDate": "Invoice date",
87
107
  "invoiceError": "ინვოისის შეცდომა",
108
+ "invoiceLineItems": "Invoice line items",
109
+ "invoiceNumber": "Invoice #",
110
+ "invoiceStatus": "Invoice status",
88
111
  "item": "ელემენტი",
89
112
  "itemsToBeBilled": "Items to be billed",
90
113
  "launchBillForm": "Launch bill form",
91
114
  "lineItems": "Line items",
92
- "loading": "მიმდინარეობს მონაცემების ჩატვირთვა...",
93
- "loadingBillingServices": "ბილინგის სერვისების ჩატვირთვა...",
115
+ "lineItemUpdated": "Line item updated",
116
+ "lineItemUpdateErrorDefault": "Unable to update the bill line item. Please try again.",
117
+ "lineItemUpdateFailed": "Failed to update line item",
118
+ "lineItemUpdateSuccess": "The bill line item has been updated successfully",
119
+ "loading": "Loading data",
120
+ "loadingBillInfo": "Loading bill information",
121
+ "loadingBillingServices": "Loading billing services",
122
+ "loadingBillItems": "Loading bill items",
123
+ "loadingBillMetrics": "Loading bill metrics",
94
124
  "loadingDescription": "მიმდინარეობს ჩატვირთვა",
95
- "location": "აირჩიეთ მდებარეობა",
125
+ "loadingServiceMetrics": "Loading service metrics",
126
+ "location": "Location",
127
+ "locationRequired": "Location is required",
96
128
  "manageBillableServices": "Manage billable services",
97
129
  "name": "სახელი",
98
130
  "nextPage": "შემდეგი გვერდი",
99
- "noBilltoDisplay": "There are no bills to display for this patient",
131
+ "noBillToDisplay": "There are no bills to display for this patient",
100
132
  "noMatchingBillsToDisplay": "No matching bills to display",
101
133
  "noMatchingItemsToDisplay": "No matching items to display",
102
134
  "noMatchingServicesToDisplay": "No matching services to display",
103
- "noResultsFor": "შედეგების გარეშე",
104
- "noResultsFound": "შედეგების გარეშე",
105
- "noServicesToDisplay": "There are no services to display",
135
+ "noResultsFor": "No results for {searchTerm}",
136
+ "number": "Number",
106
137
  "ok": "დიახ",
107
- "patientBillingAlert": "პაციენტის ბილინგის განგაში",
108
- "patientBills": "პაციენტის ანგარიში",
138
+ "patientBill": "Patient bill",
139
+ "patientBillingAlert": "Patient billing alert",
140
+ "patientBills": "Patient bills",
109
141
  "patientBillsDescription": "List of patient bills",
110
142
  "patientCategory": "პაციენტის კატეგორია",
111
- "paymentDetails": "გადახდის დეტალები",
143
+ "paymentAmountCannotExceedAmountDue": "Payment amount cannot exceed amount due",
144
+ "paymentDetails": "Payment details",
112
145
  "paymentMethod": "გადახდის მეთოდი",
146
+ "paymentMethodRequired": "Payment method is required for all items",
113
147
  "paymentMethods": "გადახდის მეთოდები",
114
- "paymentMode": "გადახდის რეჟიმი",
148
+ "paymentMode": "Payment mode",
115
149
  "paymentModeDeleted": "Payment mode was successfully deleted.",
116
- "paymentModeHistory": "გადახდის რეჟიმის ისტორია",
117
- "paymentModeName": "გადახდის რეჟიმის სახელი",
118
- "paymentModeNamePlaceholder": "მაგ: ქეში, საკრედიტო ბარათი",
150
+ "paymentModeHistory": "Payment mode history",
151
+ "paymentModeName": "Payment mode name: {{paymentModeName}}",
152
+ "paymentModeNameLabel": "Payment mode name",
153
+ "paymentModeNamePlaceholder": "For example, Cash, Credit Card",
154
+ "paymentModeNameRequired": "Payment mode name is required",
155
+ "paymentModeRequired": "Payment mode is required",
119
156
  "paymentModeSaved": "Payment mode was successfully saved.",
120
- "paymentModesConfig": "გადახდის რეჟიმების მორგება",
157
+ "paymentModesConfig": "Payment modes configuration",
158
+ "paymentOptionRequired": "At least one payment option is required",
159
+ "paymentProcessedSuccessfully": "Payment processed successfully",
121
160
  "payments": "გადახდები",
122
- "pleaseRequiredFields": "Please fill all required fields",
123
161
  "policyNumber": "პოლიტიკის ნომერი",
124
162
  "postWaiver": "უარყოფის შემდეგ",
125
163
  "previousPage": "წინა გვერდი",
126
- "price": "ერთეულის ფასი",
164
+ "price": "Price",
127
165
  "priceIsRequired": "ფასი აუცილებელია",
166
+ "priceMustBeNumber": "Price must be a valid number",
167
+ "priceMustBePositive": "Price must be greater than 0",
128
168
  "prices": "ფასები",
129
169
  "printBill": "ანგარიშის დაბეჭდვა",
130
170
  "printReceipt": "რეცეპტის დაბეჭდვა",
131
- "processPayment": "გადახდის დამუშავება",
171
+ "processPayment": "Process payment",
132
172
  "quantity": "რაოდენობა",
133
- "quantityGreaterThanZero": "Quantity must be greater than zero",
173
+ "quantityCannotExceed100": "Quantity cannot exceed 100",
174
+ "quantityMustBeAtLeastOne": "Quantity must be at least 1",
175
+ "quantityMustBeInteger": "Quantity must be a whole number",
176
+ "quantityMustBeNumber": "Quantity must be a valid number",
134
177
  "quantityRequired": "რაოდენობა აუცილებელია",
135
178
  "referenceNumber": "მიმართვის ნომერი",
136
- "save": "შენახვა",
179
+ "remove": "Remove",
180
+ "removePaymentMethod": "Remove payment method",
137
181
  "saveAndClose": "შენახვა და დახურვა",
182
+ "saveBill": "Save bill",
138
183
  "saving": "მიმდინარეობს შენახვა",
139
184
  "searchConcepts": "Search associated concept",
140
185
  "searching": "მიმდინარეობს ძებნა",
141
186
  "searchItems": "ელემენტებისა და სერვისების ძებნა",
142
187
  "searchThisTable": "ამ ცხრილში ძებნა",
143
- "selectBillableService": "Select a billable service...",
144
- "selectCategory": "აირჩიეთ კატეგორია",
188
+ "selectBillableService": "Select a billable service",
189
+ "selectedItems": "Selected items",
190
+ "selectLocation": "Select location",
145
191
  "selectPatientCategory": "აირჩიეთ პაციენტის კატეგორია",
146
192
  "selectPaymentMethod": "აირჩიეთ გადახდის მეთოდი",
147
- "sellingAmount": "შეიყვანეთ გასაყიდი ფასი",
148
- "sellingPrice": "გასაყიდი ფასი",
149
- "service": "სერვისი",
150
- "serviceMetrics": "სერვისის მეტრიკები",
151
- "serviceName": "სერვისის სახელი",
152
- "serviceNameExceedsLimit": "Service Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
153
- "serviceShortName": "მოკლე სახელი",
193
+ "selectPaymentMode": "Select payment mode",
194
+ "selectServiceType": "Select service type",
195
+ "sellingPrice": "Selling price",
196
+ "serviceList": "Service list",
197
+ "serviceMetrics": "Service metrics",
198
+ "serviceName": "Service name",
199
+ "serviceNameExceedsLimit": "Service name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
200
+ "serviceNameRequired": "Service name is required",
154
201
  "servicesList": "სერვისების სია",
155
- "serviceType": "სერვისის ტიპი",
156
- "shortName": "მოკლე სახელი",
157
- "shortNameExceedsLimit": "Short Name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
158
- "status": "სერვისის სტატუსი",
159
- "stockItem": "მარაგის ელემენტი",
160
- "submitting": "გადაცემა...",
202
+ "serviceStatus": "Service status",
203
+ "serviceType": "Service type",
204
+ "serviceTypeRequired": "Service type is required",
205
+ "shortName": "Short name",
206
+ "shortNameExceedsLimit": "Short name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
207
+ "status": "Service status",
208
+ "submitting": "Submitting",
161
209
  "success": "წარმატებულია",
162
210
  "total": "ჯამში",
163
- "totalAmount": "რაოდენობა სულ",
164
- "totalTendered": "სულ წარმოდგენილია",
211
+ "totalAmount": "Total amount",
212
+ "totalTendered": "Total tendered",
165
213
  "unitPrice": "ერთეულის ფასი",
214
+ "unitPriceHelperText": "This is the unit price for this item",
166
215
  "updatedSuccessfully": "Billable service updated successfully",
167
216
  "uuid": "UUID",
217
+ "uuidRequired": "UUID is required",
218
+ "validationError": "Validation error",
168
219
  "visitTime": "ვიზიტის დრო",
169
220
  "waiverForm": "უარის ფორმა"
170
221
  }
@@ -1,170 +1,221 @@
1
1
  {
2
- "actions": "Actions",
3
- "addBill": "Add bill item(s)",
4
- "addBillableServices": "Add Billable Services",
5
- "addCashPoint": "Add Cash Point",
2
+ "add": "Add",
3
+ "addBill": "Add bill items",
4
+ "addBillableService": "Add billable service",
5
+ "addCashPoint": "Add cash point",
6
6
  "addNewBillableService": "Add new billable service",
7
+ "addNewCashPoint": "Add new cash point",
8
+ "addNewPaymentMode": "Add new payment mode",
7
9
  "addNewService": "Add new service",
8
- "addPaymentMode": "Add Payment Mode",
9
- "addPaymentOptions": "Add payment option",
10
+ "addPaymentMethod": "Add payment method",
11
+ "addPaymentMode": "Add payment mode",
12
+ "addPaymentOption": "Add payment option",
10
13
  "amount": "Amount",
11
- "amountDue": "Amount Due",
14
+ "amountDue": "Amount due",
15
+ "amountMustBePositive": "Amount must be greater than 0",
16
+ "amountRequired": "Amount is required",
17
+ "amountTendered": "Amount tendered",
12
18
  "amountToWaiveAriaLabel": "Enter amount to waive",
13
19
  "amountToWaiveHelper": "Specify the amount to be deducted from the bill",
14
- "amountToWaiveLabel": "Amount to Waive",
20
+ "amountToWaiveLabel": "Amount to waive",
21
+ "associatedConcept": "Associated concept",
15
22
  "billableService": "Billable service",
16
- "billableServices": "Billable Services",
17
- "billedItems": "Billed Items",
23
+ "billableServices": "Billable services",
24
+ "billableServices__lower": "billable services",
25
+ "billAmount": "Bill amount",
26
+ "billCode": "Bill code",
27
+ "billCreatedSuccessfully": "Bill created successfully",
28
+ "billCreationError": "Bill creation error",
29
+ "billedItems": "Billed items",
18
30
  "billedTo": "Billed to",
19
- "billErrorService": "Bill service error",
31
+ "billErrorService": "Billing service error",
20
32
  "billing": "Billing",
21
33
  "billingForm": "Billing form",
22
- "billingHistory": "Billing History",
23
- "billingSettings": "Billing Settings",
34
+ "billingHistory": "Billing history",
35
+ "billingSettings": "Billing settings",
24
36
  "billItem": "Bill item",
25
- "billItems": "Bill Items",
37
+ "billItems": "Bill items",
26
38
  "billLineItemEmpty": "This bill has no line items",
27
39
  "billList": "Bill list",
28
40
  "billMetrics": "Bill metrics",
29
- "billName": " {{billName}} ",
41
+ "billName": "{{billName}}",
30
42
  "billPayment": "Bill payment",
31
43
  "billPaymentError": "Bill payment error",
32
- "billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
44
+ "billPaymentRequiredMessage": "The current patient has a pending bill. Advise the patient to settle the bill before receiving services",
45
+ "billProcessedSuccessfully": "Bill processed successfully",
46
+ "billProcessingError": "Bill processing error",
33
47
  "billServicesManagement": "Bill services management",
34
- "billsList": "Bill list",
48
+ "billsTable": "Bills table",
35
49
  "billTotal": "Bill total",
36
50
  "billWaiver": "Bill waiver",
37
51
  "billWaiverError": "Bill waiver failed {{error}}",
38
52
  "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",
53
+ "cashPointConfig": "Cash point configuration",
54
+ "cashPointHistory": "Cash point history",
55
+ "cashPointLocation": "Cash point location",
56
+ "cashPointName": "Cash point name",
57
+ "cashPointNamePlaceholder": "For example, Pharmacy Cash Point",
58
+ "cashPointNameRequired": "Cash point name is required",
45
59
  "cashPointSaved": "Cash point was successfully saved.",
46
- "cashPointUuid": "Cash Point UUID",
60
+ "cashPointUuid": "Cash point UUID",
47
61
  "cashPointUuidPlaceholder": "Enter UUID",
48
62
  "checkFilters": "Check the filters above",
49
- "clearSearchInput": "Clear search input",
50
- "clientBalance": "Client Balance",
51
63
  "confirmDeleteMessage": "Are you sure you want to delete this payment mode? Proceed cautiously.",
52
64
  "createdSuccessfully": "Billable service created successfully",
53
65
  "currentPrice": "Current price",
54
- "delete": "Delete",
55
- "deletePaymentMode": "Delete Payment Mode",
66
+ "date": "Date",
67
+ "dateAndTime": "Date and time",
68
+ "dateOfPayment": "Date of payment",
69
+ "deletePaymentMode": "Delete payment mode",
70
+ "deleting": "Deleting",
56
71
  "description": "Description",
57
- "descriptionPlaceholder": "e.g., Used for all cash transactions",
72
+ "descriptionPlaceholder": "For example, Used for all cash transactions",
58
73
  "discard": "Discard",
59
74
  "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",
75
+ "discountAmount": "Discount amount",
62
76
  "editBillableService": "Edit billable service",
63
- "editBillableServices": "Edit Billable Services",
64
- "editBillLineItem": "Edit bill line item?",
77
+ "editBillLineItem": "Edit bill line item",
65
78
  "editThisBillItem": "Edit this bill item",
66
79
  "enterAmount": "Enter amount",
67
- "enterConcept": "Associated concept",
68
- "enterReferenceNumber": "Enter ref. number",
69
- "error": "Error",
80
+ "enterReferenceNumber": "Enter reference number",
81
+ "enterSellingPrice": "Enter selling price",
82
+ "enterServiceName": "Enter service name",
83
+ "enterServiceShortName": "Enter service short name",
84
+ "errorCreatingBill": "An error occurred while creating the bill",
70
85
  "errorDeletingPaymentMode": "An error occurred while deleting the payment mode.",
71
86
  "errorFetchingCashPoints": "An error occurred while fetching cash points.",
72
87
  "errorFetchingLocations": "An error occurred while fetching locations.",
73
88
  "errorFetchingPaymentModes": "An error occurred while fetching payment modes.",
89
+ "errorLoadingBillableServices": "Error loading billable services",
74
90
  "errorLoadingBillServices": "Error loading bill services",
75
91
  "errorLoadingPaymentModes": "Payment modes error",
92
+ "errorPrintingInvoice": "Error printing invoice",
93
+ "errorProcessingPayment": "Error processing payment",
76
94
  "errorSavingCashPoint": "An error occurred while saving the cash point.",
77
95
  "errorSavingPaymentMode": "An error occurred while saving the payment mode.",
78
- "filterBy": "Filter by",
96
+ "filterBy": "Filter by:",
79
97
  "filterTable": "Filter table",
80
98
  "grandTotal": "Grand total",
81
99
  "home": "Home",
82
100
  "identifier": "Identifier",
83
- "inlineLoading": "Loading bill items...",
84
101
  "insuranceScheme": "Insurance scheme",
102
+ "invalidUuidFormat": "Invalid UUID format",
85
103
  "invalidWaiverAmount": "Invalid waiver amount",
104
+ "inventoryItem": "Inventory item",
86
105
  "invoice": "Invoice",
106
+ "invoiceDate": "Invoice date",
87
107
  "invoiceError": "Invoice error",
108
+ "invoiceLineItems": "Invoice line items",
109
+ "invoiceNumber": "Invoice #",
110
+ "invoiceStatus": "Invoice status",
88
111
  "item": "Item",
89
112
  "itemsToBeBilled": "Items to be billed",
90
113
  "launchBillForm": "Launch bill form",
91
114
  "lineItems": "Line items",
92
- "loading": "Loading data...",
93
- "loadingBillingServices": "Loading billing services...",
115
+ "lineItemUpdated": "Line item updated",
116
+ "lineItemUpdateErrorDefault": "Unable to update the bill line item. Please try again.",
117
+ "lineItemUpdateFailed": "Failed to update line item",
118
+ "lineItemUpdateSuccess": "The bill line item has been updated successfully",
119
+ "loading": "Loading data",
120
+ "loadingBillInfo": "Loading bill information",
121
+ "loadingBillingServices": "Loading billing services",
122
+ "loadingBillItems": "Loading bill items",
123
+ "loadingBillMetrics": "Loading bill metrics",
94
124
  "loadingDescription": "Loading",
95
- "location": "Select Location",
125
+ "loadingServiceMetrics": "Loading service metrics",
126
+ "location": "Location",
127
+ "locationRequired": "Location is required",
96
128
  "manageBillableServices": "Manage billable services",
97
129
  "name": "Name",
98
130
  "nextPage": "Next page",
99
- "noBilltoDisplay": "There are no bills to display for this patient",
131
+ "noBillToDisplay": "There are no bills to display for this patient",
100
132
  "noMatchingBillsToDisplay": "No matching bills to display",
101
133
  "noMatchingItemsToDisplay": "No matching items to display",
102
134
  "noMatchingServicesToDisplay": "No matching services to display",
103
- "noResultsFor": "No results for",
104
- "noResultsFound": "No results found",
105
- "noServicesToDisplay": "There are no services to display",
135
+ "noResultsFor": "No results for {searchTerm}",
136
+ "number": "Number",
106
137
  "ok": "OK",
107
- "patientBillingAlert": "Patient Billing Alert",
108
- "patientBills": "Patient bill",
138
+ "patientBill": "Patient bill",
139
+ "patientBillingAlert": "Patient billing alert",
140
+ "patientBills": "Patient bills",
109
141
  "patientBillsDescription": "List of patient bills",
110
142
  "patientCategory": "Patient category",
111
- "paymentDetails": "Payment Details",
143
+ "paymentAmountCannotExceedAmountDue": "Payment amount cannot exceed amount due",
144
+ "paymentDetails": "Payment details",
112
145
  "paymentMethod": "Payment method",
146
+ "paymentMethodRequired": "Payment method is required for all items",
113
147
  "paymentMethods": "Payment methods",
114
- "paymentMode": "Payment Mode",
148
+ "paymentMode": "Payment mode",
115
149
  "paymentModeDeleted": "Payment mode was successfully deleted.",
116
- "paymentModeHistory": "Payment Mode History",
117
- "paymentModeName": "Payment Mode Name",
118
- "paymentModeNamePlaceholder": "e.g., Cash, Credit Card",
150
+ "paymentModeHistory": "Payment mode history",
151
+ "paymentModeName": "Payment mode name: {{paymentModeName}}",
152
+ "paymentModeNameLabel": "Payment mode name",
153
+ "paymentModeNamePlaceholder": "For example, Cash, Credit Card",
154
+ "paymentModeNameRequired": "Payment mode name is required",
155
+ "paymentModeRequired": "Payment mode is required",
119
156
  "paymentModeSaved": "Payment mode was successfully saved.",
120
- "paymentModesConfig": "Payment Modes Config",
157
+ "paymentModesConfig": "Payment modes configuration",
158
+ "paymentOptionRequired": "At least one payment option is required",
159
+ "paymentProcessedSuccessfully": "Payment processed successfully",
121
160
  "payments": "Payments",
122
- "pleaseRequiredFields": "Please fill all required fields",
123
161
  "policyNumber": "Policy number",
124
162
  "postWaiver": "Post waiver",
125
163
  "previousPage": "Previous page",
126
164
  "price": "Price",
127
165
  "priceIsRequired": "Price is required",
166
+ "priceMustBeNumber": "Price must be a valid number",
167
+ "priceMustBePositive": "Price must be greater than 0",
128
168
  "prices": "Prices",
129
169
  "printBill": "Print bill",
130
170
  "printReceipt": "Print receipt",
131
- "processPayment": "Process Payment",
171
+ "processPayment": "Process payment",
132
172
  "quantity": "Quantity",
133
- "quantityGreaterThanZero": "Quantity must be greater than zero",
173
+ "quantityCannotExceed100": "Quantity cannot exceed 100",
174
+ "quantityMustBeAtLeastOne": "Quantity must be at least 1",
175
+ "quantityMustBeInteger": "Quantity must be a whole number",
176
+ "quantityMustBeNumber": "Quantity must be a valid number",
134
177
  "quantityRequired": "Quantity is required",
135
178
  "referenceNumber": "Reference number",
136
- "save": "Save",
179
+ "remove": "Remove",
180
+ "removePaymentMethod": "Remove payment method",
137
181
  "saveAndClose": "Save and close",
182
+ "saveBill": "Save bill",
138
183
  "saving": "Saving",
139
184
  "searchConcepts": "Search associated concept",
140
185
  "searching": "Searching",
141
186
  "searchItems": "Search items and services",
142
187
  "searchThisTable": "Search this table",
143
- "selectBillableService": "Select a billable service...",
144
- "selectCategory": "Select category",
188
+ "selectBillableService": "Select a billable service",
189
+ "selectedItems": "Selected items",
190
+ "selectLocation": "Select location",
145
191
  "selectPatientCategory": "Select patient category",
146
192
  "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",
193
+ "selectPaymentMode": "Select payment mode",
194
+ "selectServiceType": "Select service type",
195
+ "sellingPrice": "Selling price",
196
+ "serviceList": "Service list",
197
+ "serviceMetrics": "Service metrics",
198
+ "serviceName": "Service name",
199
+ "serviceNameExceedsLimit": "Service name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
200
+ "serviceNameRequired": "Service name is required",
154
201
  "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...",
202
+ "serviceStatus": "Service status",
203
+ "serviceType": "Service type",
204
+ "serviceTypeRequired": "Service type is required",
205
+ "shortName": "Short name",
206
+ "shortNameExceedsLimit": "Short name exceeds the character limit of {{MAX_NAME_LENGTH}}.",
207
+ "status": "Service status",
208
+ "submitting": "Submitting",
161
209
  "success": "Success",
162
210
  "total": "Total",
163
- "totalAmount": "Total Amount",
164
- "totalTendered": "Total Tendered",
211
+ "totalAmount": "Total amount",
212
+ "totalTendered": "Total tendered",
165
213
  "unitPrice": "Unit price",
214
+ "unitPriceHelperText": "This is the unit price for this item",
166
215
  "updatedSuccessfully": "Billable service updated successfully",
167
216
  "uuid": "UUID",
217
+ "uuidRequired": "UUID is required",
218
+ "validationError": "Validation error",
168
219
  "visitTime": "Visit time",
169
220
  "waiverForm": "Waiver form"
170
221
  }