choose corp tax history for admins

This commit is contained in:
2018-12-14 16:42:38 -06:00
parent 4371ede166
commit ee372eb84d
3 changed files with 91 additions and 0 deletions
@@ -0,0 +1,13 @@
@extends('layouts.b4')
@section('content')
<div class="container">
<h2>Pick the Corporation</h2>
{!! Form::open(['action' => 'StructureController@displayCorpTaxes', 'method' => 'GET']) !!}
<div class="form-group col-md-4">
{{ Form::label('corpId', 'Corporation') }}
{{ Form::select('corpId', $corps, null, ['class' => 'form-control']) }}
</div>
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}
</div>
@endsection
@@ -0,0 +1,39 @@
@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>
<tr>
<td>{{ $totalTaxes['thisMonthStart'] }}</td>
<td>{{ $totalTaxes['thisMonthMarket'] }}</td>
<td>{{ $totalTaxes['thisMonthRevMarket'] }}</td>
<td>{{ $totalTaxes['thisMonthRefinery'] }}</td>
<td>{{ $totalTaxes['thisMonthRevRefinery'] }}</td>
</tr>
<tr>
<td>{{ $totalTaxes['lastMonthStart'] }}</td>
<td>{{ $totalTaxes['lastMonthMarket'] }}</td>
<td>{{ $totalTaxes['lastMonthRevMarket'] }}</td>
<td>{{ $totalTaxes['lastMonthRefinery'] }}</td>
<td>{{ $totalTaxes['lastMonthRevRefinery'] }}</td>
</tr>
</tr>
</tbody>
</table>
</div>
</div>
</div>
@endsection