@if (Model.FeedBackagent != "" && Model.FeedBackagent != null)
{

@if ((ViewBag.UserRole).ToLower().Trim() == "cce" || (ViewBag.UserRole).ToLower().Trim() == "cce_admin")
{
}
@Html.Hidden("ticketId", (object)@ViewBag.TicketId)
@Html.Hidden("creationTime", (string)@ViewBag.CreationTime)
@if (ViewBag.FeedbackQuestions.Count > 0)
{
int counter = 1;
foreach (var item in (List)ViewBag.FeedbackQuestions)
{
|
@Html.DisplayFor(model => item.ReasonName)
|
|
counter++;
}
}
|
@Html.LabelFor(model => model.SuggestionComplaint)
|
@Html.DisplayFor(model => model.SuggestionComplaint)
|
| |
|
@Html.LabelFor(model => model.Complaint)
|
@Html.DisplayFor(model => model.Complaint)
|
| |
|
@Html.LabelFor(model => model.CallStatus)
|
@Html.DisplayFor(model => model.CallStatus)
|
@if (ViewBag.FeedbackHistory.Count != 0 && ViewBag.FeedbackHistory != null)
{
@(Html.Kendo().Grid((List)ViewBag.FeedbackHistory)
.Name("FeedbackHistory")
.Columns(columns =>
{
columns.Bound(column => column.TicketId).Title("Ticket Id").Hidden();
columns.Bound(column => column.CreatedBy).Title("Created By");
columns.Bound(column => column.CreationTime).Title("Creation Time").Filterable(false);
columns.Bound(column => column.CallStatus).Title("Call Status History");
columns.Bound(column => column.Remarks).Title("Remarks").Hidden();
})
.Pageable()
.Scrollable()
.Filterable()
.Resizable(resize => resize.Columns(true))
.Events(events => events
.ColumnResize("onColumnResize"))
.DataSource(dataSource => dataSource
.Ajax()
.Batch(true).PageSize(5)
.ServerOperation(false)
)
)
}
}
else
{

@if ((ViewBag.UserRole).ToLower().Trim() == "cce" || (ViewBag.UserRole).ToLower().Trim() == "cce_admin")
{
}
@*Feedback has not been given.*@
@System.Configuration.ConfigurationManager.AppSettings["feedback_not_given"].ToString()
}
@if (Convert.ToDouble(ViewBag.IsMoreThan24Hrs) >= Convert.ToDouble(24))
{
if (Model.ReasonMoreThan24Hrs != "" && Model.ReasonMoreThan24Hrs != null)
{
|
@Html.LabelFor(model => model.ReasonMoreThan24Hrs)
|
@Html.DisplayFor(model => model.ReasonMoreThan24Hrs)
|
}
else
{
@*Reason has not been given.*@
@System.Configuration.ConfigurationManager.AppSettings["reason_not_given"].ToString();
}
}