Assign to Contractor // here in due date also change the year to 20

This commit is contained in:
2026-07-10 16:17:53 +05:30
parent a18eb64dac
commit 0026824f84

View File

@@ -27,7 +27,7 @@ export function AssignTicketAction({ ticket }: { ticket: TicketDetail }) {
return date; return date;
}, []); }, []);
const maxDueMonth = useMemo( const maxDueMonth = useMemo(
() => new Date(today.getFullYear() + 5, 11), () => new Date(today.getFullYear() + 20, 11),
[today], [today],
); );