diff --git a/packages/esm-patient-orders-app/src/components/orders-details-table.component.tsx b/packages/esm-patient-orders-app/src/components/orders-details-table.component.tsx index 4a3b348b1c..197b4a350b 100644 --- a/packages/esm-patient-orders-app/src/components/orders-details-table.component.tsx +++ b/packages/esm-patient-orders-app/src/components/orders-details-table.component.tsx @@ -361,9 +361,9 @@ const OrderDetailsTable: React.FC = ({ patientUuid, showAddBu {t('dateRange', 'Date range')}: { - handleDateFilterChange([startDate, endDate]); + value="" + onChange={(selectedDate) => { + handleDateFilterChange([selectedDate, selectedDate]); }} /> diff --git a/packages/esm-patient-tests-app/src/test-results/print-modal/print-modal.extension.tsx b/packages/esm-patient-tests-app/src/test-results/print-modal/print-modal.extension.tsx index 28cbe64e5b..2b1ea15834 100644 --- a/packages/esm-patient-tests-app/src/test-results/print-modal/print-modal.extension.tsx +++ b/packages/esm-patient-tests-app/src/test-results/print-modal/print-modal.extension.tsx @@ -41,7 +41,7 @@ function PrintModal({ patientUuid, closeDialog }) { const { panels } = usePanelData(); const printContainerRef = useRef(null); const [selectedFromDate, setSelectedFromDate] = useState(null); - const [selectedToDate, setSelectedToDate] = useState(null); + const [selectedToDate] = useState(null); const { excludePatientIdentifierCodeTypes } = useConfig<{ excludePatientIdentifierCodeTypes: { uuids: string[]; @@ -51,7 +51,6 @@ function PrintModal({ patientUuid, closeDialog }) { }); const headerTitle = t('testResults_title', 'Test Results'); const datePickerPlaceHolder = 'dd/mm/yyyy'; - const datePickerFormat = 'd/m/Y'; const tableHeaders = [ { key: 'testType', header: 'Test Type' },