public virtual void Reporting(ITerm source) { if (source.Is <IOffWork>()) { return; } var lowestTerm = source.GetLowestTerm() as AssignmentBase; if (lowestTerm == null) { return; } BalanceLabourHour(lowestTerm); AdjustBoundary(lowestTerm); }
public static bool HrDateEq(this ITerm a, ITerm b) { return(a.GetLowestTerm().HrDate == b.GetLowestTerm().HrDate); }
public virtual void Reporting(ITerm source) { if (source.Is<IOffWork>()) return; var lowestTerm = source.GetLowestTerm() as AssignmentBase; if (lowestTerm == null) return; BalanceLabourHour(lowestTerm); AdjustBoundary(lowestTerm); }