fixed some statuses and filters
This commit is contained in:
1 parent
34e8fef9b6
commit
edf503e329
20 files changed
+355
-214
No files matched your search
@@ -1,18 +1,7 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Clock, CheckCircle2, XCircle, CheckCheck } from "lucide-react";
|
||||
import { CheckCircle2, XCircle } from "lucide-react";
|
||||
import { StatusBadge, type StatusBadgeVariant } from "@/components/ui/statusBadge";
|
||||
import { STATUS_BADGE_VARIANTS, isStatusValue, getStatusLabel, type StatusValue } from "@/constants/statusOptions";
|
||||
|
||||
export const STATUS_ICONS: Record<StatusValue, React.ElementType> = {
|
||||
pending: Clock,
|
||||
approved: CheckCircle2,
|
||||
rejected: XCircle,
|
||||
completed: CheckCheck,
|
||||
satisfied: CheckCircle2,
|
||||
processing: Clock,
|
||||
cancelled: XCircle,
|
||||
registered: CheckCircle2,
|
||||
};
|
||||
import { STATUS_ICONS, STATUS_BADGE_VARIANTS, isStatusValue, getStatusLabel } from "@/constants/statusOptions";
|
||||
|
||||
interface StatusCellProps {
|
||||
status: string;
|
||||
|
||||
Reference in new issue
Block a user