Add notes
This commit is contained in:
@@ -29,6 +29,8 @@ namespace MileageTraker.Web.ViewModels.Log
|
||||
[Display(Name = "Purpose")]
|
||||
public string PurposePurpose { get; set; }
|
||||
|
||||
public string Notes { get; set; }
|
||||
|
||||
[Display(Name = "Driver Name")]
|
||||
public string UserFullName { get; set; }
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace MileageTraker.Web.ViewModels.Log
|
||||
[Display(Name = "Purpose")]
|
||||
public string PurposePurpose { get; set; }
|
||||
|
||||
public string Notes { get; set; }
|
||||
|
||||
[DisplayFormat(DataFormatString = "{0:0.000}", ApplyFormatInEditMode = true)]
|
||||
public double GasPurchased { get; set; }
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace MileageTraker.Web.ViewModels.Log
|
||||
public SelectListViewModel Purpose { get; set; }
|
||||
|
||||
[InputSize("large")]
|
||||
[StringLength(64, MinimumLength = 3, ErrorMessage = "Minimum 3 characters")]
|
||||
public string Notes { get; set; }
|
||||
|
||||
[Display(Name = "Gas Purchased")]
|
||||
|
||||
Reference in New Issue
Block a user