display taxes history
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user