diff --git a/app/Http/Controllers/StructureController.php b/app/Http/Controllers/StructureController.php index 4f2b8635e..8ba928811 100644 --- a/app/Http/Controllers/StructureController.php +++ b/app/Http/Controllers/StructureController.php @@ -88,7 +88,8 @@ class StructureController extends Controller } - return view('structures.taxhistory')->with(compact('totalTaxes', 'months')); + return view('structures.taxhistory')->with('totalTaxes', $totalTaxes) + ->with('months', $months); } public function chooseCorpTaxes() {