Add notes

This commit is contained in:
2013-03-05 15:09:21 -05:00
parent 47a60965fe
commit ff0b18a9fd
12 changed files with 76 additions and 4 deletions
+2
View File
@@ -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; }
+2
View File
@@ -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; }
+1
View File
@@ -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")]