EOS/Views/Shared/_Layout.cshtml
Nidhi Bhargava f0c1ab20e1 code push
2025-09-04 16:25:07 +05:30

2124 lines
132 KiB
Plaintext

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>@ViewBag.Title</title>
<meta http-equiv="X-UA-Compatible" content="IE=8;FF=3;OtherUA=4" />
<link rel="icon" type="image/png" href="@Url.Content("~/Content/css/images/NewFeviconEicher1.png")" />
<link href="@Url.Content("~/Content/css/template.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/css/page-layout.css")" rel="stylesheet" type="text/css" />
<link href="~/Content/css/jquery.alerts.css" rel="stylesheet" type="text/css" media="screen" />
@Scripts.Render("~/bundles/jsLayout")
<script src="@Url.Content("~/Scripts/Shared/MESSAGE.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/Shared/vehicleProductVariantList.js")" type="text/javascript"></script>
@*=========================Include css and js Knedo files============================*@
<link href="@Url.Content("~/Content/kendo/kendo.common.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/kendo.dataviz.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/kendo.default.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/kendo.dataviz.default.min.css")" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(document).ready(function () {
epsflag();
var globalHostAddress = document.location.origin + "/";
$('#globalHostAddress').val(globalHostAddress);
$(".ToggleMenu").click(function () {
if ((document.getElementById('divNotifications') != null) && (document.getElementById('divKamNotifications') != null)) {
if (document.getElementById('divNotifications').style.display != "none") {
$('#divNotifications').hide();
$("#divNotifications").addClass('hide');
$("#toggleDiv").fadeToggle("slow");
} else if (document.getElementById('divKamNotifications').style.display != "none") {
$('#divKamNotifications').hide();
$("#divKamNotifications").addClass('hide');
$("#toggleDiv").fadeToggle("slow");
} else {
$("#toggleDiv").fadeToggle("slow");
}
} else {
$("#toggleDiv").fadeToggle("slow");
}
});
setTimeout(function () {
$("body").find('.k-datepicker > .k-state-disabled').addClass("disabledatepicker");
$("body").find('.k-datepicker > .disabledatepicker').parent().addClass("disabledatepicker2");
}, 50)
});
</script>
@*=========================End of css and js Knedo files============================*@
<!--[if gte IE 9]>
<link rel="stylesheet" type="text/css" href="~/Content/css/ie_css.css" />
<![endif]-->
</head>
<body>
@Html.Hidden("UserRole", HttpContext.Current.Session["UserRole"].ToString())
@Html.Hidden("hdnIS_EPS","no")
@Html.Hidden("globalHostAddress")
<div class="Main_Div">
<div id="masterHeader">
<div id="pageHead" class="fleft">
<div class="Logo">
<span>
<img src="~/Content/css/images/Eicher-logo.jpg" alt="Eicher" title="Eicher" />
</span>
</div>
</div>
<div id="userHeaderPanel" class="fright img_responsive">
</div>
<div class="clear"></div>
<div id="masterMenu">
<!-- menu -->
<div class="main">
<nav id="cbp-hrmenu" class="cbp-hrmenu">
@if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "rsm" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "asm" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "csm")
{
<ul>
<li>
<a href="@Url.Action("Index", "Home", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">
</label>
Dashboard
</a>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/tracking.png" alt="" border="0" height="16" width="16">
</label>Tracking
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Tracking</h4>
<ul>
<li><a class="border_none" href="@Url.Action("LiveTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">Live Tracking</a></li>
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label>Reports
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("getEosCallCount", "Report", new { currtime = DateTime.Now.Ticks })">EOS Call Count</a></li>
<li><a class="border_none" href="@Url.Action("HdBusLmdContribution", "Report", new { currtime = DateTime.Now.Ticks })">HD, BUSES and LMD Contribution</a></li>
<li><a class="border_none" href="@Url.Action("DealerWiseCallDetails", "Report", new { currtime = DateTime.Now.Ticks })">Dealer-Wise Call Details</a></li>
<li><a class="border_none" href="@Url.Action("TimeslotClosure", "Report", new { currtime = DateTime.Now.Ticks })">Timeslot Closure</a></li>
<li><a class="border_none" href="@Url.Action("TollFreeAndOpportunityLoss", "Report", new { currtime = DateTime.Now.Ticks })">Toll Free No. And Opportunity Loss</a></li>
</ul>
</div>
<div>
<h4>&nbsp;</h4>
<ul>
<li><a class="border_none" href="@Url.Action("CallFeedbackRating", "Report", new { currtime = DateTime.Now.Ticks })">Call Feedback Rating</a></li>
<li><a class="border_none" href="@Url.Action("ReasonForClosureMoreThan24", "Report", new { currtime = DateTime.Now.Ticks })">Reason For Closure (>24)</a></li>
<li><a class="border_none" href="@Url.Action("DeclinedCalls", "Report", new { currtime = DateTime.Now.Ticks })">Declined Calls</a></li>
<li><a class="border_none" href="@Url.Action("EicherPromise", "Report", new { currtime = DateTime.Now.Ticks })">Eicher Promise</a></li>
<li><a class="border_none" href="@Url.Action("CustomerReport", "Report", new { currtime = DateTime.Now.Ticks })">Customer Report</a></li>
</ul>
</div>
<div>
<h4>Ticket Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Ticket_Open", "Report", new { currtime = DateTime.Now.Ticks })">Open Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Close", "Report", new { currtime = DateTime.Now.Ticks })">Close Ticket</a></li>
@*<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Open")">Open Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Close")">Close Ticket(Telematics)</a></li>*@
</ul>
</div>
<div>
<h4>Geo Report</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Index", "Analysis", new { currtime = DateTime.Now.Ticks })">Geo Analysis Report</a></li>
<li><a class="border_none" href="@Url.Action("Analysis_RouteWiseBreakdownReport_Index", "Analysis", new { currtime = DateTime.Now.Ticks })">Route Wise Breakdown Report</a></li>
</ul>
</div>
<div>
<h4>Consolidated Report</h4>
<ul>
<li><a class="border_none" href="@Url.Action("ConsolidatedReport", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report till Aug'25</a></li>
<li><a class="border_none" href="@Url.Action("ConsolidatedReportNew", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report Sep'25 Onwards</a></li>
</ul>
</div>
<div>
<h4>EOS Score Card Analysis</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Report_DriverScore", "Report", new { currtime = DateTime.Now.Ticks })">EOS Score Card Analysis</a></li>
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Search</span>
</a>
</li>
<li id="liEPS">
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks, type = "eps" })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket EPS Search</span>
</a>
</li>
<li>
<a onclick="eosMap();">
<label>
@*<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">*@
</label>
EOS Dealer Performance Map
</a>
</li>
<li class="superadmin_welcome fright" style="cursor: default;">
<a href="#" class="AdminName">
<label>
<img class="min_resolution" src="/Content/css/images/user-icon.png" alt="" border="0" height="16" width="16">
</label>
<span>Welcome @HttpContext.Current.Session["FirstName"].ToString().ToUpper()</span>
</a>
<a href="#" class="ToggleMenu">
<img src="~/Content/css/images/menu-bar-thumbnails.png" alt="menu" border="0" style="margin-top: 3px; margin-left: 8px;" />
</a>
</li>
</ul>
<div id="toggleDiv">
<ul>
<li class="superadmin_changePassword">
<a href="@Url.Action("ChangePassword", "User", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/settings-icon.png" alt="" border="0" height="16" width="16">
</label>
Change Password
</a>
</li>
<li class="superadmin_logout">
<a href="@Url.Action("LogOff", "Account", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/logout-icon.png" alt="" border="0" height="16" width="16">
</label>
Logout
</a>
</li>
</ul>
</div>
}
else if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "management" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "hr" )
{
<ul>
<li>
<a href="@Url.Action("Index", "Home", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">
</label>
Dashboard
</a>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/tracking.png" alt="" border="0" height="16" width="16">
</label>Tracking
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Tracking</h4>
<ul>
<li><a class="border_none" href="@Url.Action("LiveTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">Live Tracking</a></li>
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label>Reports
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("getEosCallCount", "Report", new { currtime = DateTime.Now.Ticks })">EOS Call Count</a></li>
<li><a class="border_none" href="@Url.Action("HdBusLmdContribution", "Report", new { currtime = DateTime.Now.Ticks })">HD, BUSES and LMD Contribution</a></li>
<li><a class="border_none" href="@Url.Action("DealerWiseCallDetails", "Report", new { currtime = DateTime.Now.Ticks })">Dealer-Wise Call Details</a></li>
<li><a class="border_none" href="@Url.Action("TimeslotClosure", "Report", new { currtime = DateTime.Now.Ticks })">Timeslot Closure</a></li>
<li><a class="border_none" href="@Url.Action("TollFreeAndOpportunityLoss", "Report", new { currtime = DateTime.Now.Ticks })">Toll Free No. And Opportunity Loss</a></li>
</ul>
</div>
<div>
<h4>&nbsp;</h4>
<ul>
<li><a class="border_none" href="@Url.Action("CallFeedbackRating", "Report", new { currtime = DateTime.Now.Ticks })">Call Feedback Rating</a></li>
<li><a class="border_none" href="@Url.Action("ReasonForClosureMoreThan24", "Report", new { currtime = DateTime.Now.Ticks })">Reason For Closure (>24)</a></li>
<li><a class="border_none" href="@Url.Action("DeclinedCalls", "Report", new { currtime = DateTime.Now.Ticks })">Declined Calls</a></li>
<li><a class="border_none" href="@Url.Action("EicherPromise", "Report", new { currtime = DateTime.Now.Ticks })">Eicher Promise</a></li>
<li><a class="border_none" href="@Url.Action("CustomerReport", "Report", new { currtime = DateTime.Now.Ticks })">Customer Report</a></li>
</ul>
</div>
<div>
<h4>Ticket Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Ticket_Open", "Report", new { currtime = DateTime.Now.Ticks })">Open Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Close", "Report", new { currtime = DateTime.Now.Ticks })">Close Ticket</a></li>
@*<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Open")">Open Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Close")">Close Ticket(Telematics)</a></li>*@
</ul>
</div>
<div>
<h4>Geo Report</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Index", "Analysis", new { currtime = DateTime.Now.Ticks })">Geo Analysis Report</a></li>
<li><a class="border_none" href="@Url.Action("Analysis_RouteWiseBreakdownReport_Index", "Analysis", new { currtime = DateTime.Now.Ticks })">Route Wise Breakdown Report</a></li>
</ul>
</div>
<div>
<h4>Consolidated Report</h4>
<ul>
<li><a class="border_none" href="@Url.Action("ConsolidatedReport", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report</a></li>
<li><a class="border_none" href="@Url.Action("ConsolidatedReportNew", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report Sep'25 Onwards</a></li>
</ul>
</div>
<div>
<h4>EOS Score Card Analysis</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Report_DriverScore", "Report", new { currtime = DateTime.Now.Ticks })">EOS Score Card Analysis</a></li>
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Search</span>
</a>
</li>
<li>
<a onclick="eosMap();">
<label>
@*<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">*@
</label>
EOS Dealer Performance Map
</a>
</li>
<li class="superadmin_welcome fright" style="cursor: default;">
<a href="#" class="AdminName">
<label>
<img class="min_resolution" src="/Content/css/images/user-icon.png" alt="" border="0" height="16" width="16">
</label>
<span>Welcome @HttpContext.Current.Session["FirstName"].ToString().ToUpper()</span>
</a>
<a href="#" class="ToggleMenu">
<img src="~/Content/css/images/menu-bar-thumbnails.png" alt="menu" border="0" style="margin-top: 3px; margin-left: 8px;" />
</a>
</li>
</ul>
<div id="toggleDiv">
<ul>
<li class="superadmin_changePassword">
<a href="@Url.Action("ChangePassword", "User", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/settings-icon.png" alt="" border="0" height="16" width="16">
</label>
Change Password
</a>
</li>
<li class="superadmin_logout">
<a href="@Url.Action("LogOff", "Account", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/logout-icon.png" alt="" border="0" height="16" width="16">
</label>
Logout
</a>
</li>
</ul>
</div>
}
else if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "superadmin")
{
<ul>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">
</label>
Dashboard
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Dashboard</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Index", "Home", new { currtime = DateTime.Now.Ticks })">Dashboard</a></li>
<li><a class="border_none" href="@Url.Action("DealerWiseDashboard", "Home", new { currtime = DateTime.Now.Ticks })">Dealer wise Dashboard</a></li>
@* <li><a class="border_none" href="@Url.Action("StateDashboard", "Home", new { currtime = DateTime.Now.Ticks })">State Dashboard (last six months)</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/tracking.png" alt="" border="0" height="16" width="16">
</label><span>Tracking</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Tracking</h4>
<ul>
<li><a class="border_none" href="@Url.Action("LiveTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">Live Tracking</a></li>
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label><span>Reports</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
@* <div>*@
<div>
<h4>Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("getEosCallCount", "Report", new { currtime = DateTime.Now.Ticks })">EOS Call Count</a></li>
<li><a class="border_none" href="@Url.Action("HdBusLmdContribution", "Report", new { currtime = DateTime.Now.Ticks })">HD, BUSES and LMD Contribution</a></li>
<li><a class="border_none" href="@Url.Action("DealerWiseCallDetails", "Report", new { currtime = DateTime.Now.Ticks })">Dealer-Wise Call Details</a></li>
<li><a class="border_none" href="@Url.Action("TimeslotClosure", "Report", new { currtime = DateTime.Now.Ticks })">Timeslot Closure</a></li>
<li><a class="border_none" href="@Url.Action("TollFreeAndOpportunityLoss", "Report", new { currtime = DateTime.Now.Ticks })">Toll Free No. And Opportunity Loss</a></li>
</ul>
</div>
<div>
<h4>&nbsp;</h4>
<ul>
<li><a class="border_none" href="@Url.Action("CallFeedbackRating", "Report", new { currtime = DateTime.Now.Ticks })">Call Feedback Rating</a></li>
<li><a class="border_none" href="@Url.Action("ReasonForClosureMoreThan24", "Report", new { currtime = DateTime.Now.Ticks })">Reason For Closure (>24)</a></li>
<li><a class="border_none" href="@Url.Action("DeclinedCalls", "Report", new { currtime = DateTime.Now.Ticks })">Declined Calls</a></li>
<li><a class="border_none" href="@Url.Action("EicherPromise", "Report", new { currtime = DateTime.Now.Ticks })">Eicher Promise</a></li>
<li><a class="border_none" href="@Url.Action("CustomerReport", "Report", new { currtime = DateTime.Now.Ticks })">Customer Report</a></li>
</ul>
</div>
<div>
<h4>Ticket Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Report_TicketPending", "Report", new { currtime = DateTime.Now.Ticks })">Pending Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Open", "Report", new { currtime = DateTime.Now.Ticks })">Open Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Close", "Report", new { currtime = DateTime.Now.Ticks })">Close Ticket</a></li>
@* <li><a class="border_none" href="@Url.Action("Report_KamTickets_Close", "Report", new { currtime = DateTime.Now.Ticks })">KAM Close Ticket</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Report_TicketPending")">Pending Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Open")">Open Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Close")">Close Ticket(Telematics)</a></li>*@
</ul>
</div>
<div>
<h4>Consolidated Report</h4>
<ul>
<li><a class="border_none" href="@Url.Action("ConsolidatedReport", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report till Aug'25</a></li>
<li><a class="border_none" href="@Url.Action("ConsolidatedReportNew", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report Sep'25 Onwards</a></li>
</ul>
</div>
<div>
<h4>EOS Score Card Analysis</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Report_DriverScore", "Report", new { currtime = DateTime.Now.Ticks })">EOS Score Card Analysis</a></li>
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/user-management.png" alt="" border="0" height="16" width="16">
</label><span>Administration</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Inventory</h4>
<ul>
<li><a class="border_none" href="@Url.Action("ManageOwner", "Inventory", new { currtime = DateTime.Now.Ticks })">Manage Fleet Owner</a></li>
<li><a class="border_none" href="@Url.Action("Reason", "Inventory", new { currtime = DateTime.Now.Ticks })">Manage Reason</a></li>
<li><a class="border_none" href="@Url.Action("ManageFleet", "Inventory", new { currtime = DateTime.Now.Ticks })">Manage EOS Team</a></li>
<li><a class="border_none" href="@Url.Action("ManageVehicle", "Inventory", new { currtime = DateTime.Now.Ticks })">Manage Vehicle Model</a></li>
<li><a class="border_none" href="@Url.Action("ManageEscalation", "Ticket", new { currtime = DateTime.Now.Ticks })">Manage Escalation</a></li>
</ul>
</div>
<div>
<h4>User Management</h4>
<ul>
<li><a class="border_none" href="@Url.Action("ManageUserInventory", "UserInventory", new { currtime = DateTime.Now.Ticks })">Manage Eicher User</a></li>
<li><a class="border_none" href="@Url.Action("ManageDealerInventory", "UserInventory", new { currtime = DateTime.Now.Ticks })">Manage Non Eicher User(Dealer)</a></li>
<li><a class="border_none" href="@Url.Action("ManagePrincipleDealerInventory", "UserInventory", new { currtime = DateTime.Now.Ticks })">Manage Dealer Principal</a></li>
<li><a class="border_none" href="@Url.Action("GetOrganizationChart", "Inventory", new { currtime = DateTime.Now.Ticks })">Organization Chart</a></li>
<li><a class="border_none" href="@System.Configuration.ConfigurationManager.AppSettings["AuthorizationEngineUrl"]" target="_blank">Authorization Engine</a></li>
@*<li><a class="border_none" href="@System.Configuration.ConfigurationManager.AppSettings["Telematics"]" target="_blank">Telematics</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
@*<img class="min_resolution" src="../../content/css/images/user-management.png" alt="" border="0" height="16" width="16">*@
</label><span>SuperAdmin</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Admin Reports</h4>
<ul>
<li><a class="border_none" href="#" onclick="DashboardVecv();">VECV Report</a></li>
<li><a class="border_none" href="#" onclick="dealerReport();">Dealer Report</a></li>
<li><a class="border_none" href="#" onclick="vanReport();">Van Report</a></li>
<li><a class="border_none" href="#" onclick="DTCReportDownload();">DTC Report</a></li>
<!-- <li><a class="border_none" href="#" onclick="ReassignReport();">Reassign Report</a></li> -->
<li><a class="border_none" href="#" onclick="ReassignReportNew();">Reassign Report</a></li>
<li><a class="border_none" href="#" onclick="vahanAPIReport();">Vahan API Report</a></li>
<li><a class="border_none" href="#" onclick="vahanerrorReport();">Vahan Error Report</a></li>
<li><a class="border_none" href="#" onclick="TecnicianReport();">Technician Report</a></li>
<li><a class="border_none" href="#" onclick="modelReport();">HD Buses Ticket Report</a></li>
<li><a class="border_none" href="#" onclick="paymentupdateall();">Payment Report</a></li>
<li><a class="border_none" href="#" onclick="ReivsedConsolidate();">Revised Consolidate Report</a></li>
<!-- <li><a class="border_none" href="#" onclick="dtcreportticketwise();">DTC Report</a></li> -->
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li class="superadmin_welcome fright" style="cursor: default;">
<a href="#" class="AdminName">
<label>
<img class="min_resolution" src="/Content/css/images/user-icon.png" alt="" border="0" height="16" width="16">
</label>
<span>Welcome @HttpContext.Current.Session["FirstName"].ToString().ToUpper()</span>
</a>
<a href="#" class="ToggleMenu">
<img src="~/Content/css/images/menu-bar-thumbnails.png" alt="menu" border="0" style="margin-top: 3px; margin-left: 8px;" />
</a>
</li>
<li>
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Search</span>
</a>
</li>
<li>
<a onclick="eosMap();">
<label>
@*<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">*@
</label>
EOS Dealer Performance Map
</a>
</li>
<!-- <li> -->
<!-- <a onclick="DashboardVecv();"> -->
<!-- <label></label>VECV report</a> -->
<!-- </li> -->
</ul>
<div id="toggleDiv">
<ul>
<li class="superadmin_changePassword">
<a href="@Url.Action("ChangePassword", "User", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/settings-icon.png" alt="" border="0" height="16" width="16">
</label>
Change Password
</a>
</li>
<li class="superadmin_logout">
<a href="@Url.Action("LogOff", "Account", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/logout-icon.png" alt="" border="0" height="16" width="16">
</label>
Logout
</a>
</li>
</ul>
</div>
}
else if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "dealer" || HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "viewer")
{
<ul>
<li>
<a href="@Url.Action("Index", "Home", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">
</label>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/tracking.png" alt="" border="0" height="16" width="16">
</label>
<span>Tracking</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Tracking</h4>
<ul>
<li><a class="border_none" href="@Url.Action("LiveTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">Live Tracking</a></li>
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label><span>Reports</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Ticket Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Ticket_Open", "Report", new { currtime = DateTime.Now.Ticks })">Open Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Close", "Report", new { currtime = DateTime.Now.Ticks })">Close Ticket</a></li>
@*<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Open")">Open Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Close")">Close Ticket(Telematics)</a></li>*@
</ul>
</div>
</div>
</div>
</li>
<li>
<a href="@Url.Action("Index", "TicketAdministration_Dealer", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Administration</span>
</a>
</li>
@* <li>
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Search</span>
</a>
</li>*@
<li>
<a onclick="eosMap();">
<label>
@*<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">*@
</label>
EOS Dealer Performance Map
</a>
</li>
<li class="superadmin_welcome fright" style="cursor: default;">
<a href="#" class="AdminName">
<label>
<img class="min_resolution" src="/Content/css/images/user-icon.png" alt="" border="0" height="16" width="16">
</label>
<span>Welcome @HttpContext.Current.Session["FirstName"].ToString().ToUpper()</span>
</a>
<a href="#" class="ToggleMenu">
<img src="~/Content/css/images/menu-bar-thumbnails.png" alt="menu" border="0" style="margin-top: 3px; margin-left: 8px;" />
</a>
</li>
</ul>
<div id="toggleDiv">
<ul>
<li class="superadmin_changePassword">
<a href="@Url.Action("ChangePassword", "User", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/settings-icon.png" alt="" border="0" height="16" width="16">
</label>
Change Password
</a>
</li>
<li class="superadmin_logout">
<a href="@Url.Action("LogOff", "Account", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/logout-icon.png" alt="" border="0" height="16" width="16">
</label>
Logout
</a>
</li>
</ul>
</div>
<div class="fright response_notification" style="position: relative;margin-right:15px;">
<div id="divShowNotification" class="">
<label>
<img src="~/Content/css/images/alert.png" title="Notification" />
</label>
</div>
<div id="divNotifications" style="display: none;" class="hide">
</div>
<div id="divNotificationCount" style="position: absolute; right: 7px; top: 8px; display: none;">
<label id="spanCount"></label>
</div>
<div class="clear"></div>
</div>
}
else if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce")
{
<ul>
<li>
<a href="@Url.Action("Index", "Home", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">
</label>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/tracking.png" alt="" border="0" height="16" width="16">
</label>
<span>Tracking</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Tracking</h4>
<ul>
<li><a class="border_none" href="@Url.Action("LiveTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">Live Tracking</a></li>
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label>
<span>Quick Support</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Quick Support</h4>
<ul>
<li id="lidealersearch"><a class="border_none" onclick="setdealersearchurl();">Dealer Search</a></li>
<li id="livansearch"><a class="border_none" onclick="setvansearchurl();">Van Search</a></li>
<li id="liscv"><a class="border_none" onclick="setscvCrmsearchurl();">SCV CRM</a></li>
<li id="liaccidental"><a class="border_none" onclick="setaccidentalsearchurl();">Accidental Vehicle</a></li>
<li id="liserviestation"><a class="border_none" onclick="setServiceStationurl();">Nearest Service Station</a></li>
<li id="liEPSSales"><a class="border_none" onclick="setEPSSalesurl();">EPS Sales Lead</a></li>
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label><span>Reports</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Ticket Reports</h4>
<ul>
<li ><a class="border_none" href="@Url.Action("Report_TicketPending", "Report", new { currtime = DateTime.Now.Ticks })">Pending Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Open", "Report", new { currtime = DateTime.Now.Ticks })">Open Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Close", "Report", new { currtime = DateTime.Now.Ticks })">Close Ticket</a></li>
<li><a class="border_none" href="@Url.Action("DraftTickets", "Ticket", new { currtime = DateTime.Now.Ticks })">Draft Ticket</a></li>
<li id="lihdreport"><a class="border_none" id="dynamic-link" href="#">HD Buses Ticket</a></li>
<li id="liSCVreport"><a class="border_none" href="#" onclick="svcReport();">SCV Report</a></li>
<li id="liaccidentlreport"><a class="border_none" href="#" onclick="accidentalReport();">Accidental Vehicle Report</a></li>
<li id="liEPSsalesReport"><a class="border_none" href="#" onclick="epsleadReport();">EPS Sales Lead</a></li>
@*<li><a class="border_none" href="@Url.Action("Report_KamTickets_Open", "Report", new { currtime = DateTime.Now.Ticks })">KAM Open Ticket</a></li>*@
@*<li><a class="border_none" href="@Url.Action("Report_KamTickets_Close", "Report", new { currtime = DateTime.Now.Ticks })">KAM Close Ticket</a></li>*@
@*<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Report_TicketPending")">Pending Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Open")">Open Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Close")">Close Ticket(Telematics)</a></li> *@
</ul>
</div>
</div>
</div>
</li>
<li id="liNoEPS">
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Search</span>
</a>
</li>
<li id="liEPS">
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks, type = "eps" })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket EPS Search</span>
</a>
</li>
<li>
<a onclick="eosMap();">
<label>
@*<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">*@
</label>
EOS Dealer Performance Map
</a>
</li>
<li class="superadmin_welcome fright" style="cursor: default;">
<a href="#" class="AdminName">
<label>
<img class="min_resolution" src="/Content/css/images/user-icon.png" alt="" border="0" height="16" width="16">
</label>
<span>Welcome @HttpContext.Current.Session["FirstName"].ToString().ToUpper()</span>
</a>
<a href="#" class="ToggleMenu">
<img src="~/Content/css/images/menu-bar-thumbnails.png" alt="menu" border="0" style="margin-top: 3px; margin-left: 8px;" />
</a>
</li>
</ul>
<div id="toggleDiv">
<ul>
<li class="superadmin_changePassword">
<a href="@Url.Action("ChangePassword", "User", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/settings-icon.png" alt="" border="0" height="16" width="16">
</label>
Change Password
</a>
</li>
<li class="superadmin_logout">
<a href="@Url.Action("LogOff", "Account", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/logout-icon.png" alt="" border="0" height="16" width="16">
</label>
Logout
</a>
</li>
</ul>
</div>
<div class="fright response_notification" style="position: relative;margin-right:15px;">
<div id="divShowNotification" class="">
<label>
<img src="~/Content/css/images/alert.png" title="Notification" />
</label>
</div>
<div id="divNotifications" style="display: none;" class="hide">
</div>
<div id="divNotificationCount" style="position: absolute; right: 7px; top: 8px; display: none;">
<label id="spanCount"></label>
</div>
<div class="clear"></div>
</div>
@* kam notifications *@
<div class="fright response_notification" style="position: relative;">
<div id="divShowKamNotification" class="">
<label>
<img src="~/Content/css/images/fleet-mgr.png" title="Fleet Manager Notifications" />
</label>
</div>
<div id="divKamNotifications" style="display: none;" class="hide">
</div>
<div id="divKamNotificationCount" style="position: absolute; right: 7px; top: 8px; display: none;">
<label id="spanKamCount"></label>
</div>
<div class="clear"></div>
</div>
}
else if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "cce_admin")
{
<ul>
<li>
<a href="@Url.Action("Index", "Home", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">
</label>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/tracking.png" alt="" border="0" height="16" width="16">
</label>
<span>Tracking</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Tracking</h4>
<ul>
<li><a class="border_none" href="@Url.Action("LiveTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">Live Tracking</a></li>
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label><span>Reports</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Ticket Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Ticket_Open", "Report", new { currtime = DateTime.Now.Ticks })">Open Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Close", "Report", new { currtime = DateTime.Now.Ticks })">Close Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Report_TicketPending", "Report", new { currtime = DateTime.Now.Ticks })">Pending Ticket</a></li>
@* <li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Report_TicketPending")">Pending Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Open")">Open Ticket(Telematics)</a></li>
<li><a class="border_none" target="_blank" href="@string.Format("{0}{1}", @System.Configuration.ConfigurationManager.AppSettings["TelematicshostAddress"], "Report/Ticket_Close")">Close Ticket(Telematics)</a></li>*@
</ul>
</div>
</div>
</div>
</li>
<li>
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Search</span>
</a>
</li>
<li>
<a onclick="eosMap();">
<label>
@*<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">*@
</label>
EOS Dealer Performance Map
</a>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/user-management.png" alt="" border="0" height="16" width="16">
</label><span>Administration</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>User Management</h4>
<ul>
<li><a class="border_none" href="@Url.Action("ManageUserInventory", "UserInventory", new { currtime = DateTime.Now.Ticks })">Manage Eicher User</a></li>
<li><a class="border_none" href="@Url.Action("ManageDealerInventory", "UserInventory", new { currtime = DateTime.Now.Ticks })">Manage Non Eicher User(Dealer)</a></li>
<li><a class="border_none" href="@Url.Action("ManagePrincipleDealerInventory", "UserInventory", new { currtime = DateTime.Now.Ticks })">Manage Dealer Principal</a></li>
<li><a class="border_none" href="@Url.Action("ManageFleet", "Inventory", new { currtime = DateTime.Now.Ticks })">Manage EOS Team</a></li>
<li><a class="border_none" href="@Url.Action("ManageEscalation", "Ticket", new { currtime = DateTime.Now.Ticks })">Manage Escalation</a></li>
<li><a class="border_none" href="@Url.Action("ConsolidatedReport", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report till Aug'25</a></li>
<li><a class="border_none" href="@Url.Action("ConsolidatedReportNew", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report Sep'25 Onwards</a></li>
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li class="superadmin_welcome fright" style="cursor: default;">
<a href="#" class="AdminName">
<label>
<img class="min_resolution" src="/Content/css/images/user-icon.png" alt="" border="0" height="16" width="16">
</label>
<span>Welcome @HttpContext.Current.Session["FirstName"].ToString().ToUpper()</span>
</a>
<a href="#" class="ToggleMenu">
<img src="~/Content/css/images/menu-bar-thumbnails.png" alt="menu" border="0" style="margin-top: 3px; margin-left: 8px;" />
</a>
</li>
</ul>
<div id="toggleDiv">
<ul>
<li class="superadmin_changePassword">
<a href="@Url.Action("ChangePassword", "User", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/settings-icon.png" alt="" border="0" height="16" width="16">
</label>
Change Password
</a>
</li>
<li class="superadmin_logout">
<a href="@Url.Action("LogOff", "Account", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/logout-icon.png" alt="" border="0" height="16" width="16">
</label>
Logout
</a>
</li>
</ul>
</div>
<div class="fright response_notification" style="position: relative;margin-right:15px;">
<div id="divShowNotification" class="">
<label>
<img src="~/Content/css/images/alert.png" title="Notification" />
</label>
</div>
<div id="divNotifications" style="display: none;" class="hide">
</div>
<div id="divNotificationCount" style="position: absolute; right: 7px; top: 8px; display: none;">
<label id="spanCount"></label>
</div>
<div class="clear"></div>
</div>
@* kam notifications *@
<div class="fright response_notification" style="position: relative;">
<div id="divShowKamNotification" class="">
<label>
<img src="~/Content/css/images/fleet-mgr.png" title="Fleet Manager Notifications" />
</label>
</div>
<div id="divKamNotifications" style="display: none;" class="hide">
</div>
<div id="divKamNotificationCount" style="position: absolute; right: 7px; top: 8px; display: none;">
<label id="spanKamCount"></label>
</div>
<div class="clear"></div>
</div>
}
else if (HttpContext.Current.Session["UserRole"].ToString().ToLower().Trim() == "mis_viewer")
{
<ul>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">
</label>
Dashboard
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Dashboard</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Index", "Home", new { currtime = DateTime.Now.Ticks })">Dashboard</a></li>
<li><a class="border_none" href="@Url.Action("DealerWiseDashboard", "Home", new { currtime = DateTime.Now.Ticks })">Dealer wise Dashboard</a></li>
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/tracking.png" alt="" border="0" height="16" width="16">
</label><span>Tracking</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
<div>
<h4>Tracking</h4>
<ul>
<li><a class="border_none" href="@Url.Action("LiveTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">Live Tracking</a></li>
@*<li><a class="border_none" href="@Url.Action("HistoryTracking", "Tracking", new { currtime = DateTime.Now.Ticks })">History Tracking</a></li>*@
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="#">
<label>
<img class="min_resolution" src="../../content/css/images/eos-report-01.png" alt="" border="0" height="16" width="16">
</label><span>Reports</span>
<span>
<img src="../../content/css/images/dwn-arrow-grey.png" align="baseline" alt="" border="0" height="6" width="7">
</span>
</a>
<div class="cbp-hrsub">
<div class="cbp-hrsub-inner">
@* <div>*@
<div>
<h4>Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("getEosCallCount", "Report", new { currtime = DateTime.Now.Ticks })">EOS Call Count</a></li>
<li><a class="border_none" href="@Url.Action("HdBusLmdContribution", "Report", new { currtime = DateTime.Now.Ticks })">HD, BUSES and LMD Contribution</a></li>
<li><a class="border_none" href="@Url.Action("DealerWiseCallDetails", "Report", new { currtime = DateTime.Now.Ticks })">Dealer-Wise Call Details</a></li>
<li><a class="border_none" href="@Url.Action("TimeslotClosure", "Report", new { currtime = DateTime.Now.Ticks })">Timeslot Closure</a></li>
<li><a class="border_none" href="@Url.Action("TollFreeAndOpportunityLoss", "Report", new { currtime = DateTime.Now.Ticks })">Toll Free No. And Opportunity Loss</a></li>
</ul>
</div>
<div>
<h4>&nbsp;</h4>
<ul>
<li><a class="border_none" href="@Url.Action("CallFeedbackRating", "Report", new { currtime = DateTime.Now.Ticks })">Call Feedback Rating</a></li>
<li><a class="border_none" href="@Url.Action("ReasonForClosureMoreThan24", "Report", new { currtime = DateTime.Now.Ticks })">Reason For Closure (>24)</a></li>
<li><a class="border_none" href="@Url.Action("DeclinedCalls", "Report", new { currtime = DateTime.Now.Ticks })">Declined Calls</a></li>
<li><a class="border_none" href="@Url.Action("EicherPromise", "Report", new { currtime = DateTime.Now.Ticks })">Eicher Promise</a></li>
<li><a class="border_none" href="@Url.Action("CustomerReport", "Report", new { currtime = DateTime.Now.Ticks })">Customer Report</a></li>
</ul>
</div>
<div>
<h4>Ticket Reports</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Report_TicketPending", "Report", new { currtime = DateTime.Now.Ticks })">Pending Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Open", "Report", new { currtime = DateTime.Now.Ticks })">Open Ticket</a></li>
<li><a class="border_none" href="@Url.Action("Ticket_Close", "Report", new { currtime = DateTime.Now.Ticks })">Close Ticket</a></li>
</ul>
</div>
<div>
<h4>Consolidated Report</h4>
<ul>
<li><a class="border_none" href="@Url.Action("ConsolidatedReport", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report till Aug'25</a></li>
<li><a class="border_none" href="@Url.Action("ConsolidatedReportNew", "Report", new { currtime = DateTime.Now.Ticks })">Consolidated Report Sep'25 Onwards</a></li>
</ul>
</div>
<div>
<h4>EOS Score Card Analysis</h4>
<ul>
<li><a class="border_none" href="@Url.Action("Report_DriverScore", "Report", new { currtime = DateTime.Now.Ticks })">EOS Score Card Analysis</a></li>
</ul>
</div>
<div>
</div>
</div>
</div>
</li>
<li>
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket Search</span>
</a>
</li>
<li id="liEPS">
<a href="@Url.Action("TicketAdministration", "Ticket", new { currtime = DateTime.Now.Ticks, type = "eps" })">
<label>
<img class="min_resolution" src="../../content/css/images/ticket-administration.png" alt="" border="0" height="16" width="16">
</label>
<span>Ticket EPS Search</span>
</a>
</li>
<li>
<a onclick="eosMap();">
<label>
@*<img class="min_resolution" src="../../content/css/images/home2.png" alt="" border="0" height="16" width="16">*@
</label>
EOS Dealer Performance Map
</a>
</li>
<li class="superadmin_welcome fright" style="cursor: default;">
<a href="#" class="AdminName">
<label>
<img class="min_resolution" src="/Content/css/images/user-icon.png" alt="" border="0" height="16" width="16">
</label>
<span>Welcome @HttpContext.Current.Session["FirstName"].ToString().ToUpper()</span>
</a>
<a href="#" class="ToggleMenu">
<img src="~/Content/css/images/menu-bar-thumbnails.png" alt="menu" border="0" style="margin-top: 3px; margin-left: 8px;" />
</a>
</li>
</ul>
<div id="toggleDiv">
<ul>
<li class="superadmin_changePassword">
<a href="@Url.Action("ChangePassword", "User", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/settings-icon.png" alt="" border="0" height="16" width="16">
</label>
Change Password
</a>
</li>
<li class="superadmin_logout">
<a href="@Url.Action("LogOff", "Account", new { currtime = DateTime.Now.Ticks })">
<label>
<img class="min_resolution" src="/Content/css/images/logout-icon.png" alt="" border="0" height="16" width="16">
</label>
Logout
</a>
</li>
</ul>
</div>
}
</nav>
</div>
@Scripts.Render("~/bundles/jsMenubar")
<script type="text/javascript">
function eosMap() {
alert("Please ensure VECV network or VPN connected?");
var win = window.open("http://10.201.4.115:7983/", '_blank');
win.focus();
}
var iscaseclose = 'false';
var isdec = 'false';
var alertTstatsus="";
var userRole = $("#UserRole").val().toLowerCase().trim();
var count = $("#spanCount").text();
if ((userRole == "cce") || (userRole == "cce_admin") || (userRole == "dealer") || (userRole == "viewer")) {
var controller = null;
var countController = null;
var kamController = null;
var kamCountController = null;
if ((userRole != "dealer") && (userRole != "viewer")) {
controller = "Index";
countController = "GetNotificationsCount";
kamController = "KamNotifications";
kamCountController = "GetKamNotificationCount";
} else {
controller = "DealerNotifications";
countController = "GetDealerNotificationCount";
}
displayNotifications();
getNotificationCount(countController);
if ((userRole == "cce") || (userRole == "cce_admin")) {
displayKamNotifications();
getKamNotificationCount(kamCountController);
}
setTimeout(function () {
setInterval(function () {
showNotificationCount();
setTimeout(function () {
if ((userRole.toLowerCase().trim() == "cce") || (userRole.toLowerCase().trim() == "cce_admin")) { showKamNotificationCount(); }
}, 10000 * 10);
}, 10000 * 30);
}, 10000 * 10);
}
$(document).click(function (e) {
$("#toggleDiv").hide("slow");
if (document.getElementById('divNotifications') != null) {
$('#divNotifications').hide();
$("#divNotifications").addClass('hide');
}
if (document.getElementById('divKamNotifications') != null) {
$('#divKamNotifications').hide();
$("#divKamNotifications").addClass('hide');
}
});
$(function () {
cbpHorizontalMenu.init();
function disableAllArrows() {
var liItems = $("nav#cbp-hrmenu > ul > li");
liItems.each(function (index, li) {
var imageObject = $(li).find('label > img');
if(imageObject[0]==undefined){
}
else{
var imageSrc = imageObject[0].src;
if (imageSrc.indexOf("home") !== -1) {
$(imageObject).attr('src', '../../content/css/images/home2.png');
} else if (imageSrc.indexOf('tracking') !== -1) {
$(imageObject).attr('src', '../../content/css/images/tracking.png');
} else if (imageSrc.indexOf('management') !== -1) {
$(imageObject).attr('src', '../../content/css/images/user-management.png');
} else if (imageSrc.indexOf('administration') !== -1) {
$(imageObject).attr('src', '../../content/css/images/ticket-administration.png');
} else if (imageSrc.indexOf('report') !== -1) {
$(imageObject).attr('src', '../../content/css/images/eos-report-01.png');
}
}
});
}
$(document).mouseup(function (e) {
var container = $("nav#cbp-hrmenu ul li");
if (!container.is(e.target)
&& container.has(e.target).length === 0) {
disableAllArrows();
}
});
$("nav#cbp-hrmenu > ul > li > a").click(function () {
disableAllArrows();
var parentLi = $(this).parent('li');
if (parentLi.hasClass('cbp-hropen')) {
var labelImg = parentLi.find('label > img')[0].src;
//console.log(labelImg);
if (labelImg.indexOf("home") !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/home2-blue.png');
} else if (labelImg.indexOf('tracking') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/tracking-blue.png');
} else if (labelImg.indexOf('management') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/user-management-blue.png');
} else if (labelImg.indexOf('administration') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/ticket-administration.png');
} else if (labelImg.indexOf('report') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/eos-report-01-blue.png');
}
} else {
var labelImg = parentLi.find('label > img')[0].src;
if (labelImg.indexOf("home") !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/home2.png');
} else if (labelImg.indexOf('tracking') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/tracking.png');
} else if (labelImg.indexOf('management') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/user-management.png');
} else if (labelImg.indexOf('administration') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/ticket-administration.png');
} else if (labelImg.indexOf('report') !== -1) {
parentLi.find('label >img').attr('src', '../../content/css/images/eos-report-01.png');
}
}
});
});
function DashboardVecv() {
$("#overlay").show();
var startDate, endDate;
var userID = userId;
//console.log(userID);
//console.log(startDateParam, endDateParam);
startDate = "01 dec 2022";
var x = new Date();
x.setDate(x.getDate());
x.setMonth(x.getMonth() - 2);
var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
];
var date = new Date();
var day = date.getDate();
var month = monthNames[date.getMonth()]
var year = date.getFullYear();
var d = new Date();
endDate = day + " " + month + " " + year;
var day1 = x.getDate();
var month1 = monthNames[x.getMonth()]
var year1 = x.getFullYear();
startDate = day1 + " " + month1 + " " + year1;
// alert(securityToken + "startDate" + endDate);
// return;
//// var startdate = $("#monthpickerFrom").val();
// var enddate = $("#monthpickerTo").val();
var apiUrl = url + "Api/Ticket?VECVReport=tt&VECVUser=yes&isdealer=yes&TicketType=close&dealer=dd&isajaxcount=dd&Download=dd&isCount=dd&isticketclose=dd";
$.ajax({
url: apiUrl,
type: 'POST',
data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken},
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function dealerReport() {
$("#overlay").show();
var apiUrl = url + "Api/Admin?dealerReport=yes&isdealer=user&dealer=check&isajaxcount=check&Download=check";
$.ajax({
url: apiUrl,
type: 'Post',
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function TecnicianReport() {
$("#overlay").show();
var apiUrl = url + "Api/Admin?TechnicianReport=yes&techReport=yes&VanReport=yes&isdealer=user&van=check&dealer=check&isajaxcount=check&Download=check";
$.ajax({
url: apiUrl,
type: 'Post',
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
var dynamicLink ="";
function ReassignReport() {
$("#overlay").show();
var apiUrl = url + "Api/Admin?ReassignReport=yes&TechnicianReport=yes&techReport=yes&VanReport=yes&isdealer=user&van=check&dealer=check&isajaxcount=check&Download=check";
$.ajax({
url: apiUrl,
type: 'Post',
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function setdealersearchurl() {
var baseUrl = getBaseUrl();
var ahref = baseUrl + "/Tracking/LiveTracking?currtime=638672108866208631&dealersearch=yes";
window.location.href = ahref;
}
var isepsFlag = "";
function epsflag() {
var uid = '@ViewBag.userId';
var usrrole = '@ViewBag.UserRole';
if (usrrole === 'CSM' || usrrole === 'ASM' || usrrole === 'RSM') {
console.log(usrrole);
}
else{
$('#liEPS').hide()
$('#liNoEPS').hide()
var apiUrl = url + "Api/EPS?role=tru&geteps=yes&seteps=yes&iseps=yes";
$.ajax({
type: "Post",
url: apiUrl,
dataType: "json",
data: { AuthEngineId: uid },
success: function (data) {
var splits = data.split(",");
isepsFlag = splits[0];
// alert(isepsFlag);
$('#hdnIS_EPS').val(isepsFlag);
setTimeout(function () {
console.log(isepsFlag);
if (isepsFlag.toLowerCase() == 'no') {
$('#liEPS').hide();
$('#liNoEPS').show();
$('#livansearch').attr("style", "display:block !important;");
$('#liaccidental').attr("style", "display:block !important;");
$('#liscv').attr("style", "display:block !important;");
$('#liserviestation').attr("style", "display:block !important;");
$('#lihdreport').attr("style", "display:block !important;");
$('#liSCVreport').attr("style", "display:block !important;");
$('#liaccidentlreport').attr("style", "display:block !important;");
}
else if (isepsFlag.toLowerCase() == 'yes') {
$('#liEPS').show();
$('#liNoEPS').hide();
$('#liEPSSales').attr("style", "display:block !important;");
$('#liEPSsalesReport').attr("style", "display:block !important;");
}
else if (isepsFlag.toLowerCase() == 'both') {
$('#livansearch').attr("style", "display:block !important;");
$('#liaccidental').attr("style", "display:block !important;");
$('#liscv').attr("style", "display:block !important;");
$('#liserviestation').attr("style", "display:block !important;");
$('#lihdreport').attr("style", "display:block !important;");
$('#liSCVreport').attr("style", "display:block !important;");
$('#liaccidentlreport').attr("style", "display:block !important;");
$('#liEPSSales').attr("style", "display:block !important;");
$('#liEPSsalesReport').attr("style", "display:block !important;");
}
}, 500);
}
});
}
}
function setvansearchurl() {
var baseUrl = getBaseUrl();
var ahref = baseUrl + "/Tracking/LiveTracking?currtime=638672108866208631&dealervans=yes";
window.location.href = ahref;
}
function setscvCrmsearchurl() {
var baseUrl = getBaseUrl();
var ahref = baseUrl + "/Tracking/LiveTracking?currtime=638672108866208631&scvcrm=yes";
window.location.href = ahref;
}
function setaccidentalsearchurl() {
var baseUrl = getBaseUrl();
var ahref = baseUrl + "/Tracking/LiveTracking?currtime=638672108866208631&accidental=yes";
window.location.href = ahref;
}
function setServiceStationurl() {
var baseUrl = getBaseUrl();
var ahref = baseUrl + "/Tracking/LiveTracking?currtime=638672108866208631&servicestation=yes";
window.location.href = ahref;
}
function setEPSSalesurl() {
var baseUrl = getBaseUrl();
var ahref = baseUrl + "/Tracking/LiveTracking?currtime=638672108866208631&epssaleslead=yes";
window.location.href = ahref;
}
function DTCReportDownload() {
var baseUrl = getBaseUrl();
var dynamicLink = baseUrl + "/Report/DTCReport?currtime=638539904591341514&DTCReport=Download";
window.location.href = dynamicLink;
}
function ReassignReportNew() {
var baseUrl = getBaseUrl();
var dynamicLink = baseUrl + "/Report/ReassignmentReport?currtime=638539904591341514&reassigntickets=yes";
window.location.href = dynamicLink;
}
function epsleadReport() {
var apiUrl = url + "Api/EPS?epsSalesReport=ss";
$.ajax({
url: apiUrl,
type: 'Get',
// data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function accidentalReport() {
var apiUrl = url + "Api/TitanDealer?accidentalReport=ss";
$.ajax({
url: apiUrl,
type: 'Get',
// data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function modelReport() {
$("#overlay").show();
var apiUrl = url + "Api/Admin?ModelReport=yes&VanReport=yes&isdealer=user&van=check&dealer=check&isajaxcount=check&Download=check";
$.ajax({
url: apiUrl,
type: 'Post',
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function vanReport() {
$("#overlay").show();
var apiUrl = url + "Api/Admin?VanReport=yes&isdealer=user&van=check&dealer=check&isajaxcount=check&Download=check";
// alert(apiUrl);
$.ajax({
url: apiUrl,
type: 'Post',
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function paymentupdateall() {
$("#overlay").show();
var startDate, endDate;
var userID = userId;
//console.log(userID);
//console.log(startDateParam, endDateParam);
startDate = "01 dec 2022";
var x = new Date();
x.setDate(x.getDate());
x.setMonth(x.getMonth() - 2);
var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
];
var date = new Date();
var day = date.getDate();
var month = monthNames[date.getMonth()]
var year = date.getFullYear();
var d = new Date();
endDate = day + " " + month + " " + year;
var day1 = x.getDate();
var month1 = monthNames[x.getMonth()]
var year1 = x.getFullYear();
startDate = day1 + " " + month1 + " " + year1;
var apiUrl = url + "Api/PaymentDetails";
$.ajax({
url: apiUrl,
type: 'Get',
// data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function dtcreportticketwise() {
$("#overlay").show();
var startDate, endDate;
var userID = userId;
//console.log(userID);
//console.log(startDateParam, endDateParam);
startDate = "01 dec 2022";
var x = new Date();
x.setDate(x.getDate());
x.setMonth(x.getMonth() - 2);
var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
];
var date = new Date();
var day = date.getDate();
var month = monthNames[date.getMonth()]
var year = date.getFullYear();
var d = new Date();
endDate = day + " " + month + " " + year;
var day1 = x.getDate();
var month1 = monthNames[x.getMonth()]
var year1 = x.getFullYear();
startDate = day1 + " " + month1 + " " + year1;
var apiUrl = url + "Api/DTCData?dtcReport=tt&dtcUser=yes&TicketType=close&isajaxcount=dd&Download=dd&isCount=dd&isticketclose=dd";
$.ajax({
url: apiUrl,
type: 'Post',
data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function svcReport() {
var apiUrl = url + "Api/TitanDealer";
$.ajax({
url: apiUrl,
type: 'Get',
// data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function vahanerrorReport() {
$("#overlay").show();
var startDate, endDate;
var userID = userId;
//console.log(userID);
//console.log(startDateParam, endDateParam);
startDate = "01 dec 2022";
var x = new Date();
x.setDate(x.getDate());
x.setMonth(x.getMonth() - 2);
var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
];
var date = new Date();
var day = date.getDate();
var month = monthNames[date.getMonth()]
var year = date.getFullYear();
var d = new Date();
endDate = day + " " + month + " " + year;
var day1 = x.getDate();
var month1 = monthNames[x.getMonth()]
var year1 = x.getFullYear();
startDate = day1 + " " + month1 + " " + year1;
var apiUrl = url + "api/GlobalAPI?VahanDetailsErrorReport=t&isDownload=true&report=true&reportdownload=test&VahanAPI=yes&getChassisNo=true&getValue=agetvaluegetvalue&getvalue1=b";
$.ajax({
url: apiUrl,
type: 'Post',
data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function vahanAPIReport() {
$("#overlay").show();
var startDate, endDate;
var userID = userId;
//console.log(userID);
//console.log(startDateParam, endDateParam);
startDate = "01 dec 2022";
var x = new Date();
x.setDate(x.getDate());
x.setMonth(x.getMonth() - 2);
var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
];
var date = new Date();
var day = date.getDate();
var month = monthNames[date.getMonth()]
var year = date.getFullYear();
var d = new Date();
endDate = day + " " + month + " " + year;
var day1 = x.getDate();
var month1 = monthNames[x.getMonth()]
var year1 = x.getFullYear();
startDate = day1 + " " + month1 + " " + year1;
var apiUrl = url + "Api/GlobalAPI?VahanDetailsReport&isDownload=true&report=true&VahanAPI=yes&getChassisNo=true&getValue=agetvaluegetvalue&getvalue1=b";
$.ajax({
url: apiUrl,
type: 'Post',
data: { UserId: userID, startDate: startDate, endDate: endDate, Token: securityToken },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function showEPSCount() {
}
function getBaseUrl() {
var url = window.location.href; // Get full URL
var arr = url.split("/"); // Split by slashes
var baseUrl = arr[0] + "//" + arr[2]; // Combine protocol and domain
return baseUrl;
}
function setDynamicLink() {
//console.log(($("#dynamic-link").length));
if(($("#dynamic-link").length) == 0){
}
else{
var baseUrl = getBaseUrl();
var dynamicLink = baseUrl + "/Report/Ticket_Open?currtime=638539904591341514&modeltickets=yes";
document.getElementById("dynamic-link").href = dynamicLink;
document.getElementById("dynamic-link").innerText = "HD Buses Ticket";
}
}
window.onload = setDynamicLink;
function modelReport() {
$("#overlay").show();
var apiUrl = url + "Api/Admin?ModelReport=yes&VanReport=yes&isdealer=user&van=check&dealer=check&isajaxcount=check&Download=check";
$.ajax({
url: apiUrl,
type: 'Post',
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
function ReivsedConsolidate() {
$("#overlay").show();
var apiUrl = url + "Api/AddOnReport?ConsolidateReport=yes";
$.ajax({
url: apiUrl,
type: 'Post',
data: {
UserId: 1711, StartDate: "01 Jun 2025", EndDate: "25 Aug 2025", FromDate: "01 Jun 2025", UtcMinute: "330", ToDate: "25 Aug 2025", Organization: "", VehicleType: "", Token: securityToken, Limit: "200000", OffSet: "0", _timeOffSetMinutes: "330", TicketType: "data" },
dataType: 'json',
success: function (data, textStatus, xhr) {
window.location.href = data;
$("#overlay").hide();
},
error: function (xhr, textStatus, errorThrown) {
}
});
}
</script>
<!-- menu -->
</div>
</div>
<div class="dashboard" id="dvdashboard">
@RenderBody()
</div>
<div class="taskbar">
</div>
<div id="divLoadingElement" class="loding-new">
</div>
</div>
</body>
</html>
<style type="text/css">
.tableCelllabel {
background: #F7F7F7;
border-bottom: 1px solid #DEDEDE;
border-left: 1px solid #DEDEDE;
border-right: 1px solid #DEDEDE;
font-size: 11px;
height: 12px;
padding: 3px 10px 2px;
text-align: left;
white-space: nowrap;
text-indent: 10px;
}
.tableCellinfo {
background: #FFF;
border-bottom: 1px solid #DEDEDE;
border-left: 1px solid #DEDEDE;
border-right: 1px solid #DEDEDE;
text-align: left;
font-size: 11px;
padding: 3px 10px 6px 10px;
}
#livansearch {
display: none !important;
}
#liEPSSales {
display: none !important;
}
#liaccidental {
display: none !important;
}
#liscv {
display: none !important;
}
#liserviestation {
display: none !important;
}
#lihdreport {
display: none !important;
}
#liSCVreport {
display: none !important;
}
#liaccidentlreport {
display: none !important;
}
#liEPSsalesReport {
display: none !important;
}
</style>