Example #1
0
        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);
        }
Example #2
0
 public static bool HrDateEq(this ITerm a, ITerm b)
 {
     return(a.GetLowestTerm().HrDate == b.GetLowestTerm().HrDate);
 }
Example #3
0
        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);
        }