Przeglądaj źródła

Added some property comments

Kenric Nugteren 1 miesiąc temu
rodzic
commit
151debedc3

+ 1 - 0
prs.classes/Entities/Assignment/Assignment.cs

@@ -117,6 +117,7 @@ namespace Comal.Classes
 
         [CurrencyEditor]
         [Editable(Editable.Disabled)]
+        [Comment("Cost of the Assignment; calculated from duration, overtime rules and the employee's hourly rate.")]
         public double Cost { get; set; }
         
         [NullEditor]

+ 1 - 0
prs.classes/Entities/Employee/Employee.cs

@@ -93,6 +93,7 @@ namespace Comal.Classes
         [CurrencyEditor]
         [Security(typeof(CanViewHourlyRates))]
         [EditorSequence("Payroll",7)]
+        [Comment("Hourly rate of the employee; used for assignment costing")]
         public double HourlyRate { get; set; }
         
         [EditorSequence("Payroll",8)]

+ 0 - 1
prs.shared/Posters/Timberline/TimesheetTimberlinePoster.cs

@@ -345,7 +345,6 @@ public class Module
                     .Add(x => x.ID)
                     .Add(x => x.Code)
                     .Add(x => x.PayrollID)
-                    .Add(x => x.OvertimeRuleLink.ID)
                     .Add(x => x.RosterStart),
                 lookupalias: "Employees", isdefault: true);
             // We also need to load the rosters and all the overtime intervals on those rosters for