Nearing feature complete for driver auth
This commit is contained in:
@@ -65,7 +65,8 @@
|
||||
@Html.HiddenFor(model => model.LogType.Value)
|
||||
|
||||
@Html.DisplayFor(model => model.CityName)
|
||||
@Html.HiddenFor(model => model.CityName)
|
||||
@* // Html.HiddenFor(model => model.CityName) is losing capitalization *@
|
||||
<input type="hidden" name="CityName" value="@Model.CityName"/>
|
||||
|
||||
<dl class="dl-horizontal gas">
|
||||
<dt>
|
||||
@@ -84,7 +85,6 @@
|
||||
</dl>
|
||||
@Html.HiddenFor(model => model.GasPurchased)
|
||||
|
||||
|
||||
<dl class="dl-horizontal date">
|
||||
<dt>
|
||||
@Html.DisplayNameFor(m => m.Date)
|
||||
|
||||
@@ -19,3 +19,7 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
}
|
||||
|
||||
<div id="RecentLogs" class="center-content well">
|
||||
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
@if (Model.Any())
|
||||
{
|
||||
<h5>Recent Logs for @ViewData["employeeName"]</h5>
|
||||
<h5>Recent Logs for @ViewData["name"]</h5>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -43,12 +43,5 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!string.IsNullOrEmpty(ViewData["employeeName"].ToString()))
|
||||
{
|
||||
<h5>Mileage history not found for employee "@ViewData["employeeName"]"</h5>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h5>Please enter employee name</h5>
|
||||
}
|
||||
<p>Mileage history not found for <strong>@ViewData["name"]</strong></p>
|
||||
}
|
||||
Reference in New Issue
Block a user