@openmrs/esm-billing-app 1.0.1-pre.14
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.
- package/.editorconfig +12 -0
- package/.eslintignore +2 -0
- package/.eslintrc +57 -0
- package/.husky/pre-commit +7 -0
- package/.husky/pre-push +6 -0
- package/.prettierignore +14 -0
- package/.turbo.json +18 -0
- package/.yarn/plugins/@yarnpkg/plugin-outdated.cjs +35 -0
- package/LICENSE +401 -0
- package/README.md +7 -0
- package/__mocks__/bills.mock.ts +392 -0
- package/__mocks__/delivery-summary.mock.ts +87 -0
- package/__mocks__/encounter-observation.mock.ts +10649 -0
- package/__mocks__/encounter-observations.mock.ts +6187 -0
- package/__mocks__/hiv-summary.mock.ts +22 -0
- package/__mocks__/patient-summary.mock.ts +32 -0
- package/__mocks__/patient.mock.ts +59 -0
- package/__mocks__/program-summary.mock.ts +43 -0
- package/__mocks__/react-i18next.js +57 -0
- package/dist/294.js +2 -0
- package/dist/294.js.LICENSE.txt +9 -0
- package/dist/294.js.map +1 -0
- package/dist/319.js +1 -0
- package/dist/384.js +1 -0
- package/dist/384.js.map +1 -0
- package/dist/421.js +1 -0
- package/dist/421.js.map +1 -0
- package/dist/450.js +1 -0
- package/dist/450.js.map +1 -0
- package/dist/476.js +1 -0
- package/dist/476.js.map +1 -0
- package/dist/574.js +1 -0
- package/dist/757.js +1 -0
- package/dist/788.js +1 -0
- package/dist/800.js +2 -0
- package/dist/800.js.LICENSE.txt +3 -0
- package/dist/800.js.map +1 -0
- package/dist/807.js +1 -0
- package/dist/833.js +1 -0
- package/dist/935.js +2 -0
- package/dist/935.js.LICENSE.txt +19 -0
- package/dist/935.js.map +1 -0
- package/dist/96.js +2 -0
- package/dist/96.js.LICENSE.txt +47 -0
- package/dist/96.js.map +1 -0
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +47 -0
- package/dist/main.js.map +1 -0
- package/dist/openmrs-esm-billing-app.js +1 -0
- package/dist/openmrs-esm-billing-app.js.buildmanifest.json +462 -0
- package/dist/openmrs-esm-billing-app.js.map +1 -0
- package/dist/routes.json +1 -0
- package/e2e/README.md +115 -0
- package/e2e/core/global-setup.ts +32 -0
- package/e2e/core/index.ts +1 -0
- package/e2e/core/test.ts +20 -0
- package/e2e/fixtures/api.ts +26 -0
- package/e2e/fixtures/index.ts +1 -0
- package/e2e/pages/home-page.ts +9 -0
- package/e2e/pages/index.ts +1 -0
- package/e2e/specs/sample-test.spec.ts +11 -0
- package/e2e/support/github/Dockerfile +34 -0
- package/e2e/support/github/docker-compose.yml +24 -0
- package/e2e/support/github/run-e2e-docker-env.sh +49 -0
- package/example.env +6 -0
- package/i18next-parser.config.js +89 -0
- package/jest.config.js +34 -0
- package/package.json +123 -0
- package/playwright.config.ts +32 -0
- package/prettier.config.js +8 -0
- package/src/bill-history/bill-history.component.tsx +187 -0
- package/src/bill-history/bill-history.scss +151 -0
- package/src/bill-history/bill-history.test.tsx +122 -0
- package/src/billable-services/bill-waiver/bill-selection.component.tsx +72 -0
- package/src/billable-services/bill-waiver/bill-waiver-form.component.tsx +108 -0
- package/src/billable-services/bill-waiver/bill-waiver-form.scss +34 -0
- package/src/billable-services/bill-waiver/bill-waiver.component.tsx +32 -0
- package/src/billable-services/bill-waiver/bill-waiver.scss +10 -0
- package/src/billable-services/bill-waiver/patient-bills.component.tsx +135 -0
- package/src/billable-services/bill-waiver/utils.ts +41 -0
- package/src/billable-services/billable-service.resource.ts +71 -0
- package/src/billable-services/billable-services-home.component.tsx +51 -0
- package/src/billable-services/billable-services.component.tsx +255 -0
- package/src/billable-services/billable-services.scss +218 -0
- package/src/billable-services/billable-services.test.tsx +16 -0
- package/src/billable-services/create-edit/add-billable-service.component.tsx +322 -0
- package/src/billable-services/create-edit/add-billable-service.scss +131 -0
- package/src/billable-services/create-edit/add-billable-service.test.tsx +152 -0
- package/src/billable-services/dashboard/dashboard.component.tsx +15 -0
- package/src/billable-services/dashboard/dashboard.scss +27 -0
- package/src/billable-services/dashboard/dashboard.test.tsx +11 -0
- package/src/billable-services/dashboard/service-metrics.component.tsx +42 -0
- package/src/billable-services-admin-card-link.component.test.tsx +21 -0
- package/src/billable-services-admin-card-link.component.tsx +25 -0
- package/src/billing-dashboard/billing-dashboard.component.tsx +20 -0
- package/src/billing-dashboard/billing-dashboard.scss +27 -0
- package/src/billing-dashboard/billing-dashboard.test.tsx +13 -0
- package/src/billing-form/billing-checkin-form.component.tsx +131 -0
- package/src/billing-form/billing-checkin-form.scss +13 -0
- package/src/billing-form/billing-checkin-form.test.tsx +134 -0
- package/src/billing-form/billing-form.component.tsx +25 -0
- package/src/billing-form/billing-form.resource.ts +31 -0
- package/src/billing-form/billing-form.scss +5 -0
- package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +173 -0
- package/src/billing-form/visit-attributes/visit-attributes-form.scss +22 -0
- package/src/billing-header/billing-header.component.tsx +43 -0
- package/src/billing-header/billing-header.scss +83 -0
- package/src/billing-header/billing-illustration.component.tsx +30 -0
- package/src/billing.resource.ts +120 -0
- package/src/bills-table/bills-table.component.tsx +280 -0
- package/src/bills-table/bills-table.scss +181 -0
- package/src/bills-table/bills-table.test.tsx +154 -0
- package/src/config-schema.ts +3 -0
- package/src/dashboard.meta.ts +6 -0
- package/src/declarations.d.ts +4 -0
- package/src/helpers/functions.ts +63 -0
- package/src/helpers/index.ts +1 -0
- package/src/index.ts +56 -0
- package/src/invoice/invoice-table.component.tsx +185 -0
- package/src/invoice/invoice-table.scss +91 -0
- package/src/invoice/invoice.component.tsx +138 -0
- package/src/invoice/invoice.scss +93 -0
- package/src/invoice/invoice.test.tsx +242 -0
- package/src/invoice/payments/invoice-breakdown/invoice-breakdown.component.tsx +17 -0
- package/src/invoice/payments/invoice-breakdown/invoice-breakdown.scss +29 -0
- package/src/invoice/payments/payment-form/payment-form.component.tsx +105 -0
- package/src/invoice/payments/payment-form/payment-form.scss +54 -0
- package/src/invoice/payments/payment-history/payment-history.component.tsx +68 -0
- package/src/invoice/payments/payment.resource.ts +43 -0
- package/src/invoice/payments/payments.component.tsx +140 -0
- package/src/invoice/payments/payments.scss +46 -0
- package/src/invoice/payments/utils.ts +30 -0
- package/src/invoice/payments/visit-tags/visit-attribute.component.tsx +21 -0
- package/src/invoice/printable-invoice/print-receipt.component.tsx +28 -0
- package/src/invoice/printable-invoice/print-receipt.scss +14 -0
- package/src/invoice/printable-invoice/printable-footer.component.tsx +19 -0
- package/src/invoice/printable-invoice/printable-footer.scss +17 -0
- package/src/invoice/printable-invoice/printable-footer.test.tsx +30 -0
- package/src/invoice/printable-invoice/printable-invoice-header.component.tsx +63 -0
- package/src/invoice/printable-invoice/printable-invoice-header.scss +61 -0
- package/src/invoice/printable-invoice/printable-invoice-header.test.tsx +58 -0
- package/src/invoice/printable-invoice/printable-invoice.component.tsx +146 -0
- package/src/invoice/printable-invoice/printable-invoice.scss +50 -0
- package/src/left-panel-link.component.tsx +41 -0
- package/src/left-panel-link.test.tsx +38 -0
- package/src/metrics-cards/card.component.tsx +11 -0
- package/src/metrics-cards/card.scss +20 -0
- package/src/metrics-cards/metrics-cards.component.tsx +42 -0
- package/src/metrics-cards/metrics-cards.scss +12 -0
- package/src/metrics-cards/metrics-cards.test.tsx +41 -0
- package/src/metrics-cards/metrics.resource.ts +45 -0
- package/src/modal/require-payment-modal.component.tsx +81 -0
- package/src/modal/require-payment.scss +6 -0
- package/src/root.component.tsx +19 -0
- package/src/root.scss +30 -0
- package/src/routes.json +79 -0
- package/src/setup-tests.ts +13 -0
- package/src/types/index.ts +167 -0
- package/test-helpers.tsx +23 -0
- package/translations/am.json +107 -0
- package/translations/en.json +107 -0
- package/translations/es.json +107 -0
- package/translations/fr.json +107 -0
- package/translations/he.json +107 -0
- package/translations/km.json +107 -0
- package/tsconfig.json +16 -0
- package/webpack.config.js +1 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBillableServices": "Add Billable Services",
|
|
4
|
+
"addNewBillableService": "Add new billable service",
|
|
5
|
+
"addNewService": "Add new service",
|
|
6
|
+
"addPaymentOptions": "Add payment option",
|
|
7
|
+
"amount": "Amount",
|
|
8
|
+
"amountToWaiveAriaLabel": "Enter amount to waive",
|
|
9
|
+
"amountToWaiveHelper": "Specify the amount to be deducted from the bill",
|
|
10
|
+
"amountToWaiveLabel": "Amount to Waive",
|
|
11
|
+
"billableService": "Billable service",
|
|
12
|
+
"billableServices": "Billable Services",
|
|
13
|
+
"billedItems": "Billed Items",
|
|
14
|
+
"billedTo": "Billed to",
|
|
15
|
+
"billErrorService": "Bill service error",
|
|
16
|
+
"billing": "Billing",
|
|
17
|
+
"billItem": "Bill item",
|
|
18
|
+
"billItems": "Bill Items",
|
|
19
|
+
"billList": "Bill list",
|
|
20
|
+
"billMetrics": "Bill metrics",
|
|
21
|
+
"billName": " {{billName}} ",
|
|
22
|
+
"billPayment": "Bill payment",
|
|
23
|
+
"billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
|
|
24
|
+
"billServicesManagement": "Bill services management",
|
|
25
|
+
"billsList": "Bill list",
|
|
26
|
+
"billTotal": "Bill total",
|
|
27
|
+
"billWaiver": "Bill waiver",
|
|
28
|
+
"billWaiverError": "Bill waiver failed {{error}}",
|
|
29
|
+
"billWaiverSuccess": "Bill waiver successful",
|
|
30
|
+
"cancel": "Cancel",
|
|
31
|
+
"checkFilters": "Check the filters above",
|
|
32
|
+
"discard": "Discard",
|
|
33
|
+
"discount": "Discount",
|
|
34
|
+
"drug": "Drug",
|
|
35
|
+
"enterAmount": "Enter amount",
|
|
36
|
+
"enterConcept": "Associated concept",
|
|
37
|
+
"enterReferenceNumber": "Enter ref. number",
|
|
38
|
+
"errorLoadingBillServices": "Error loading bill services",
|
|
39
|
+
"errorLoadingPaymentModes": "Payment modes error",
|
|
40
|
+
"filterBy": "Filter by",
|
|
41
|
+
"filterTable": "Filter table",
|
|
42
|
+
"home": "Home",
|
|
43
|
+
"identifier": "Identifier",
|
|
44
|
+
"inlineLoading": "Loading bill items...",
|
|
45
|
+
"insuranceScheme": "Insurance scheme",
|
|
46
|
+
"invalidWaiverAmount": "Invalid waiver amount",
|
|
47
|
+
"invoice": "Invoice",
|
|
48
|
+
"invoiceError": "Invoice error",
|
|
49
|
+
"item": "Item",
|
|
50
|
+
"itemsToBeBilled": "Items to be billed",
|
|
51
|
+
"launchBillForm": "Launch bill form",
|
|
52
|
+
"lineItems": "Line items",
|
|
53
|
+
"loading": "Loading data...",
|
|
54
|
+
"loadingBillingServices": "Loading billing services...",
|
|
55
|
+
"loadingDescription": "Loading",
|
|
56
|
+
"manageBillableServices": "Manage billable services",
|
|
57
|
+
"name": "Name",
|
|
58
|
+
"nextPage": "Next page",
|
|
59
|
+
"noBilltoDisplay": "There are no bills to display for this patient",
|
|
60
|
+
"noMatchingBillsToDisplay": "No matching bills to display",
|
|
61
|
+
"noMatchingItemsToDisplay": "No matching items to display",
|
|
62
|
+
"noMatchingServicesToDisplay": "No matching services to display",
|
|
63
|
+
"nonDrug": "Non drug",
|
|
64
|
+
"noResultsFor": "No results for",
|
|
65
|
+
"noServicesToDisplay": "There are no services to display",
|
|
66
|
+
"ok": "OK",
|
|
67
|
+
"patientBillingAlert": "Patient Billing Alert",
|
|
68
|
+
"patientBills": "Patient bill",
|
|
69
|
+
"patientBillsDescription": "List of patient bills",
|
|
70
|
+
"patientCategory": "Patient category",
|
|
71
|
+
"paymentDetails": "Payment Details",
|
|
72
|
+
"paymentMethod": "Payment method",
|
|
73
|
+
"paymentMethods": "Payment methods",
|
|
74
|
+
"paymentMode": "Payment Mode",
|
|
75
|
+
"payments": "Payments",
|
|
76
|
+
"policyNumber": "Policy number",
|
|
77
|
+
"postWaiver": "Post waiver",
|
|
78
|
+
"previousPage": "Previous page",
|
|
79
|
+
"prices": "Prices",
|
|
80
|
+
"printBill": "Print bill",
|
|
81
|
+
"printReceipt": "Print receipt",
|
|
82
|
+
"processPayment": "Process Payment",
|
|
83
|
+
"quantity": "Quantity",
|
|
84
|
+
"referenceNumber": "Reference number",
|
|
85
|
+
"save": "Save",
|
|
86
|
+
"searchConcepts": "Search associated concept",
|
|
87
|
+
"searching": "Searching",
|
|
88
|
+
"searchThisTable": "Search this table",
|
|
89
|
+
"selectBillableService": "Select a billable service...",
|
|
90
|
+
"selectCategory": "Select category",
|
|
91
|
+
"selectPaymentMethod": "Select payment method",
|
|
92
|
+
"sellingAmount": "Enter selling price",
|
|
93
|
+
"sellingPrice": "Selling Price",
|
|
94
|
+
"serviceMetrics": "Service Metrics",
|
|
95
|
+
"serviceName": "Service Name",
|
|
96
|
+
"serviceShortName": "Short Name",
|
|
97
|
+
"servicesList": "Services list",
|
|
98
|
+
"serviceType": "Service Type",
|
|
99
|
+
"shortName": "Short Name",
|
|
100
|
+
"status": "Service Status",
|
|
101
|
+
"total": "Total",
|
|
102
|
+
"totalAmount": "Total Amount",
|
|
103
|
+
"totalTendered": "Total Tendered",
|
|
104
|
+
"unitPrice": "Unit price",
|
|
105
|
+
"visitTime": "Visit time",
|
|
106
|
+
"waiverForm": "Waiver form"
|
|
107
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBillableServices": "Add Billable Services",
|
|
4
|
+
"addNewBillableService": "Add new billable service",
|
|
5
|
+
"addNewService": "Add new service",
|
|
6
|
+
"addPaymentOptions": "Add payment option",
|
|
7
|
+
"amount": "Amount",
|
|
8
|
+
"amountToWaiveAriaLabel": "Enter amount to waive",
|
|
9
|
+
"amountToWaiveHelper": "Specify the amount to be deducted from the bill",
|
|
10
|
+
"amountToWaiveLabel": "Amount to Waive",
|
|
11
|
+
"billableService": "Billable service",
|
|
12
|
+
"billableServices": "Billable Services",
|
|
13
|
+
"billedItems": "Billed Items",
|
|
14
|
+
"billedTo": "Billed to",
|
|
15
|
+
"billErrorService": "Bill service error",
|
|
16
|
+
"billing": "Billing",
|
|
17
|
+
"billItem": "Bill item",
|
|
18
|
+
"billItems": "Bill Items",
|
|
19
|
+
"billList": "Bill list",
|
|
20
|
+
"billMetrics": "Bill metrics",
|
|
21
|
+
"billName": " {{billName}} ",
|
|
22
|
+
"billPayment": "Bill payment",
|
|
23
|
+
"billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
|
|
24
|
+
"billServicesManagement": "Bill services management",
|
|
25
|
+
"billsList": "Bill list",
|
|
26
|
+
"billTotal": "Bill total",
|
|
27
|
+
"billWaiver": "Bill waiver",
|
|
28
|
+
"billWaiverError": "Bill waiver failed {{error}}",
|
|
29
|
+
"billWaiverSuccess": "Bill waiver successful",
|
|
30
|
+
"cancel": "Cancel",
|
|
31
|
+
"checkFilters": "Check the filters above",
|
|
32
|
+
"discard": "Discard",
|
|
33
|
+
"discount": "Discount",
|
|
34
|
+
"drug": "Drug",
|
|
35
|
+
"enterAmount": "Enter amount",
|
|
36
|
+
"enterConcept": "Associated concept",
|
|
37
|
+
"enterReferenceNumber": "Enter ref. number",
|
|
38
|
+
"errorLoadingBillServices": "Error loading bill services",
|
|
39
|
+
"errorLoadingPaymentModes": "Payment modes error",
|
|
40
|
+
"filterBy": "Filter by",
|
|
41
|
+
"filterTable": "Filter table",
|
|
42
|
+
"home": "Home",
|
|
43
|
+
"identifier": "Identifier",
|
|
44
|
+
"inlineLoading": "Loading bill items...",
|
|
45
|
+
"insuranceScheme": "Insurance scheme",
|
|
46
|
+
"invalidWaiverAmount": "Invalid waiver amount",
|
|
47
|
+
"invoice": "Invoice",
|
|
48
|
+
"invoiceError": "Invoice error",
|
|
49
|
+
"item": "Item",
|
|
50
|
+
"itemsToBeBilled": "Items to be billed",
|
|
51
|
+
"launchBillForm": "Launch bill form",
|
|
52
|
+
"lineItems": "Line items",
|
|
53
|
+
"loading": "Loading data...",
|
|
54
|
+
"loadingBillingServices": "Loading billing services...",
|
|
55
|
+
"loadingDescription": "Loading",
|
|
56
|
+
"manageBillableServices": "Manage billable services",
|
|
57
|
+
"name": "Name",
|
|
58
|
+
"nextPage": "Next page",
|
|
59
|
+
"noBilltoDisplay": "There are no bills to display for this patient",
|
|
60
|
+
"noMatchingBillsToDisplay": "No matching bills to display",
|
|
61
|
+
"noMatchingItemsToDisplay": "No matching items to display",
|
|
62
|
+
"noMatchingServicesToDisplay": "No matching services to display",
|
|
63
|
+
"nonDrug": "Non drug",
|
|
64
|
+
"noResultsFor": "No results for",
|
|
65
|
+
"noServicesToDisplay": "There are no services to display",
|
|
66
|
+
"ok": "OK",
|
|
67
|
+
"patientBillingAlert": "Patient Billing Alert",
|
|
68
|
+
"patientBills": "Patient bill",
|
|
69
|
+
"patientBillsDescription": "List of patient bills",
|
|
70
|
+
"patientCategory": "Patient category",
|
|
71
|
+
"paymentDetails": "Payment Details",
|
|
72
|
+
"paymentMethod": "Payment method",
|
|
73
|
+
"paymentMethods": "Payment methods",
|
|
74
|
+
"paymentMode": "Payment Mode",
|
|
75
|
+
"payments": "Payments",
|
|
76
|
+
"policyNumber": "Policy number",
|
|
77
|
+
"postWaiver": "Post waiver",
|
|
78
|
+
"previousPage": "Previous page",
|
|
79
|
+
"prices": "Prices",
|
|
80
|
+
"printBill": "Print bill",
|
|
81
|
+
"printReceipt": "Print receipt",
|
|
82
|
+
"processPayment": "Process Payment",
|
|
83
|
+
"quantity": "Quantity",
|
|
84
|
+
"referenceNumber": "Reference number",
|
|
85
|
+
"save": "Save",
|
|
86
|
+
"searchConcepts": "Search associated concept",
|
|
87
|
+
"searching": "Searching",
|
|
88
|
+
"searchThisTable": "Search this table",
|
|
89
|
+
"selectBillableService": "Select a billable service...",
|
|
90
|
+
"selectCategory": "Select category",
|
|
91
|
+
"selectPaymentMethod": "Select payment method",
|
|
92
|
+
"sellingAmount": "Enter selling price",
|
|
93
|
+
"sellingPrice": "Selling Price",
|
|
94
|
+
"serviceMetrics": "Service Metrics",
|
|
95
|
+
"serviceName": "Service Name",
|
|
96
|
+
"serviceShortName": "Short Name",
|
|
97
|
+
"servicesList": "Services list",
|
|
98
|
+
"serviceType": "Service Type",
|
|
99
|
+
"shortName": "Short Name",
|
|
100
|
+
"status": "Service Status",
|
|
101
|
+
"total": "Total",
|
|
102
|
+
"totalAmount": "Total Amount",
|
|
103
|
+
"totalTendered": "Total Tendered",
|
|
104
|
+
"unitPrice": "Unit price",
|
|
105
|
+
"visitTime": "Visit time",
|
|
106
|
+
"waiverForm": "Waiver form"
|
|
107
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBillableServices": "Add Billable Services",
|
|
4
|
+
"addNewBillableService": "Add new billable service",
|
|
5
|
+
"addNewService": "Add new service",
|
|
6
|
+
"addPaymentOptions": "Add payment option",
|
|
7
|
+
"amount": "Amount",
|
|
8
|
+
"amountToWaiveAriaLabel": "Enter amount to waive",
|
|
9
|
+
"amountToWaiveHelper": "Specify the amount to be deducted from the bill",
|
|
10
|
+
"amountToWaiveLabel": "Amount to Waive",
|
|
11
|
+
"billableService": "Billable service",
|
|
12
|
+
"billableServices": "Billable Services",
|
|
13
|
+
"billedItems": "Billed Items",
|
|
14
|
+
"billedTo": "Billed to",
|
|
15
|
+
"billErrorService": "Bill service error",
|
|
16
|
+
"billing": "Billing",
|
|
17
|
+
"billItem": "Bill item",
|
|
18
|
+
"billItems": "Bill Items",
|
|
19
|
+
"billList": "Bill list",
|
|
20
|
+
"billMetrics": "Bill metrics",
|
|
21
|
+
"billName": " {{billName}} ",
|
|
22
|
+
"billPayment": "Bill payment",
|
|
23
|
+
"billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
|
|
24
|
+
"billServicesManagement": "Bill services management",
|
|
25
|
+
"billsList": "Bill list",
|
|
26
|
+
"billTotal": "Bill total",
|
|
27
|
+
"billWaiver": "Bill waiver",
|
|
28
|
+
"billWaiverError": "Bill waiver failed {{error}}",
|
|
29
|
+
"billWaiverSuccess": "Bill waiver successful",
|
|
30
|
+
"cancel": "Cancel",
|
|
31
|
+
"checkFilters": "Check the filters above",
|
|
32
|
+
"discard": "Discard",
|
|
33
|
+
"discount": "Discount",
|
|
34
|
+
"drug": "Drug",
|
|
35
|
+
"enterAmount": "Enter amount",
|
|
36
|
+
"enterConcept": "Associated concept",
|
|
37
|
+
"enterReferenceNumber": "Enter ref. number",
|
|
38
|
+
"errorLoadingBillServices": "Error loading bill services",
|
|
39
|
+
"errorLoadingPaymentModes": "Payment modes error",
|
|
40
|
+
"filterBy": "Filter by",
|
|
41
|
+
"filterTable": "Filter table",
|
|
42
|
+
"home": "Home",
|
|
43
|
+
"identifier": "Identifier",
|
|
44
|
+
"inlineLoading": "Loading bill items...",
|
|
45
|
+
"insuranceScheme": "Insurance scheme",
|
|
46
|
+
"invalidWaiverAmount": "Invalid waiver amount",
|
|
47
|
+
"invoice": "Invoice",
|
|
48
|
+
"invoiceError": "Invoice error",
|
|
49
|
+
"item": "Item",
|
|
50
|
+
"itemsToBeBilled": "Items to be billed",
|
|
51
|
+
"launchBillForm": "Launch bill form",
|
|
52
|
+
"lineItems": "Line items",
|
|
53
|
+
"loading": "Loading data...",
|
|
54
|
+
"loadingBillingServices": "Loading billing services...",
|
|
55
|
+
"loadingDescription": "Loading",
|
|
56
|
+
"manageBillableServices": "Manage billable services",
|
|
57
|
+
"name": "Name",
|
|
58
|
+
"nextPage": "Next page",
|
|
59
|
+
"noBilltoDisplay": "There are no bills to display for this patient",
|
|
60
|
+
"noMatchingBillsToDisplay": "No matching bills to display",
|
|
61
|
+
"noMatchingItemsToDisplay": "No matching items to display",
|
|
62
|
+
"noMatchingServicesToDisplay": "No matching services to display",
|
|
63
|
+
"nonDrug": "Non drug",
|
|
64
|
+
"noResultsFor": "No results for",
|
|
65
|
+
"noServicesToDisplay": "There are no services to display",
|
|
66
|
+
"ok": "OK",
|
|
67
|
+
"patientBillingAlert": "Patient Billing Alert",
|
|
68
|
+
"patientBills": "Patient bill",
|
|
69
|
+
"patientBillsDescription": "List of patient bills",
|
|
70
|
+
"patientCategory": "Patient category",
|
|
71
|
+
"paymentDetails": "Payment Details",
|
|
72
|
+
"paymentMethod": "Payment method",
|
|
73
|
+
"paymentMethods": "Payment methods",
|
|
74
|
+
"paymentMode": "Payment Mode",
|
|
75
|
+
"payments": "Payments",
|
|
76
|
+
"policyNumber": "Policy number",
|
|
77
|
+
"postWaiver": "Post waiver",
|
|
78
|
+
"previousPage": "Previous page",
|
|
79
|
+
"prices": "Prices",
|
|
80
|
+
"printBill": "Print bill",
|
|
81
|
+
"printReceipt": "Print receipt",
|
|
82
|
+
"processPayment": "Process Payment",
|
|
83
|
+
"quantity": "Quantity",
|
|
84
|
+
"referenceNumber": "Reference number",
|
|
85
|
+
"save": "Save",
|
|
86
|
+
"searchConcepts": "Search associated concept",
|
|
87
|
+
"searching": "Searching",
|
|
88
|
+
"searchThisTable": "Search this table",
|
|
89
|
+
"selectBillableService": "Select a billable service...",
|
|
90
|
+
"selectCategory": "Select category",
|
|
91
|
+
"selectPaymentMethod": "Select payment method",
|
|
92
|
+
"sellingAmount": "Enter selling price",
|
|
93
|
+
"sellingPrice": "Selling Price",
|
|
94
|
+
"serviceMetrics": "Service Metrics",
|
|
95
|
+
"serviceName": "Service Name",
|
|
96
|
+
"serviceShortName": "Short Name",
|
|
97
|
+
"servicesList": "Services list",
|
|
98
|
+
"serviceType": "Service Type",
|
|
99
|
+
"shortName": "Short Name",
|
|
100
|
+
"status": "Service Status",
|
|
101
|
+
"total": "Total",
|
|
102
|
+
"totalAmount": "Total Amount",
|
|
103
|
+
"totalTendered": "Total Tendered",
|
|
104
|
+
"unitPrice": "Unit price",
|
|
105
|
+
"visitTime": "Visit time",
|
|
106
|
+
"waiverForm": "Waiver form"
|
|
107
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": "Actions",
|
|
3
|
+
"addBillableServices": "Add Billable Services",
|
|
4
|
+
"addNewBillableService": "Add new billable service",
|
|
5
|
+
"addNewService": "Add new service",
|
|
6
|
+
"addPaymentOptions": "Add payment option",
|
|
7
|
+
"amount": "Amount",
|
|
8
|
+
"amountToWaiveAriaLabel": "Enter amount to waive",
|
|
9
|
+
"amountToWaiveHelper": "Specify the amount to be deducted from the bill",
|
|
10
|
+
"amountToWaiveLabel": "Amount to Waive",
|
|
11
|
+
"billableService": "Billable service",
|
|
12
|
+
"billableServices": "Billable Services",
|
|
13
|
+
"billedItems": "Billed Items",
|
|
14
|
+
"billedTo": "Billed to",
|
|
15
|
+
"billErrorService": "Bill service error",
|
|
16
|
+
"billing": "Billing",
|
|
17
|
+
"billItem": "Bill item",
|
|
18
|
+
"billItems": "Bill Items",
|
|
19
|
+
"billList": "Bill list",
|
|
20
|
+
"billMetrics": "Bill metrics",
|
|
21
|
+
"billName": " {{billName}} ",
|
|
22
|
+
"billPayment": "Bill payment",
|
|
23
|
+
"billPaymentRequiredMessage": "The current patient has pending bill. Advice patient to settle bill before receiving services",
|
|
24
|
+
"billServicesManagement": "Bill services management",
|
|
25
|
+
"billsList": "Bill list",
|
|
26
|
+
"billTotal": "Bill total",
|
|
27
|
+
"billWaiver": "Bill waiver",
|
|
28
|
+
"billWaiverError": "Bill waiver failed {{error}}",
|
|
29
|
+
"billWaiverSuccess": "Bill waiver successful",
|
|
30
|
+
"cancel": "Cancel",
|
|
31
|
+
"checkFilters": "Check the filters above",
|
|
32
|
+
"discard": "Discard",
|
|
33
|
+
"discount": "Discount",
|
|
34
|
+
"drug": "Drug",
|
|
35
|
+
"enterAmount": "Enter amount",
|
|
36
|
+
"enterConcept": "Associated concept",
|
|
37
|
+
"enterReferenceNumber": "Enter ref. number",
|
|
38
|
+
"errorLoadingBillServices": "Error loading bill services",
|
|
39
|
+
"errorLoadingPaymentModes": "Payment modes error",
|
|
40
|
+
"filterBy": "Filter by",
|
|
41
|
+
"filterTable": "Filter table",
|
|
42
|
+
"home": "Home",
|
|
43
|
+
"identifier": "Identifier",
|
|
44
|
+
"inlineLoading": "Loading bill items...",
|
|
45
|
+
"insuranceScheme": "Insurance scheme",
|
|
46
|
+
"invalidWaiverAmount": "Invalid waiver amount",
|
|
47
|
+
"invoice": "Invoice",
|
|
48
|
+
"invoiceError": "Invoice error",
|
|
49
|
+
"item": "Item",
|
|
50
|
+
"itemsToBeBilled": "Items to be billed",
|
|
51
|
+
"launchBillForm": "Launch bill form",
|
|
52
|
+
"lineItems": "Line items",
|
|
53
|
+
"loading": "Loading data...",
|
|
54
|
+
"loadingBillingServices": "Loading billing services...",
|
|
55
|
+
"loadingDescription": "Loading",
|
|
56
|
+
"manageBillableServices": "Manage billable services",
|
|
57
|
+
"name": "Name",
|
|
58
|
+
"nextPage": "Next page",
|
|
59
|
+
"noBilltoDisplay": "There are no bills to display for this patient",
|
|
60
|
+
"noMatchingBillsToDisplay": "No matching bills to display",
|
|
61
|
+
"noMatchingItemsToDisplay": "No matching items to display",
|
|
62
|
+
"noMatchingServicesToDisplay": "No matching services to display",
|
|
63
|
+
"nonDrug": "Non drug",
|
|
64
|
+
"noResultsFor": "No results for",
|
|
65
|
+
"noServicesToDisplay": "There are no services to display",
|
|
66
|
+
"ok": "OK",
|
|
67
|
+
"patientBillingAlert": "Patient Billing Alert",
|
|
68
|
+
"patientBills": "Patient bill",
|
|
69
|
+
"patientBillsDescription": "List of patient bills",
|
|
70
|
+
"patientCategory": "Patient category",
|
|
71
|
+
"paymentDetails": "Payment Details",
|
|
72
|
+
"paymentMethod": "Payment method",
|
|
73
|
+
"paymentMethods": "Payment methods",
|
|
74
|
+
"paymentMode": "Payment Mode",
|
|
75
|
+
"payments": "Payments",
|
|
76
|
+
"policyNumber": "Policy number",
|
|
77
|
+
"postWaiver": "Post waiver",
|
|
78
|
+
"previousPage": "Previous page",
|
|
79
|
+
"prices": "Prices",
|
|
80
|
+
"printBill": "Print bill",
|
|
81
|
+
"printReceipt": "Print receipt",
|
|
82
|
+
"processPayment": "Process Payment",
|
|
83
|
+
"quantity": "Quantity",
|
|
84
|
+
"referenceNumber": "Reference number",
|
|
85
|
+
"save": "Save",
|
|
86
|
+
"searchConcepts": "Search associated concept",
|
|
87
|
+
"searching": "Searching",
|
|
88
|
+
"searchThisTable": "Search this table",
|
|
89
|
+
"selectBillableService": "Select a billable service...",
|
|
90
|
+
"selectCategory": "Select category",
|
|
91
|
+
"selectPaymentMethod": "Select payment method",
|
|
92
|
+
"sellingAmount": "Enter selling price",
|
|
93
|
+
"sellingPrice": "Selling Price",
|
|
94
|
+
"serviceMetrics": "Service Metrics",
|
|
95
|
+
"serviceName": "Service Name",
|
|
96
|
+
"serviceShortName": "Short Name",
|
|
97
|
+
"servicesList": "Services list",
|
|
98
|
+
"serviceType": "Service Type",
|
|
99
|
+
"shortName": "Short Name",
|
|
100
|
+
"status": "Service Status",
|
|
101
|
+
"total": "Total",
|
|
102
|
+
"totalAmount": "Total Amount",
|
|
103
|
+
"totalTendered": "Total Tendered",
|
|
104
|
+
"unitPrice": "Unit price",
|
|
105
|
+
"visitTime": "Visit time",
|
|
106
|
+
"waiverForm": "Waiver form"
|
|
107
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"esModuleInterop": true,
|
|
5
|
+
"skipLibCheck": true,
|
|
6
|
+
"target": "ESNext",
|
|
7
|
+
"resolveJsonModule": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"jsx": "react",
|
|
10
|
+
"moduleResolution": "node",
|
|
11
|
+
"module": "ESNext",
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"lib": ["es2022", "dom", "dom.iterable"],
|
|
14
|
+
},
|
|
15
|
+
"types": ["@testing-library/jest-dom"],
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("openmrs/default-webpack-config");
|