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:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user