{{if:item.PlanComplete}}
{{:Date.diff(Date.ISOToday, item.PlanComplete, Date.DAY)}}d |0|due on| {{:format(item.PlanComplete, 'd')}} {{if:Date.diff(Date.ISOToday, item.PlanComplete, Date.DAY) < 0 && item.PercComp < 100}}|0|OVERDUE|{{if:}}
{{if:}}
{{if:item.PlanningProject===1}}
{{:u.obn(item.WKActualHours)}}h |0|worked this week|
{{:u.obn(item.RemainingHours)}}h |0|remaining this week|
{{else:}}
{{if:u.obn(item.AssignedHours)>0 && item.AssignedPercComp < 100}}
{{:u.obn(item.WKActualHours)}}h |0|worked this week|
{{if:u.obn(item.WKDisplayHours) - u.obn(item.WKActualHoursToday) < 0}}{{:Math.roundTo(u.obn(item.WKActualHoursToday) - u.obn(item.WKDisplayHours), 2)}}h |0|Over this week|
{{else:}}
{{if:item.TrackBudget===1}}
{{:Math.roundTo(u.obn(item.WKDisplayHours) - u.obn(item.WKActualHoursToday), 2)}}h |0|remaining this week|
{{else:}}
{{:format((u.obn(item.WKDisplayHours) - u.obn(item.WKActualHoursToday)), 'n2z')}}h |0|allocated this week|
{{if:}}
{{if:}}
{{else:u.obn(item.ActualHours)>0 && item.PercComp < 100}}
{{:u.obn(item.WKActualHours)}}h |0|worked this week|
{{if:}}
{{if:}}
{{if:u.obn(item.AssignedHours)>0 && item.AssignedPercComp < 100}}
{{if:item.PlanningProject !==1}}
{{if:u.obn(item.AssignedHours) - u.obn(item.ActualHours) < 0}}
0h |0|remaining of| {{:format(u.obn(item.AssignedHours), 'n2z')}}h |0|allocated|
{{else:}}
{{:Math.roundTo(item.AssignedHours - u.obn(item.ActualHours), 2)}}h |0|remaining of| {{:format(u.obn(item.AssignedHours), 'n2z')}}h |0|allocated|
{{if:}}
{{if:}}
{{if:}}