@model GODATA.Models.Ticket.CustomerModel @*@using (Ajax.BeginForm("Create", "Ticket_CustomerInventory", new AjaxOptions { HttpMethod = "POST", OnBegin = "onBeginadd", OnSuccess = "onSuccessAddCustomer" })) {*@ @Html.ValidationSummary(true) @Html.HiddenFor(model => model.CustomerStateName, new { id = "customerStateName" }) @Html.HiddenFor(model => model.CustomerOwnerStateName, new { id = "customerOwnerStateName" }) @Html.HiddenFor(model => model.CustomerId, new { id = "CustomerId" }) @Html.HiddenFor(model => model.CustomerType, new { id = "CustomerType" })
Vehicle Details
| Breakdown Reason * | ||||
| @Html.LabelFor(model => model.VehicleRegistrationNumber)@*Registration Number*@ * | @Html.Partial("../Inventory/RegistrationNo", new ViewDataDictionary { { "RegNo", @ViewBag.VRegNo }, { "id", "VehicleRegistrationNumber" }, { "name", "VehicleRegistrationNumber" }, { "BlurFunction", "checkIsVehicleExist" } }) @Html.ValidationMessageFor(model => model.VehicleRegistrationNumber) | @Html.LabelFor(model => model.VehicleNumberPlate) * | @Html.ValidationMessageFor(model => model.VehicleNumberPlate) | |
| @Html.LabelFor(model => model.CustomerVehicleModelTagging) * | * | @Html.LabelFor(model => model.VehicleModelNumber) * |
@*@Html.EditorFor(model => model.VehicleModelNumber)*@
@Html.DropDownListFor(model => model.VehicleModelNumber, (IEnumerable |
|
| @Html.LabelFor(model => model.VehicleType) * | @Html.LabelFor(model => model.KamUser) | @if (ViewBag.IsKamUser == "True") {} else { | } |
Customer/Driver Details @* (Changes Made to VECV DBM Data)
*@| * | @Html.EditorFor(model => model.CustomerOwnerMobileNo1) @Html.ValidationMessageFor(model => model.CustomerOwnerMobileNo1) | * | @Html.EditorFor(model => model.CustomerOwnerName) @Html.ValidationMessageFor(model => model.CustomerOwnerName) |
| * | @Html.EditorFor(model => model.CustomerMobileNumber1) @Html.ValidationMessageFor(model => model.CustomerMobileNumber1) | * | @Html.EditorFor(model => model.CustomerCustomerName) @Html.ValidationMessageFor(model => model.CustomerCustomerName) |