diff --git a/ondeck/src/app/(dashboard)/tasks/page-client.tsx b/ondeck/src/app/(dashboard)/tasks/page-client.tsx index 18b3844..14486ec 100644 --- a/ondeck/src/app/(dashboard)/tasks/page-client.tsx +++ b/ondeck/src/app/(dashboard)/tasks/page-client.tsx @@ -224,10 +224,10 @@ function TaskCard({ task: initial }: { task: Task }) { {task.title} + {task.client && ( +

{task.client.name}

+ )}
- {task.client && ( - Client {task.client.name} - )} Policy # {task.policy?.policyNumber || '—'} Type {task.policy?.policyType || '—'} Renewal {task.policy?.expirationDate ? formatRenewalDate(task.policy.expirationDate) : '—'} @@ -239,63 +239,60 @@ function TaskCard({ task: initial }: { task: Task }) { )}
- {/* Right sidebar */} -
- {/* Info: Due / Status / Level */} -
-
- Due - {formatDate(task.dueDate)} -
-
- Status + {/* Right sidebar: 2-col grid */} +
+
+ {/* Left col: Due / Status / Level (data only) */} +
+ + {formatDate(task.dueDate)} + + + {levelLabel} +
-
- Level - {levelLabel} -
-
- {/* Actions: 2×2 grid */} -
- - -
-
- {task.status !== 'COMPLETED' && task.status !== 'NA' && task.status !== 'CANCELLED' ? ( + {/* Right col: Complete / N/A / Edit (icons) */} +
- ) : ( - - )} - + {task.status !== 'COMPLETED' && task.status !== 'NA' && task.status !== 'CANCELLED' && ( + + )} + +
+ {/* Notes: full width bottom */} +