finances page

This commit is contained in:
2018-11-28 21:13:26 -06:00
parent cf34a52f87
commit 17f1c52782
2 changed files with 17 additions and 6 deletions

View File

@@ -92,10 +92,10 @@ class FinancesController extends Controller
//Create the array to pass to the blade view
$totalTaxes = [
'thisMonthReprocessing' => $monthTaxesReprocessing,
'lastMonthReprocessing' => $lastTaxesReprocessing,
'thisMonthMarket' => $monthTaxesMarket,
'lastMonthMarket' => $lastTaxesMarket,
'thisMonthReprocessing' => number_format($monthTaxesReprocessing, 2, '.', ','),
'lastMonthReprocessing' => number_format($lastTaxesReprocessing, 2, '.', ','),
'thisMonthMarket' => number_format($monthTaxesMarket, 2, '.', ','),
'lastMonthMarket' => number_format($lastTaxesMarket, 2, '.', ','),
];
return view('finances.taxes')->with('totalTaxes', $totalTaxes);