@model IEnumerable @Html.Hidden("VRegistrationNo", (object)@ViewBag.VRegistrationNo) @Html.Hidden("VMobileNo", (object)@ViewBag.mobileNo) @Html.Hidden("VComplaintNo", (object)@ViewBag.ComplaintNo)
@if ((ViewBag.CustomerDetailsList.Count == 0 || ViewBag.CustomerDetailsList == null) && (Model.Count() == 0 || Model == null || ViewBag.CloseTicketList.Count == 0 || ViewBag.CloseTicketList == null || ViewBag.SaveTicketList.Count == 0 || ViewBag.SaveTicketList == null)) {

@*Customer does not exist. Please add first!!!*@ @System.Configuration.ConfigurationManager.AppSettings["customer_not_exist"].ToString()

} else if ((ViewBag.CustomerDetailsList.Count != 0 && ViewBag.CustomerDetailsList != null) && ((Model.Count() == 0 || Model == null) && (ViewBag.CloseTicketList1.Count == 0 || ViewBag.CloseTicketList1 == null) && (ViewBag.SaveTicketList.Count == 0 || ViewBag.SaveTicketList == null))) {

@*No Open or Close Tickets!!!*@ @System.Configuration.ConfigurationManager.AppSettings["no_open_close_tickets"].ToString()

} else if ((ViewBag.CustomerDetailsList.Count != 0 && ViewBag.CustomerDetailsList != null) && (Model.Count() > 0 || Model != null || ViewBag.CloseTicketList1.Count > 0 || ViewBag.CloseTicketList1 != null) && (ViewBag.SaveTicketList.Count == 0 || ViewBag.SaveTicketList == null)) {
@if (Model.Count() > 0 && Model != null) {

Open Tickets

@foreach (var item in Model) { }
Id Status Resolution SLA (in min) Response SLA (in min)
@Html.DisplayFor(modelItem => item.TicketIdAlias) @Html.DisplayFor(modelItem => item.TicketStatusAlias) @Html.DisplayFor(modelItem => item.DefaultSlaTime) @Html.DisplayFor(modelItem => item.TotalTicketLifecycleTimeSla)
} @if (ViewBag.CloseTicketList.Count > 0 && ViewBag.CloseTicketList != null) {

Close Ticket

@foreach (var item2 in (List)ViewBag.CloseTicketList) { @if (item2.CallStatus == null) { item2.CallStatus = ""; } else { item2.CallStatus = item2.CallStatus; } @* if feedback and reason for 24 hrs are filled *@ @if ((Convert.ToDouble(item2.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item2.CallStatus).ToLower().Trim() == "feedback collected") && (item2.ReasonBeyond24Hrs != "" && item2.ReasonBeyond24Hrs != null)) { } @* if reason is filled and feedback is not filled *@ else if ((Convert.ToDouble(item2.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item2.CallStatus).ToLower().Trim() != "feedback collected" || item2.CallStatus == "" || item2.CallStatus == null) && (item2.ReasonBeyond24Hrs != "" && item2.ReasonBeyond24Hrs != null)) //else if ((Convert.ToDouble(item2.TotalTicketCloseHours) >= Convert.ToDouble(24)) && (item2.FeedBackAgenName == "" || item2.FeedBackAgenName == null) && (item2.ReasonBeyond24Hrs != "" && item2.ReasonBeyond24Hrs != null)) { } @* if reason and feedback are not filled *@ else if ((Convert.ToDouble(item2.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item2.CallStatus).ToLower().Trim() != "feedback collected" || item2.CallStatus == "" || item2.CallStatus == null) && (item2.ReasonBeyond24Hrs == "" || item2.ReasonBeyond24Hrs == null)) //else if ((Convert.ToDouble(item2.TotalTicketCloseHours) >= Convert.ToDouble(24)) && (item2.FeedBackAgenName == "" || item2.FeedBackAgenName == null) && (item2.ReasonBeyond24Hrs == "" || item2.ReasonBeyond24Hrs == null)) { } @* if reason is not filled and feedback is filled *@ else if ((Convert.ToDouble(item2.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item2.CallStatus).ToLower().Trim() == "feedback collected") && (item2.ReasonBeyond24Hrs == "" || item2.ReasonBeyond24Hrs == null)) //else if ((Convert.ToDouble(item2.TotalTicketCloseHours) >= Convert.ToDouble(24)) && (item2.FeedBackAgenName != "" && item2.FeedBackAgenName != null) && (item2.ReasonBeyond24Hrs == "" || item2.ReasonBeyond24Hrs == null)) { } @* if ticket is not under case of 24 hrs closure and feedback is not filled *@ else if (Convert.ToDouble(item2.TotalTicketCloseHours) < Convert.ToDouble(24) && ((item2.CallStatus).ToLower().Trim() != "feedback collected" || item2.CallStatus == "" || item2.CallStatus == null)) //else if (Convert.ToDouble(item2.TotalTicketCloseHours) < Convert.ToDouble(24) && (item2.FeedBackAgenName == "" || item2.FeedBackAgenName == null)) { } @* if ticket is not under case of 24 hrs closure and feedback is filled *@ else if (Convert.ToDouble(item2.TotalTicketCloseHours) < Convert.ToDouble(24) && ((item2.CallStatus).ToLower().Trim() == "feedback collected")) //else if (Convert.ToDouble(item2.TotalTicketCloseHours) < Convert.ToDouble(24) && (item2.FeedBackAgenName != "" && item2.FeedBackAgenName != null)) { } }
Id Status Resolution SLA (in min) Response SLA (in min) Closure within 24 Hrs and Feedback
@Html.DisplayFor(modelItem => item2.TicketIdAlias) @*Close*@ @Html.DisplayFor(modelItem => item2.TicketStatusAlias) @*@Html.DisplayFor(modelItem => "Close")*@ @Html.DisplayFor(modelItem => item2.DefaultSlaTime) @Html.DisplayFor(modelItem => item2.TotalTicketLifecycleTimeSla)  24      24        24        24              
}
if (Model.Count() == 0 || Model == null) {
} else {
} } else if ((ViewBag.CustomerDetailsList.Count != 0 && ViewBag.CustomerDetailsList != null) && (ViewBag.SaveTicketList.Count > 0 && ViewBag.SaveTicketList != null)) {

@*No Open or Close Tickets!!!*@ @System.Configuration.ConfigurationManager.AppSettings["pendingTicketFound"].ToString()

@if ((ViewBag.CloseTicketList.Count > 0 && ViewBag.CloseTicketList != null)) {

Close Ticket

@foreach (var item3 in (List)ViewBag.CloseTicketList) { @if (item3.CallStatus == null) { item3.CallStatus = ""; } else { item3.CallStatus = item3.CallStatus; } @* if feedback and reason for 24 hrs are filled *@ @if ((Convert.ToDouble(item3.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item3.CallStatus).ToLower().Trim() == "feedback collected") && (item3.ReasonBeyond24Hrs != "" && item3.ReasonBeyond24Hrs != null)) { } @* if reason is filled and feedback is not filled *@ else if ((Convert.ToDouble(item3.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item3.CallStatus).ToLower().Trim() != "feedback collected" || item3.CallStatus == "" || item3.CallStatus == null) && (item3.ReasonBeyond24Hrs != "" && item3.ReasonBeyond24Hrs != null)) //else if ((Convert.ToDouble(item3.TotalTicketCloseHours) >= Convert.ToDouble(24)) && (item3.FeedBackAgenName == "" || item3.FeedBackAgenName == null) && (item3.ReasonBeyond24Hrs != "" && item3.ReasonBeyond24Hrs != null)) { } @* if reason and feedback are not filled *@ else if ((Convert.ToDouble(item3.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item3.CallStatus).ToLower().Trim() != "feedback collected" || item3.CallStatus == "" || item3.CallStatus == null) && (item3.ReasonBeyond24Hrs == "" || item3.ReasonBeyond24Hrs == null)) //else if ((Convert.ToDouble(item3.TotalTicketCloseHours) >= Convert.ToDouble(24)) && (item3.FeedBackAgenName == "" || item3.FeedBackAgenName == null) && (item3.ReasonBeyond24Hrs == "" || item3.ReasonBeyond24Hrs == null)) { } @* if reason is not filled and feedback is filled *@ else if ((Convert.ToDouble(item3.TotalTicketCloseHours) >= Convert.ToDouble(24)) && ((item3.CallStatus).ToLower().Trim() == "feedback collected") && (item3.ReasonBeyond24Hrs == "" || item3.ReasonBeyond24Hrs == null)) //else if ((Convert.ToDouble(item3.TotalTicketCloseHours) >= Convert.ToDouble(24)) && (item3.FeedBackAgenName != "" && item3.FeedBackAgenName != null) && (item3.ReasonBeyond24Hrs == "" || item3.ReasonBeyond24Hrs == null)) { } @* if ticket is not under case of 24 hrs closure and feedback is not filled *@ else if (Convert.ToDouble(item3.TotalTicketCloseHours) < Convert.ToDouble(24) && ((item3.CallStatus).ToLower().Trim() != "feedback collected" || item3.CallStatus == "" || item3.CallStatus == null)) //else if (Convert.ToDouble(item3.TotalTicketCloseHours) < Convert.ToDouble(24) && (item3.FeedBackAgenName == "" || item3.FeedBackAgenName == null)) { } @* if ticket is not under case of 24 hrs closure and feedback is filled *@ else if (Convert.ToDouble(item3.TotalTicketCloseHours) < Convert.ToDouble(24) && ((item3.CallStatus).ToLower().Trim() == "feedback collected")) //else if (Convert.ToDouble(item3.TotalTicketCloseHours) < Convert.ToDouble(24) && (item3.FeedBackAgenName != "" && item3.FeedBackAgenName != null)) { } }
Id Status Resolution SLA (in min) Response SLA (in min) Closure within 24 Hrs and Feedback
@Html.DisplayFor(modelItem => item3.TicketIdAlias) @*Close*@ @Html.DisplayFor(modelItem => item3.TicketStatusAlias) @*@Html.DisplayFor(modelItem => "Close")*@ @Html.DisplayFor(modelItem => item3.DefaultSlaTime) @Html.DisplayFor(modelItem => item3.TotalTicketLifecycleTimeSla)  24      24        24        24              
}
}
Customer/Caller Info
Language *
Source of Toll Free No. @* *@
Name * +
Contact No.
@**@ @**@ @* added on 27-11-2020*@ @* *@ @* ended on 27-11-2020*@
Vehicle's Owner/Fleet Info
Name
Contact No.
Location
EmailID
State
City
Vehicle Info
Registration No.
Chassis No.
Model No.
Product Variant
Vehicle Type
Vehicle Installation Date
Telematic lat/long
Telematic Last Login
State *
Nearest Big Town/City *
Breakdown Location *
Landmark
Routes *
Type of Load Carrying dddfd Type of Load Carrying
Direction of Vehicle
Total Kilometers Covered (In KM) * Breakdown Vehicle Travelled (In KM) *
Warranty @* *@
Nature of Problem *
Vehicle Warranty*
Vehicle Amc*
Vehicle Emission Norms*
Vehicle Sales Date*