display taxes history

This commit is contained in:
2018-12-11 23:33:13 -06:00
parent a9aa1ae740
commit 1b7947c842

View File

@@ -32,7 +32,7 @@ class StructureController extends Controller
//Get the dates we are working with //Get the dates we are working with
$dates = $this->GetLongTimeFrame(); $dates = $this->GetLongTimeFrame();
dd($dates);
//Create the totalTaxes array //Create the totalTaxes array
$totalTaxes = array(); $totalTaxes = array();
@@ -173,9 +173,9 @@ class StructureController extends Controller
]; ];
//Cycle through the for loop and build the array //Cycle through the for loop and build the array
for($i = 1; $i <= 12; $i++) { for($i = 1; $i < 12; $i++) {
$start->month --; $start->subMonth();
$end->month --; $end->subMonth();
$dates[$i] = [ $dates[$i] = [
'start' => $start, 'start' => $start,
'end' => $end, 'end' => $end,