12345678910111213141516171819202122232425262728 |
- using System;
- using InABox.Configuration;
- namespace Comal.Classes
- {
- public class TimeSheetSettings : IUserConfigurationSettings
- {
- public TimeSheetSettings()
- {
- View = 2;
- EndDate = DateTime.Today.AddDays(0 - (double)DateTime.Today.DayOfWeek).AddDays(1);
- StartDate = DateTime.Today.AddDays(0 - (double)DateTime.Today.DayOfWeek).AddDays(7);
- FutureTimes = false;
- ViewType = ScreenViewType.Register;
- AnchorWidth = 500F;
- }
- public int View { get; set; }
- public DateTime StartDate { get; set; }
- public DateTime EndDate { get; set; }
- public bool FutureTimes { get; set; }
- public bool? ApprovedOnly { get; set; }
- public ScreenViewType ViewType { get; set; }
- public double AnchorWidth { get; set; }
- }
- }
|