@openmrs/esm-billing-app 1.0.1-pre.74 → 1.0.1-pre.78
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/759.js +1 -1
- package/dist/759.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/billable-services/create-edit/add-billable-service.component.tsx +1 -1
- package/src/billing-form/billing-form.component.tsx +2 -2
- package/src/billing.resource.ts +1 -1
- package/src/invoice/payments/payments.component.tsx +1 -1
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"initial": true,
|
|
33
33
|
"entry": true,
|
|
34
34
|
"recorded": false,
|
|
35
|
-
"size":
|
|
35
|
+
"size": 3931119,
|
|
36
36
|
"sizes": {
|
|
37
37
|
"consume-shared": 210,
|
|
38
|
-
"javascript":
|
|
38
|
+
"javascript": 3910203,
|
|
39
39
|
"share-init": 210,
|
|
40
40
|
"runtime": 20496
|
|
41
41
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"auxiliaryFiles": [
|
|
53
53
|
"main.js.map"
|
|
54
54
|
],
|
|
55
|
-
"hash": "
|
|
55
|
+
"hash": "0eefad8fec69722d",
|
|
56
56
|
"childrenByOrder": {}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -272,9 +272,9 @@
|
|
|
272
272
|
"initial": false,
|
|
273
273
|
"entry": false,
|
|
274
274
|
"recorded": false,
|
|
275
|
-
"size":
|
|
275
|
+
"size": 354398,
|
|
276
276
|
"sizes": {
|
|
277
|
-
"javascript":
|
|
277
|
+
"javascript": 354398
|
|
278
278
|
},
|
|
279
279
|
"names": [],
|
|
280
280
|
"idHints": [],
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"auxiliaryFiles": [
|
|
288
288
|
"759.js.map"
|
|
289
289
|
],
|
|
290
|
-
"hash": "
|
|
290
|
+
"hash": "a27799facad44e77",
|
|
291
291
|
"childrenByOrder": {}
|
|
292
292
|
},
|
|
293
293
|
{
|
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.0"},"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":"billing-checkin-form","slot":"extra-visit-attribute-slot","component":"billingCheckInForm"},{"slot":"system-admin-page-card-link-slot","component":"billableServicesCardLink","name":"billable-services-admin-card-link"},{"name":"billing-form","component":"billingForm"},{"name":"require-billing-modal","component":"requirePaymentModal"},{"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"}],"version":"1.0.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.24.0","fhir2":"^1.2.0"},"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":"billing-checkin-form","slot":"extra-visit-attribute-slot","component":"billingCheckInForm"},{"slot":"system-admin-page-card-link-slot","component":"billableServicesCardLink","name":"billable-services-admin-card-link"},{"name":"billing-form","component":"billingForm"},{"name":"require-billing-modal","component":"requirePaymentModal"},{"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"}],"version":"1.0.1-pre.78"}
|
package/package.json
CHANGED
|
@@ -122,7 +122,7 @@ const AddBillableService: React.FC = () => {
|
|
|
122
122
|
handleNavigateToServiceDashboard();
|
|
123
123
|
},
|
|
124
124
|
(error) => {
|
|
125
|
-
showSnackbar({ title: 'Bill payment error', kind: 'error', subtitle: error });
|
|
125
|
+
showSnackbar({ title: 'Bill payment error', kind: 'error', subtitle: error?.message });
|
|
126
126
|
},
|
|
127
127
|
);
|
|
128
128
|
};
|
|
@@ -167,7 +167,7 @@ const BillingForm: React.FC<BillingFormProps> = ({ patientUuid, closeWorkspace }
|
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
billItems.forEach((item) => {
|
|
170
|
-
|
|
170
|
+
let lineItem: any = {
|
|
171
171
|
quantity: parseInt(item.Qnty),
|
|
172
172
|
price: item.Price,
|
|
173
173
|
priceName: 'Default',
|
|
@@ -198,7 +198,7 @@ const BillingForm: React.FC<BillingFormProps> = ({ patientUuid, closeWorkspace }
|
|
|
198
198
|
});
|
|
199
199
|
},
|
|
200
200
|
(error) => {
|
|
201
|
-
showSnackbar({ title: 'Bill processing error', kind: 'error', subtitle: error });
|
|
201
|
+
showSnackbar({ title: 'Bill processing error', kind: 'error', subtitle: error?.message });
|
|
202
202
|
},
|
|
203
203
|
);
|
|
204
204
|
};
|
package/src/billing.resource.ts
CHANGED
|
@@ -6,7 +6,7 @@ import sortBy from 'lodash-es/sortBy';
|
|
|
6
6
|
import { apiBasePath } from './constants';
|
|
7
7
|
|
|
8
8
|
export const useBills = (patientUuid: string = '', billStatus: string = '') => {
|
|
9
|
-
const url = `${apiBasePath}bill?v=full`;
|
|
9
|
+
const url = `${apiBasePath}bill?v=full&limit=1000`;
|
|
10
10
|
|
|
11
11
|
const { data, error, isLoading, isValidating, mutate } = useSWR<{ data: { results: Array<PatientInvoice> } }>(
|
|
12
12
|
url,
|
|
@@ -77,7 +77,7 @@ const Payments: React.FC<PaymentProps> = ({ bill, selectedLineItems }) => {
|
|
|
77
77
|
handleNavigateToBillingDashboard();
|
|
78
78
|
},
|
|
79
79
|
(error) => {
|
|
80
|
-
showSnackbar({ title: 'Bill payment error', kind: 'error', subtitle: error });
|
|
80
|
+
showSnackbar({ title: 'Bill payment error', kind: 'error', subtitle: error?.message });
|
|
81
81
|
},
|
|
82
82
|
);
|
|
83
83
|
};
|