Vehicle Recall integrated into Vehicle Service
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Web.Mvc;
|
||||
using AutoMapper;
|
||||
@@ -29,11 +29,15 @@ namespace MileageTraker.Web.ViewModels.VehicleRecall
|
||||
[StringLength(128, MinimumLength = 3, ErrorMessage = "Minimum 3 characters")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[HiddenInput(DisplayValue = false)]
|
||||
[ScaffoldColumn(false)]
|
||||
[Display(Name = "Vehicle Service")]
|
||||
[UIHint("VehicleServiceLink")]
|
||||
public int CompletedService_VehicleServiceId { get; set; }
|
||||
|
||||
|
||||
[ScaffoldColumn(false)]
|
||||
[Display(Name = "Completed Date")]
|
||||
public DateTime CompletedService_InvoiceDate { get; set; }
|
||||
|
||||
static VehicleRecallViewModel()
|
||||
{
|
||||
Mapper.CreateMap<VehicleRecallViewModel, Models.VehicleRecall>();
|
||||
|
||||
Reference in New Issue
Block a user