display taxes history

This commit is contained in:
2018-12-11 23:30:47 -06:00
parent ca45a821e0
commit 2178ac56b2
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class StructureController extends Controller
'thisMonthStart' => $dates['ThisMonthStart']->toFormattedDateString(),
'lastMonthStart' => $dates['LastMonthStart']->toFormattedDateString(),
];
dd($totalTaxes);
return view('structures.taxes')->with('totalTaxes', $totalTaxes);
}
@@ -16,8 +16,7 @@
<th>Refinery Revenue Minus Fuel Cost</th>
</thead>
<tbody>
{{ dd($totalTaxes) }}
@foreach($i = 0; $i < 12; $i++)
@for($i = 0; $i < 12; $i++)
<tr>
<td>{{ $totalTaxes[$i]['start'] }}</td>
<td>{{ $totalTaxes[$i]['MarketTax'] }}</td>
@@ -25,7 +24,7 @@
<td>{{ $totalTaxes[$i]['RefineryTax'] }}</td>
<td>{{ $totalTaxes[$i]['RefineryRevenue'] }}</td>
</tr>
@endforeach
@endfor
</tbody>
</table>
</div>