using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace EnVisage.Code { public class Constants { public const string EXPENDITURE_INTEMPLATE_TITLE = "In Template"; public const string EXPENDITURE_CURRENT_TEAMS_TITLE = "In current Teams"; // SA. ENV-840 public const string EXPENDITURE_OTHER_EXPCATS_TITLE = "Other Categories"; // SA. ENV-840 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 = "Project Deadline must be after active scenario or actuals entered."; public const string CONFIRM_CREATE_SCENARIO = "This scenario has not been saved. Closing this form will cause all changes to be lost. To continue, press OK."; public const string CONFIRM_EDIT_SCENARIO = "This scenario has not been saved. Closing this form will cause all changes to be lost. Are you sure you want to leave this page?"; 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 REPORT_TEST_ID = "Test"; public const string REPORT_SUMMARY_ID = "SummaryReport"; public const string REPORT_FOREREVENUE_ID = "ForecastRevenue"; public const string REPORT_NONFOREREVENUE_ID = "ForecastNonRevenue"; public const string REPORT_SORT_FIELD_PARAMETER_NAME = "__RPT_BASE_PARAM_SORT_FIELD"; public const string REPORT_SORT_DIR_PARAMETER_NAME = "__RPT_BASE_PARAM_SORT_DIR"; public static readonly DateTime UnixEpochDate = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); // SA. ENV-1235. Caps for datepickers public static string MIN_SELECTABLE_DATE { get { DateTime date = new DateTime(1995, 01, 01); return date.ToShortDateString(); } } // SA. ENV-1235. Caps for datepickers public static string MAX_SELECTABLE_DATE { get { DateTime date = new DateTime(2035, 12, 31); return date.ToShortDateString(); } } } }