using System;
using EnVisage.Code.BLL;
namespace EnVisage.Code
{
public class Constants
{
///
/// Base path for style bundles
///
public const string C_BUNDLE_STYLES_BASE_PATH = "~/content/styles";
public const string C_BUNDLE_STYLES_KENDO_PATH = "~/content/styles/kendo";
///
/// Base path for script bundles
///
public const string C_BUNDLE_SCRIPTS_BASE_PATH = "~/scripts";
public const string EXPENDITURE_INTEMPLATE_TITLE = "In Template";
public const string EXPENDITURE_CURRENT_TEAMS_TITLE = "In current Teams";
public const string EXPENDITURE_OTHER_EXPCATS_TITLE = "Other Categories";
public const string ERROR_TEMPLATE_REQUIRED = "The {0} field is required.";
public const string ERROR_TEMPLATE_REQUIRED2 = "The {0} field or {1} field is required.";
public const string ERROR_GENERAL_MESSAGE_TEMPLATE = "An error occurred while processing your request. Please, try again later.";
public const string ERROR_GENERAL_TITLE_TEMPLATE = "Oops!";
public const string ERROR_RANGE_MAX_VALUE_TEMPLATE = "The {0} field value cannot be greater than {1}";
public const string ERROR_ONE_OR_MORE_SELECTED_ELEMENTS_REQUIRED = "One or more {0} should be selected";
public const string ERROR_DEADLINE_DATE_LATE = "{0} Deadline must be after active scenario or actuals entered.";
public const string ERROR_DUPLICATE_EMAIL = "This email has already been assigned to another resource.";
public const string ERROR_COMPARE_DATES = "{0} date should be {1} {2} date";
public const string CONFIRM_CREATE_SCENARIO = "";
public const short MAX_INNER_EXCEPTION_LOG_LEVEL = 5;
public const string FISCAL_WEEK_NAME_TEMPLATE = "{0}-W{1}-FY";
public const string FISCAL_WEEK_SYSTEMNAME_TEMPLATE = "{0}-W{1}-FY-{2}";
public const string FISCAL_MONTH_NAME_TEMPLATE = "{0}";
public const string FISCAL_MONTH_SYSTEMNAME_TEMPLATE = "{0}-{1}";
public const string FISCAL_QUARTER_NAME_TEMPLATE = "Q{0}";
public const string FISCAL_QUARTER_SYSTEMNAME_TEMPLATE = "Q{0}-{1}";
public const string FISCAL_YEAR_NAME_TEMPLATE = "FY";
public const string FISCAL_YEAR_SYSTEMNAME_TEMPLATE = "FY-{0}";
public static readonly DateTime ProjectionsDefaultDate = new DateTime(1900, 1, 1);
public const decimal UOM_HOURS_MULTIPLIER = 1M;
public const string USERVOICE_COOKIE_CONTEXT = "UserVoice";
public const string USERVOICE_SSO_TOKEN = "UserVoiceSsoToken";
public const string USER_PREFERENCE_LASTPAGE_URL = "/LastVisitedPage";
public const string USER_PREFERENCE_LASTPAGE_SECTION = "LastVisitedPage";
public const string USER_PREFERENCE_LASTPAGE_KEY = "LastVisitedPage";
public const string USER_PREFERENCE_UOMHOURSMODE = "USR_PREF_ISHOURS";
public const string USER_PREFERENCE_AVGMODE = "USR_PREF_AVG";
public static readonly DateTime UnixEpochDate = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
// SA. Fiscal calendar limits
public static readonly DateTime FISCAL_CALENDAR_MIN_DATE = FiscalCalendarManager.GetCalendarMinDate(); // new DateTime(1995, 01, 01);
public static readonly DateTime FISCAL_CALENDAR_MAX_DATE = FiscalCalendarManager.GetCalendarMaxDate(); // new DateTime(2021, 01, 01);
// SA. Caps for datepickers
public static string MIN_SELECTABLE_DATE
{
get { return FISCAL_CALENDAR_MIN_DATE.ToShortDateString(); }
}
// SA. ENV-1235. Caps for datepickers
public static string MAX_SELECTABLE_DATE
{
get { return FISCAL_CALENDAR_MAX_DATE.ToShortDateString(); }
}
}
}