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

64 lines
2.9 KiB
Plaintext

@model GODATA.Models.Report.DeclinedCalls
@if (Model != null)
{
<div class="InfraTable_WrpOutage">
@if (Model.DeclinedReportsDealerWise != null && Model.DeclinedReportsDealerWise.Count() > 0)
{
<table class="customTable" id="TimeslorClosureGrid">
<thead>
<tr>
<th class="brownTh" colspan="11" rowspan="1">Declined Calls</th>
</tr>
<tr>
<th colspan="11" rowspan="1"></th>
</tr>
<tr>
<th class="brownTh" colspan="1" rowspan="2">Date</th>
<th class="brownTh" colspan="1" rowspan="2">Time of assigning the job</th>
<th class="brownTh" colspan="1" rowspan="2">Ticket-Id</th>
<th class="brownTh" colspan="1" rowspan="2">Vehicle Reg No.</th>
<th class="brownTh" colspan="1" rowspan="2">Category of vehicle</th>
<th class="brownTh" colspan="1" rowspan="2">Reason for declining the job</th>
<th class="brownTh" colspan="1" rowspan="2">Dealer Name</th>
<th class="brownTh" colspan="1" rowspan="2">Dealer Id</th>
<th class="brownTh" colspan="1" rowspan="2">Region</th>
<th class="brownTh" colspan="1" rowspan="2">EOS VAN driver name</th>
<th class="brownTh" colspan="1" rowspan="2">Van Reg No.</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model.DeclinedReportsDealerWise)
{
<tr>
<td class="">@item.CreationDate</td>
<td class="">@item.CreationTime</td>
<td class="">@item.TicketIdAlias</td>
<td class="">@item.VehicleRegNo</td>
<td class="">@item.VehicleModelTag</td>
<td class="">@item.DeclinedReason</td>
<td class="">@item.DealerName</td>
<td class="">@item.DealerId</td>
<td class="">@item.Organization</td>
<td class="">@item.ServiceEngg</td>
<td class="">@item.VanRegNo</td>
</tr>
}
</tbody>
</table>
}
else
{
<div class="no_data" style="top: 0%;">
<span>
<p class="fs16">No data available on selected filter !!!</p>
<p>Please select different filter.</p>
</span>
</div>
}
</div>
}
<script type="text/javascript">
//showHideMessage();
</script>