Validate new logs are not being entered after vehicle is inactive.
This commit is contained in:
@@ -59,7 +59,8 @@ namespace MileageTraker.Web.Models
|
||||
public string PurDate { get; set; }
|
||||
|
||||
[DataType(DataType.DateTime)]
|
||||
[DisplayFormat(NullDisplayText = "Currently Active", DataFormatString = @"{0:MM/dd/yyyy}")]
|
||||
[DisplayFormat(NullDisplayText = "Currently Active", DataFormatString = @"{0:MM/dd/yyyy}", ApplyFormatInEditMode = true)]
|
||||
[InputSize("small")]
|
||||
[FormatHint("mm/dd/yyyy")]
|
||||
public DateTime? InactiveDate { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user