@openmrs/esm-billing-app 1.0.2-pre.790 → 1.0.2-pre.796
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/dist/942.js +1 -1
- package/dist/942.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-billing-app.js.buildmanifest.json +6 -6
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/invoice/invoice-table.component.tsx +2 -2
- package/src/invoice/invoice-table.scss +7 -0
- package/src/invoice/invoice.component.tsx +4 -2
- package/src/invoice/invoice.scss +4 -0
- package/src/invoice/payments/invoice-breakdown/invoice-breakdown.scss +9 -9
- package/src/invoice/payments/payments.scss +4 -3
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"initial": false,
|
|
72
72
|
"entry": false,
|
|
73
73
|
"recorded": false,
|
|
74
|
-
"size":
|
|
74
|
+
"size": 1172991,
|
|
75
75
|
"sizes": {
|
|
76
|
-
"javascript":
|
|
76
|
+
"javascript": 1172949,
|
|
77
77
|
"consume-shared": 42
|
|
78
78
|
},
|
|
79
79
|
"names": [],
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"auxiliaryFiles": [
|
|
88
88
|
"942.js.map"
|
|
89
89
|
],
|
|
90
|
-
"hash": "
|
|
90
|
+
"hash": "7b6c48d2956841c8",
|
|
91
91
|
"childrenByOrder": {}
|
|
92
92
|
},
|
|
93
93
|
{
|
|
@@ -1209,10 +1209,10 @@
|
|
|
1209
1209
|
"initial": true,
|
|
1210
1210
|
"entry": true,
|
|
1211
1211
|
"recorded": false,
|
|
1212
|
-
"size":
|
|
1212
|
+
"size": 5470821,
|
|
1213
1213
|
"sizes": {
|
|
1214
1214
|
"consume-shared": 210,
|
|
1215
|
-
"javascript":
|
|
1215
|
+
"javascript": 5448166,
|
|
1216
1216
|
"share-init": 336,
|
|
1217
1217
|
"runtime": 22109
|
|
1218
1218
|
},
|
|
@@ -1229,7 +1229,7 @@
|
|
|
1229
1229
|
"auxiliaryFiles": [
|
|
1230
1230
|
"main.js.map"
|
|
1231
1231
|
],
|
|
1232
|
-
"hash": "
|
|
1232
|
+
"hash": "23b91a0469319368",
|
|
1233
1233
|
"childrenByOrder": {}
|
|
1234
1234
|
},
|
|
1235
1235
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.24.0","fhir2":">=1.2"},"pages":[{"component":"billableServicesHome","route":"billable-services"}],"extensions":[{"component":"billingDashboardLink","name":"billing-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"billing","title":"billing","slot":"billing-dashboard-slot"},"featureFlag":"billing"},{"component":"root","name":"billing-dashboard-root","slot":"billing-dashboard-slot"},{"name":"billing-patient-summary","component":"billingPatientSummary","slot":"patient-chart-billing-dashboard-slot","order":10,"meta":{"columnSpan":4}},{"name":"billing-summary-dashboard-link","component":"billingSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-billing-dashboard-slot","path":"Billing history"},"featureFlag":"billing"},{"name":"billable-services-app-menu-item","component":"billableServicesAppMenuItem","slot":"app-menu-item-slot","meta":{"name":"Billable Services"}},{"name":"billing-checkin-form","slot":"extra-visit-attribute-slot","component":"billingCheckInForm","featureFlag":"billing"},{"slot":"system-admin-page-card-link-slot","component":"billableServicesCardLink","name":"billable-services-admin-card-link"},{"name":"patient-banner-billing-tags","component":"visitAttributeTags","slot":"patient-banner-tags-slot","order":2},{"name":"billing-home-tiles-ext","slot":"billing-home-tiles-slot","component":"serviceMetrics"},{"name":"edit-bill-line-item-dialog","component":"editBillLineItemModal","online":true,"offline":true}],"modals":[{"name":"add-cash-point-modal","component":"addCashPointModal"},{"name":"add-payment-mode-modal","component":"addPaymentModeModal"},{"name":"delete-payment-mode-modal","component":"deletePaymentModeModal"},{"name":"edit-bill-item-modal","component":"editBillLineItemModal"},{"name":"edit-billable-service-modal","component":"editBillableServiceModal"},{"name":"require-billing-modal","component":"requirePaymentModal"}],"workspaces":[{"name":"billing-form-workspace","title":"billingForm","component":"billingFormWorkspace","type":"form"}],"featureFlags":[{"flagName":"billing","label":"Billing module","description":"This feature introduces navigation links on the patient chart and home page to allow accessing the billing module features"}],"version":"1.0.2-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.24.0","fhir2":">=1.2"},"pages":[{"component":"billableServicesHome","route":"billable-services"}],"extensions":[{"component":"billingDashboardLink","name":"billing-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"billing","title":"billing","slot":"billing-dashboard-slot"},"featureFlag":"billing"},{"component":"root","name":"billing-dashboard-root","slot":"billing-dashboard-slot"},{"name":"billing-patient-summary","component":"billingPatientSummary","slot":"patient-chart-billing-dashboard-slot","order":10,"meta":{"columnSpan":4}},{"name":"billing-summary-dashboard-link","component":"billingSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-billing-dashboard-slot","path":"Billing history"},"featureFlag":"billing"},{"name":"billable-services-app-menu-item","component":"billableServicesAppMenuItem","slot":"app-menu-item-slot","meta":{"name":"Billable Services"}},{"name":"billing-checkin-form","slot":"extra-visit-attribute-slot","component":"billingCheckInForm","featureFlag":"billing"},{"slot":"system-admin-page-card-link-slot","component":"billableServicesCardLink","name":"billable-services-admin-card-link"},{"name":"patient-banner-billing-tags","component":"visitAttributeTags","slot":"patient-banner-tags-slot","order":2},{"name":"billing-home-tiles-ext","slot":"billing-home-tiles-slot","component":"serviceMetrics"},{"name":"edit-bill-line-item-dialog","component":"editBillLineItemModal","online":true,"offline":true}],"modals":[{"name":"add-cash-point-modal","component":"addCashPointModal"},{"name":"add-payment-mode-modal","component":"addPaymentModeModal"},{"name":"delete-payment-mode-modal","component":"deletePaymentModeModal"},{"name":"edit-bill-item-modal","component":"editBillLineItemModal"},{"name":"edit-billable-service-modal","component":"editBillableServiceModal"},{"name":"require-billing-modal","component":"requirePaymentModal"}],"workspaces":[{"name":"billing-form-workspace","title":"billingForm","component":"billingFormWorkspace","type":"form"}],"featureFlags":[{"flagName":"billing","label":"Billing module","description":"This feature introduces navigation links on the patient chart and home page to allow accessing the billing module features"}],"version":"1.0.2-pre.796"}
|
package/package.json
CHANGED
|
@@ -128,7 +128,7 @@ const InvoiceTable: React.FC<InvoiceTableProps> = ({ bill, isLoadingBill }) => {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
return (
|
|
131
|
-
|
|
131
|
+
<div className={styles.lineItemsWrapper}>
|
|
132
132
|
<DataTable headers={tableHeaders} rows={tableRows} size={responsiveSize} useZebraStyles>
|
|
133
133
|
{({ rows, headers, getRowProps, getTableProps }) => (
|
|
134
134
|
<TableContainer
|
|
@@ -187,7 +187,7 @@ const InvoiceTable: React.FC<InvoiceTableProps> = ({ bill, isLoadingBill }) => {
|
|
|
187
187
|
</Layer>
|
|
188
188
|
</div>
|
|
189
189
|
)}
|
|
190
|
-
|
|
190
|
+
</div>
|
|
191
191
|
);
|
|
192
192
|
};
|
|
193
193
|
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
@use '@carbon/type';
|
|
4
4
|
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
5
5
|
|
|
6
|
+
.lineItemsWrapper {
|
|
7
|
+
border: 1px solid colors.$gray-20;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
background-color: colors.$white;
|
|
10
|
+
margin-bottom: layout.$spacing-05;
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
.filterEmptyState {
|
|
7
14
|
align-items: center;
|
|
8
15
|
background-color: white;
|
|
@@ -124,8 +124,10 @@ const Invoice: React.FC = () => {
|
|
|
124
124
|
</div>
|
|
125
125
|
</div>
|
|
126
126
|
|
|
127
|
-
<
|
|
128
|
-
|
|
127
|
+
<div className={styles.invoiceContent}>
|
|
128
|
+
<InvoiceTable bill={bill} isLoadingBill={isLoadingBill} />
|
|
129
|
+
<Payments bill={bill} mutate={mutate} />
|
|
130
|
+
</div>
|
|
129
131
|
|
|
130
132
|
{bill && patient && (
|
|
131
133
|
<div className={styles.printContainer}>
|
package/src/invoice/invoice.scss
CHANGED
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
.invoiceBreakdown {
|
|
6
6
|
display: grid;
|
|
7
7
|
grid-template-columns: 1fr 1fr;
|
|
8
|
-
align-items:
|
|
9
|
-
margin: layout.$spacing-
|
|
8
|
+
align-items: center;
|
|
9
|
+
margin: layout.$spacing-03 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.label {
|
|
13
|
-
@include type.type-style('
|
|
13
|
+
@include type.type-style('body-compact-01');
|
|
14
14
|
color: colors.$gray-100;
|
|
15
|
-
text-align:
|
|
15
|
+
text-align: left;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.value {
|
|
19
|
-
@
|
|
20
|
-
|
|
19
|
+
@include type.type-style('body-compact-01');
|
|
20
|
+
color: colors.$gray-100;
|
|
21
|
+
text-align: left;
|
|
21
22
|
margin-left: layout.$spacing-03;
|
|
22
|
-
text-align: start;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.extendedLabel {
|
|
26
|
-
@
|
|
27
|
-
font-weight: bold;
|
|
26
|
+
@include type.type-style('heading-compact-01');
|
|
28
27
|
color: crimson;
|
|
28
|
+
text-align: left;
|
|
29
29
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
.paymentContainer {
|
|
17
17
|
margin: layout.$layout-01 0;
|
|
18
|
-
padding: layout.$layout-01;
|
|
18
|
+
padding: layout.$layout-01 0;
|
|
19
19
|
width: 70%;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -32,14 +32,15 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.paymentTotals {
|
|
35
|
-
margin: layout.$spacing-05
|
|
35
|
+
margin: layout.$spacing-05 auto;
|
|
36
36
|
padding: layout.$spacing-07 layout.$spacing-05;
|
|
37
|
+
max-width: 90%;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
.processPayments {
|
|
40
41
|
display: flex;
|
|
41
42
|
justify-content: flex-end;
|
|
42
|
-
margin: layout.$spacing-05;
|
|
43
|
+
margin: layout.$spacing-05 0;
|
|
43
44
|
padding-top: layout.$spacing-05;
|
|
44
45
|
column-gap: layout.$spacing-04;
|
|
45
46
|
border-top: 1px solid colors.$cool-gray-40;
|