display taxes history

This commit is contained in:
2018-12-11 23:24:29 -06:00
parent c6360cf338
commit c0778aabac
3 changed files with 87 additions and 2 deletions
+1
View File
@@ -53,6 +53,7 @@
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdoownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Structures</a>
<div class="dropdown-menu" aria-labelledby="navbarDropDownMenuLink">
<a class="dropdown-item" href="/structures/taxes/display">Current Taxes</a>
<a class="dropdown-item" href="/structures/taxes/history">Tax History</a>
<a class="dropdown-item" href="/structures/register">Register Structure</a>
</div>
</li>
@@ -0,0 +1,33 @@
@extends('layouts.b4')
@section('content')
<div class="container">
<div class="card">
<div class="card-header">
Structure Taxes
</div>
<div class="card-body">
<table class="table table-striped">
<thead>
<th>Month</th>
<th>Market Tax</th>
<th>Market Revenue Minus Fuel Cost</th>
<th>Refinery Tax</th>
<th>Refinery Revenue Minus Fuel Cost</th>
</thead>
<tbody>
@foreach($i = 0; $i < 12; $i++)
<tr>
<td>{{ $totalTaxes[$i]['start'] }}</td>
<td>{{ $totalTaxes[$i]['MarketTax'] }}</td>
<td>{{ $totalTaxes[$i]['MarketRevenue'] }}</td>
<td>{{ $totalTaxes[$i]['RefineryTax'] }}</td>
<td>{{ $totalTaxes[$i]['RefineryRevenue'] }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@endsection