diff --git a/client/pages/hub/ClientHub.tsx b/client/pages/hub/ClientHub.tsx index 1c9a3ddf..fffcb40c 100644 --- a/client/pages/hub/ClientHub.tsx +++ b/client/pages/hub/ClientHub.tsx @@ -330,92 +330,19 @@ export default function ClientHub() { {/* Project Status Tab - Gantt Style */} - - - Project Status & Milestones - Gantt-style timeline of your main engagement - - - {!activeContract ? ( -
- -

No active project

-
- ) : ( -
- {/* Project Header */} -
-

{activeContract.title}

-
-
-

Start Date

-

{new Date(activeContract.start_date).toLocaleDateString()}

-
-
-

End Date

-

{new Date(activeContract.end_date).toLocaleDateString()}

-
-
-

Total Value

-

${activeContract.total_value?.toLocaleString()}

-
-
-

Status

- {activeContract.status} -
-
-
- - {/* Milestones */} -
-

Phases & Milestones

- {activeContract.milestones?.map((milestone: any, idx: number) => ( -
-
-
- {milestone.status === "completed" ? ( - - ) : milestone.status === "in_progress" ? ( - - ) : ( - - )} -
-

{milestone.title}

-

{milestone.description}

-
-
-
-

${milestone.value?.toLocaleString()}

-

{new Date(milestone.due_date).toLocaleDateString()}

-
-
- {/* Progress Bar for Milestone */} -
-
- Progress - {milestone.progress || 0}% -
-
-
-
-
-
- ))} -
-
- )} - - + {/* Invoices & Billing Tab */}