)ViewBag.TicketDetailsUpdate)
{
@Html.Hidden("assignedTo", item.AssignedTo)
@Html.Hidden("ticketStatusId", item.TicketStatus)
@Html.Hidden("TicketIdAlias", item.TicketIdAlias.ToString())
@Html.Hidden("JobCompleteResponseTime", item.TicketStatus.ToString())
@Html.Hidden("TicketstatusAlias", item.TicketStatus.ToString())
string EstimatedTimeForJobCompletion = ((item.EstimatedTimeForJobCompletion.ToString() == "0") ? "" : item.EstimatedTimeForJobCompletion.ToString());
var assignedUser = item.DealerOrVanName;
|
|
Ticket Id
|
@Html.DisplayFor(modelItem => item.TicketIdAlias, new { @id = "textTicketId" })
|
|
Created By
|
@Html.DisplayFor(modelItem => item.UsersUserName)
|
|
Assigned To
|
@assignedUser
|
|
Problem Description
|
@Html.DisplayFor(modelItem => item.Description) |
|
Estimated Time for Job Completion (In Min)
|
@if (item.AssignedTo == "dealer")
{
NA |
}
else
{
@Html.DisplayFor(modelItem => EstimatedTimeForJobCompletion)
|
}
Estimated Cost (In )
|
@if (item.AssignedTo == "dealer")
{
NA |
}
else
{
@Html.DisplayFor(modelItem => item.RepairCost) |
}
}
|
Ticket Status
|
|
@*}*@
@if (@ViewBag.TicketStatus == 7)
{
|
Reason
|
|
}
|
Preclosure reason
|
|
|
Chassis Number
|
@(Html.Kendo().AutoComplete()
.Name("ChassisNo")
.DataTextField("ChassisNo")
.Filter("contains")
.MinLength(4)
.HtmlAttributes(new { style = "width:169px !important" })
.Events(e => { e.Select("onSelectChassis"); })
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetChassisNoByEOSApiSearch", "TicketAdministration_Dealer")
.Data("onAdditionalData1");
})
.ServerFiltering(true);
})
)
@* @Html.TextBoxFor(model => model.ChassisNo)*@
*
|
|
Vehicle Type
|
@Html.TextBoxFor(model => model.VehicleType, new { @readonly = "readonly", @style = "width: 170px;height: 25px !important;" })
|
|
@* Tipper Engine Hrs*@
Tipper Engine Hrs/Haulage KM Reading
|
@Html.TextBoxFor(model => model.PreviousOdometerReading, new { @readonly = "readonly", @style = "width: 170px;height: 25px !important;", @onkeypress = "return IsNumeric(event);" })
|
|
Odometer Reading
|
@Html.TextBoxFor(model => model.OdometerReading, new { @style = "width: 170px;height: 25px !important;", @onkeypress = "return IsNumeric(event);" })
@Html.ValidationMessageFor(model => model.OdometerReading)
*
|
|
Remarks
|
@Html.TextAreaFor(model => model.SuggestionComment, new { @id = "textBoxDescription", cols = 50, @rows = 5, style = "min-height : 65px" })
@Html.ValidationMessageFor(model => model.SuggestionComment)
|