feat: Add support for project cancellation status across the application
This commit is contained in:
@@ -31,6 +31,7 @@ const statusColors = {
|
||||
pending: "bg-yellow-100 text-yellow-800",
|
||||
in_progress: "bg-orange-100 text-orange-800",
|
||||
fulfilled: "bg-gray-100 text-gray-800",
|
||||
cancelled: "bg-red-100 text-red-800",
|
||||
};
|
||||
|
||||
const statusTranslations = {
|
||||
@@ -39,6 +40,7 @@ const statusTranslations = {
|
||||
pending: "Oczekujący",
|
||||
in_progress: "W trakcie",
|
||||
fulfilled: "Zakończony",
|
||||
cancelled: "Wycofany",
|
||||
};
|
||||
|
||||
export default function ProjectCalendarWidget({
|
||||
|
||||
@@ -32,6 +32,7 @@ export default function ProjectMap({
|
||||
label: "In Progress (Construction)",
|
||||
},
|
||||
fulfilled: { color: "#10B981", label: "Completed" },
|
||||
cancelled: { color: "#EF4444", label: "Cancelled" },
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user