Updated the table class files to allow a nullable ad special ID and changed the enum in the new modify record form to a boolean. Added a form to manage ad special keywords, still needs to handle removing them properly.

This commit is contained in:
2017-04-10 16:42:21 -05:00
parent d4d0a62eba
commit 09508aa16c
17 changed files with 594 additions and 86 deletions
+4 -2
View File
@@ -13,7 +13,9 @@ namespace AdvertsingProfitControl
[Column(TypeName = "date")]
public DateTime InvoiceDate { get; set; }
public int InvoiceNumber { get; set; }
[Required]
[StringLength(256)]
public string InvoiceNumber { get; set; }
public decimal? InvoiceNetAmountAtCost { get; set; }
@@ -27,7 +29,7 @@ namespace AdvertsingProfitControl
public int FkDateId { get; set; }
public virtual WeekEndingDate WeekEndingDate { get; set; }
[Required]
public virtual Supplier Supplier { get; set; }
}
}