From 604f8162894cff4199d3495e95d1335fb04bc20d Mon Sep 17 00:00:00 2001 From: Malini Date: Thu, 5 Feb 2026 14:31:48 +0530 Subject: [PATCH] added resubmit icon --- .../dashboard/SubmissionHistory.jsx | 37 ++++++++++++------- .../src/pages/Overview/Overview.jsx | 20 +++++++--- 2 files changed, 38 insertions(+), 19 deletions(-) diff --git a/ipi-survey-platform/src/components/dashboard/SubmissionHistory.jsx b/ipi-survey-platform/src/components/dashboard/SubmissionHistory.jsx index 26d834e..2dcaecd 100644 --- a/ipi-survey-platform/src/components/dashboard/SubmissionHistory.jsx +++ b/ipi-survey-platform/src/components/dashboard/SubmissionHistory.jsx @@ -5,6 +5,7 @@ import Footer from '../common/Footer'; import HeaderBar from '@/components/layout/HeaderBar'; import DetailedOverview from '@/components/overview/DetailedOverview'; import { deleteDraftSubmission } from '@/services/submissions/submissionService'; +import { HiMiniArrowPathRoundedSquare } from "react-icons/hi2"; const searchIconSrc = '/assets/images/material-symbols_search-rounded.svg'; const pencilIconSrc = '/assets/images/PencilSimple.svg'; @@ -284,21 +285,31 @@ const handleDeleteDraft = async (e, submission) => { ) : ( - - + {item.status.toLowerCase() === 'rejected' && ( + + )} + )} + ]; diff --git a/ipi-survey-platform/src/pages/Overview/Overview.jsx b/ipi-survey-platform/src/pages/Overview/Overview.jsx index b21bba3..f4e00ec 100644 --- a/ipi-survey-platform/src/pages/Overview/Overview.jsx +++ b/ipi-survey-platform/src/pages/Overview/Overview.jsx @@ -14,6 +14,7 @@ const pencilInactiveSrc = '/assets/images/pencilsimple-inactive.svg'; const deleteIconSrc = '/assets/images/Trash - active.svg'; const trashInactiveSrc = '/assets/images/Trash - Inactive.svg'; import { deleteDraftSubmission } from '@/services/submissions/submissionService'; +import { HiMiniArrowPathRoundedSquare } from 'react-icons/hi2'; const statusStyles = { approved: 'text-[#2F663C] bg-[#F3FAF4]', submitted: 'text-[#003CFF] bg-[#E7F5FF]', @@ -183,12 +184,19 @@ const handleDeleteDraft = async (e, record) => { ) : - View Details +
+ View Details + +
]); }, [filteredRows, uae_currency]);