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 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 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; } }