diff --git a/src/Pages/BookingScreen/Components/OtherConponents/Reprint/BSReprint.jsx b/src/Pages/BookingScreen/Components/OtherConponents/Reprint/BSReprint.jsx index 344c815..1b8e2b8 100644 --- a/src/Pages/BookingScreen/Components/OtherConponents/Reprint/BSReprint.jsx +++ b/src/Pages/BookingScreen/Components/OtherConponents/Reprint/BSReprint.jsx @@ -95,6 +95,7 @@ import { Radio } from 'antd'; import ReprintPDFDataShare from './ReprintPDFDataShare.jsx'; import { ImShare } from 'react-icons/im'; import EmailModel from '../../UtillComponents/EmailModel.jsx'; +import dayjs from "dayjs"; const RetailApiurl = import.meta.env.ENV_API_URL; @@ -1439,6 +1440,9 @@ function BSReprint({ setOpenModel = () => { } }) { const typeChange = (e) => { setType(e.target.value); }; + const disabledDate = (current) => { + return current && current > dayjs().endOf("day"); + }; return ( <> @@ -1492,8 +1496,9 @@ function BSReprint({ setOpenModel = () => { } }) {