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

63 lines
2.9 KiB
Plaintext

@model GODATA.Models.Report.EicherPromiseModel
@if (Model != null)
{
<div class="InfraTable_WrpOutage">
@if (Model.PromiseReportsList != null && Model.PromiseReportsList.Count() > 0)
{
<table class="customTable" id="EicherPromiseGrid">
<thead>
<tr>
<th class="brownTh" colspan="11" rowspan="1">Eicher Promise</th>
</tr>
<tr>
<th colspan="11" rowspan="1"></th>
</tr>
<tr>
<th class="brownTh" colspan="1" rowspan="1">Date</th>
<th class="brownTh" colspan="1" rowspan="1">Ticket ID</th>
<th class="brownTh" colspan="1" rowspan="1">Vehicle Reg No.</th>
<th class="brownTh" colspan="1" rowspan="1">Category of vehicle</th>
<th class="brownTh" colspan="1" rowspan="1">Problem in vehicle</th>
<th class="brownTh" colspan="1" rowspan="1">Dealer name</th>
<th class="brownTh" colspan="1" rowspan="1">Region</th>
<th class="brownTh" colspan="1" rowspan="1">EOS Driver name</th>
<th class="brownTh" colspan="1" rowspan="1">Van Reg No.</th>
<th class="brownTh" colspan="1" rowspan="1">Call close time</th>
<th class="brownTh" colspan="1" rowspan="1">Reason for >24 hrs</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model.PromiseReportsList)
{
<tr>
<td class="">@item.CreationDate</td>
<td class="">@item.TicketIdAlias</td>
<td class="">@item.VehicleRegNo</td>
<td class="">@item.VehicleModelTag</td>
<td class="">@item.Description</td>
<td class="">@item.DealerName</td>
<td class="">@item.Organization</td>
<td class="">@item.ServiceEngg</td>
<td class="">@item.VanRegNo</td>
<td class="">@item.ClosedTime</td>
<td class="">@item.DeclinedReason</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>