37 lines
939 B
Plaintext
37 lines
939 B
Plaintext
@model MileageTraker.Web.ViewModels.Log.LogQueryViewModel
|
|
|
|
<div>
|
|
<dl class="inline">
|
|
<dt>@Html.DisplayNameFor(m => m.Year)</dt>
|
|
<dd>@Html.Encode(Model.Year)</dd>
|
|
</dl>
|
|
<dl class="inline">
|
|
<dt>@Html.DisplayNameFor(m => m.Month)</dt>
|
|
<dd>@Html.Encode(Model.Month)</dd>
|
|
</dl>
|
|
<dl class="inline">
|
|
<dt>@Html.DisplayNameFor(m => m.MonthRange)</dt>
|
|
<dd>@Html.Encode(Model.MonthRange)</dd>
|
|
</dl>
|
|
@if (Model.LogType.HasValue)
|
|
{
|
|
<dl class="inline">
|
|
<dt>Type</dt>
|
|
<dd>@Html.Encode(Model.LogType)</dd>
|
|
</dl>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Model.VehicleId))
|
|
{
|
|
<dl class="inline">
|
|
<dt>Vehicle</dt>
|
|
<dd>@Html.Encode(Model.VehicleId)</dd>
|
|
</dl>
|
|
}
|
|
@if (!string.IsNullOrEmpty(Model.EmployeeName))
|
|
{
|
|
<dl class="inline">
|
|
<dt>Driver</dt>
|
|
<dd>@Html.Encode(Model.EmployeeName)</dd>
|
|
</dl>
|
|
}
|
|
</div> |