@using MileageTraker.Web.ViewModels.FuelLog @model IList @{ ViewBag.Title = "Import Fuel Logs"; } @section Styles { } @Html.Partial("_StatusMessage")

@ViewBag.Title

Matching Mileage Logs based on Date, Vehicle, and Gas Purchased

@for (var i = 0; i < Model.Count; i++) { var viewModel = Model[i]; class="complete"}> @using (Html.BeginForm("ImportMatch", "FuelLog", FormMethod.Post)) { } }
Match Status Date Driver Tag Number Odometer MPG Gas Purchased Total Price
@if (viewModel.PreviouslyAdded) { Previously Imported } @if (viewModel.LogId != null) { @Html.Partial("MatchLink", new MatchLinkViewModel (viewModel)) } @Html.ValueFor(x => viewModel.Date, "{0:d}") @Html.ValueFor(x => viewModel.DriverFullName) @Html.ValueFor(x => viewModel.TagNumber) @Html.ValueFor(x => viewModel.Odometer) @Html.ValueFor(x => viewModel.MPG) @Html.ValueFor(x => viewModel.GasPurchased, "{0:0.000}") @Html.ValueFor(x => viewModel.TotalPrice, "{0:C}")
@section Scripts { }