@model GODATA.Models.Ticket.TicketModel
| 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 (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "viewer" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce_admin" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "superadmin") { if (item.AssignedTo == "dealer") {NA | } else {
@Html.TextBoxFor(modelItem => EstimatedTimeForJobCompletion, new { @id = "spanEstimatedTime", @style = "width: 49px;height: 25px !important;", @onblur = "changeEstimatedTime(this);", @onkeypress = "return IsNumeric(event);" }) Mins
|
@Html.DisplayFor(modelItem => EstimatedTimeForJobCompletion) | @*
@Html.TextBoxFor(modelItem => EstimatedTimeForJobCompletion, new { @id = "spanEstimatedTime", @style = "width: 49px;height: 25px !important;", @onblur = "changeEstimatedTime(this);", @onkeypress = "return IsNumeric(event);" }) Mins
| *@
@Html.DisplayFor(modelItem => EstimatedTimeForJobCompletion) | } } else {@Html.DisplayFor(modelItem => item.EstimatedTimeForJobCompletion) | }
Estimated Cost (In )
|
@if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "viewer" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce_admin" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "superadmin")
{
if (item.AssignedTo == "dealer")
{
NA | } else {@*@Html.TextBoxFor(modelItem => item.RepairCost)*@ | @Html.DisplayFor(modelItem => item.RepairCost) | } } else {@Html.DisplayFor(modelItem => item.RepairCost) | }||
| Ticket Status | @if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "viewer" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce_admin" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "superadmin") { } else { @Html.DisplayFor(model => model.TicketStatusAlias) } | |||||
| Remarks | @Html.TextAreaFor(model => model.SuggestionComment, new { @id = "textBoxDescription", cols = 50, @rows = 5, style = "min-height : 65px" }) @Html.ValidationMessageFor(model => model.SuggestionComment) |