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