@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

@if (ViewBag.IsKamUser == "True") { } else { }
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)ViewBag.VehicleModelNo, "-Select-", new { @id = "ddVehicleModleNo", @onchange = "getVehicleModelTagging()" }) @Html.ValidationMessageFor(model => model.VehicleModelNumber)
@Html.LabelFor(model => model.VehicleType) * @Html.LabelFor(model => model.KamUser)

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)
@*

Customer Details

*@

Customer Details (Customer info same as above)

@*added on 6-07-2020 for kam user*@
@Html.LabelFor(model => model.CustomerOwnerEmailId) @* * *@ @Html.EditorFor(model => model.CustomerOwnerEmailId) @Html.ValidationMessageFor(model => model.CustomerOwnerEmailId) @Html.LabelFor(model => model.CustomerOwnerAddress) @Html.EditorFor(model => model.CustomerOwnerAddress)
@Html.LabelFor(model => model.CustomerOwnerState) * @Html.DropDownListFor(model => model.CustomerOwnerState, (IEnumerable)ViewBag.StateList, "-Select-", new { @id = "ddOwnerState", @onchange = "LoadCityList(id)" }) @Html.ValidationMessageFor(model => model.CustomerOwnerState) @Html.LabelFor(model => model.CustomerOwnerCity) * @Html.ValidationMessageFor(model => model.CustomerOwnerCity)
@Html.LabelFor(model => model.CustomerEmailId) @Html.EditorFor(model => model.CustomerEmailId) @Html.ValidationMessageFor(model => model.CustomerEmailId) @Html.LabelFor(model => model.CustomerAddress) @Html.EditorFor(model => model.CustomerAddress)
@Html.LabelFor(model => model.CustomerState) @Html.DropDownListFor(model => model.CustomerState, (IEnumerable)ViewBag.StateList, "-Select-", new { @id = "ddCustomerState", @onchange = "LoadCityList(id)" }) @Html.LabelFor(model => model.CustomerCity)
@*@Html.EditorFor(model => model.VehicleModelNumber)*@ @*@Html.DropDownListFor(model => model.InstallationDate, (IEnumerable)ViewBag.VehicleType, "-Select-", new { @id = "ddVehicleType" })*@ @(Html.Kendo().DatePicker() .Name("InstallationDate") .Start(CalendarView.Month) .Depth(CalendarView.Month) .Format("dd MMM yyyy") // .Value(DateTime.Now) .Max(DateTime.Now) .HtmlAttributes(new { @class = "kendo-make-readonly" }) ) @Html.ValidationMessageFor(model => model.InstallationDate)

@*}*@