re-ordered all of the view directories

setup corp tax ratio for structure tax helper
modified all view functions for new directory layout
This commit is contained in:
2019-02-13 21:07:21 -06:00
parent a2045377f1
commit d52a339637
37 changed files with 132 additions and 333 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,29 @@
@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>
</thead>
<tbody>
@foreach($totalTaxes as $tax)
<tr>
<td>{{ $tax['date'] }}</td>
<td>{{ $tax['tax'] }}</td>
<td>{{ $tax['revenue'] }}<td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@endsection