Tasks 184281, 184799, 184800, 184801 and 184802

Align .editorconfig files

Move Controller logic to DMO classes

GlobalVars.AppSettings = Models.AppSettings.GetFromConfigurationManager();

Question EditorConfig
Project level editorconfig
Format White Spaces
AppSetting when EnvironmentVariable not set
Corrective Actions Tests
Schedule Actions Tests
DMO Tests
Controller Tests

Get ready to use VSCode IDE
This commit is contained in:
2024-12-04 11:58:13 -07:00
parent 538b1f817e
commit b1c6903c1c
150 changed files with 29146 additions and 33456 deletions

View File

@ -1,41 +1,32 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Fab2ApprovalSystem.ViewModels
{
public class IssuesViewModel
{
[Display(Name = "Document Type")]
public string DocumentType { get; set; }
[Display(Name = "Sub Category")]
public string SubDoc { get; set; }
[Display(Name = "Issue#")]
public int IssueID { get; set; }
public int DocID { get; set; }
public string Title { get; set; }
public string IssueDescription { get; set; }
public string LotNos { get; set; }
public DateTime? IssueDate { get; set; }
[Display(Name = "Submit Date")]
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
public DateTime? SubmitedDate { get; set; }
public DateTime? CloseDate { get; set; }
public string Originator { get; set; }
public string ScrapDescription { get; set; }
public string PendingApprovers { get; set; }
public int ItemStatus { get; set; }
public DateTime? ExpirationDate { get; set; }
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
public DateTime? ExtensionDate { get; set; }
public DateTime? NextDueDate { get; set; }
namespace Fab2ApprovalSystem.ViewModels;
public class IssuesViewModel {
}
[Display(Name = "Document Type")]
public string DocumentType { get; set; }
[Display(Name = "Sub Category")]
public string SubDoc { get; set; }
[Display(Name = "Issue#")]
public int IssueID { get; set; }
public int DocID { get; set; }
public string Title { get; set; }
public string IssueDescription { get; set; }
public string LotNos { get; set; }
public DateTime? IssueDate { get; set; }
[Display(Name = "Submit Date")]
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
public DateTime? SubmitedDate { get; set; }
public DateTime? CloseDate { get; set; }
public string Originator { get; set; }
public string ScrapDescription { get; set; }
public string PendingApprovers { get; set; }
public int ItemStatus { get; set; }
public DateTime? ExpirationDate { get; set; }
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
public DateTime? ExtensionDate { get; set; }
public DateTime? NextDueDate { get; set; }
}
}