This commit is contained in:
2019-11-07 00:21:10 -06:00
parent 2455899373
commit 9928727bd7
@@ -9,28 +9,30 @@
</div>
<br>
<div class="container">
<h2>Moon Composition</h2>
<div class="jumbotron">
<div class="container">
<h3>Reprocessing Percentage set at: {{ $reprocessing }}</h3><br>
<h3>Length of pull is 1 month</h3>
<div class="card">
<div class="card-header">
<h2>Moon Composition</h2>
</div>
<div class="card-body">
<h4>Reprocessing Percentage set at: {{ $reprocessing }}</h4><br>
<h4>Length of pull is 1 month</h4>
<table class="table table-striped table-bordered">
<thead>
<th>Mineral</th>
<th>Quantity</th>
</thead>
<tbody>
@foreach($composition as $key => $value)
@if($value > 0)
<tr>
<td>{{ $key }}</td>
<td>{{ number_format($value, 0, ".", ",") }}</td>
</tr>
@endif
@endforeach
</tbody>
</table>
</div>
<table class="table table-striped table-bordered">
<thead>
<th>Mineral</th>
<th>Quantity</th>
</thead>
<tbody>
@foreach($composition as $key => $value)
@if($value > 0)
<tr>
<td>{{ $key }}</td>
<td>{{ number_format($value, 0, ".", ",") }}</td>
</tr>
@endif
@endforeach
</tbody>
</table>
</div>
</div>
@endsection