Skip to content

Commit

Permalink
skip these range pickers
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnasambu committed Dec 16, 2024
1 parent 9f3955d commit 83b8b3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ const OrderDetailsTable: React.FC<OrderDetailsProps> = ({ patientUuid, showAddBu
</div>
<span className={styles.rangeLabel}>{t('dateRange', 'Date range')}:</span>
<OpenmrsDatePicker
value={''}
onChange={([startDate, endDate]) => {
handleDateFilterChange([startDate, endDate]);
value=""
onChange={(selectedDate) => {
handleDateFilterChange([selectedDate, selectedDate]);
}}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand All @@ -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' },
Expand Down

0 comments on commit 83b8b3b

Please sign in to comment.