Fix travis
This commit is contained in:
parent
83e2f71e07
commit
3e69421ec3
@ -151,7 +151,7 @@ class box_graph_invoices_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -196,7 +196,7 @@ class box_graph_invoices_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -148,7 +148,7 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -193,7 +193,7 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -149,7 +149,7 @@ class box_graph_orders_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -192,7 +192,7 @@ class box_graph_orders_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -148,7 +148,7 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -191,7 +191,7 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -149,7 +149,7 @@ class box_graph_propales_permonth extends ModeleBoxes
|
||||
{
|
||||
if ($startmonth != 0)
|
||||
{
|
||||
$legend[]=sprintf("%d/%d",$i-2001, $i-2000);
|
||||
$legend[]=sprintf("%d/%d", $i-2001, $i-2000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -106,7 +106,7 @@ abstract class Stats
|
||||
$year=$startyear;
|
||||
while($year <= $endyear)
|
||||
{
|
||||
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0)][($i+$startmonth)%12][1];
|
||||
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0 )][($i+$startmonth)%12][1];
|
||||
$year++;
|
||||
}
|
||||
}
|
||||
@ -206,7 +206,7 @@ abstract class Stats
|
||||
$year=$startyear;
|
||||
while($year <= $endyear)
|
||||
{
|
||||
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0)][($i+$startmonth)%12][1]; // set yval for x=i
|
||||
$data[$i][]=$datay[$year - (1 - (int)(($i+$startmonth)/12)) + ($startmonth == 0 ? 1 : 0 )][($i+$startmonth)%12][1]; // set yval for x=i
|
||||
$year++;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user