From 5979d27c570a6c41ce14e5d027b8270398b9367a Mon Sep 17 00:00:00 2001 From: Gitead Date: Thu, 16 Jul 2026 23:00:46 -0400 Subject: [PATCH] feat: add Preauth Followup section to claims page Adds From/To date pickers and CCA PA / United PA / Tufts PA / All recent PA buttons above the Upload claim documents section; button logic is stubbed for now. --- apps/Frontend/src/pages/claims-page.tsx | 121 ++++++++++++++++++++++++ 1 file changed, 121 insertions(+) diff --git a/apps/Frontend/src/pages/claims-page.tsx b/apps/Frontend/src/pages/claims-page.tsx index bcb6976f..0f208e60 100755 --- a/apps/Frontend/src/pages/claims-page.tsx +++ b/apps/Frontend/src/pages/claims-page.tsx @@ -7,6 +7,12 @@ import { CardContent, CardDescription, } from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; +import { Label } from "@/components/ui/label"; +import { Calendar as CalendarIcon } from "lucide-react"; +import { Calendar } from "@/components/ui/calendar"; +import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"; +import { formatLocalDate } from "@/utils/dateUtils"; import { ClaimForm } from "@/components/claims/claim-form"; import { useToast } from "@/hooks/use-toast"; import { useAuth } from "@/hooks/use-auth"; @@ -48,6 +54,12 @@ export default function ClaimsPage() { const [previewOpen, setPreviewOpen] = useState(false); const [previewPdfId, setPreviewPdfId] = useState(null); const [previewFallbackFilename, setPreviewFallbackFilename] = useState(null); + + // Preauth followup state + const [preauthFollowupFrom, setPreauthFollowupFrom] = useState(undefined); + const [preauthFollowupTo, setPreauthFollowupTo] = useState(undefined); + const [preauthFollowupFromOpen, setPreauthFollowupFromOpen] = useState(false); + const [preauthFollowupToOpen, setPreauthFollowupToOpen] = useState(false); const dispatch = useAppDispatch(); const { status, message, show } = useAppSelector( (state) => state.seleniumTasks.claimSubmit @@ -1138,6 +1150,115 @@ export default function ClaimsPage() { + {/* Preauth Followup Section */} + + + Preauth Followup + + +
+
+ + + + + + + { + setPreauthFollowupFrom(date); + setPreauthFollowupFromOpen(false); + }} + onClose={() => setPreauthFollowupFromOpen(false)} + /> + + +
+
+ + + + + + + { + setPreauthFollowupTo(date); + setPreauthFollowupToOpen(false); + }} + onClose={() => setPreauthFollowupToOpen(false)} + /> + + +
+
+
+ + + + +
+
+
+ {/* File Upload Zone */}