Enforced relationships between activities and indicators, fixed actuals recording
This commit is contained in:
@@ -173,9 +173,14 @@ export const ProjectExpandedRow: React.FC<ProjectExpandedRowProps> = ({
|
||||
{sBadge.label}
|
||||
</span>
|
||||
</div>
|
||||
<div className="text-[10px] text-slate-400 flex items-center gap-1 font-mono">
|
||||
<Clock className="w-3 h-3 text-slate-500" />
|
||||
Due: {formatDate(m.dueAt)}
|
||||
<div className="flex items-center justify-between text-[10px] text-slate-400 font-mono">
|
||||
<span className="flex items-center gap-1">
|
||||
<Clock className="w-3 h-3 text-slate-500" />
|
||||
Due: {formatDate(m.dueAt)}
|
||||
</span>
|
||||
<span className="text-blue-400 font-bold">
|
||||
{formatZAR(activities.filter(a => String(a.milestoneId) === String(m.id)).reduce((s, a) => s + (Number(a.amount) || 0), 0))}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user