projects milestones

This commit is contained in:
2026-03-17 07:34:08 -05:00
parent c3f0adc676
commit c1f6386e7d
13 changed files with 510 additions and 46 deletions

View File

@@ -86,6 +86,7 @@ export function ProjectListPage() {
<tr>
<th className="px-2 py-2">Project</th>
<th className="px-2 py-2">Customer</th>
<th className="px-2 py-2">Rollups</th>
<th className="px-2 py-2">Owner</th>
<th className="px-2 py-2">Status</th>
<th className="px-2 py-2">Priority</th>
@@ -100,6 +101,11 @@ export function ProjectListPage() {
<div className="mt-1 text-xs text-muted">{project.name}</div>
</td>
<td className="px-2 py-2 text-muted">{project.customerName}</td>
<td className="px-2 py-2 text-xs text-muted">
<div>{project.rollups.completedMilestoneCount}/{project.rollups.milestoneCount} milestones</div>
<div>{project.rollups.activeWorkOrderCount} active WO</div>
<div>{project.rollups.overdueMilestoneCount + project.rollups.overdueWorkOrderCount} overdue items</div>
</td>
<td className="px-2 py-2 text-muted">{project.ownerName || "Unassigned"}</td>
<td className="px-2 py-2"><ProjectStatusBadge status={project.status} /></td>
<td className="px-2 py-2"><ProjectPriorityBadge priority={project.priority} /></td>