Doc
This commit is contained in:
parent
1779fed19c
commit
bed683b070
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ class box_graph_invoices_permonth extends ModeleBoxes
|
|||
if (empty($endyear)) {
|
||||
$endyear = $nowarray['year'];
|
||||
}
|
||||
$startyear = $endyear - (!getDolGlobalString('MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH') ? 2 : ($conf->global->MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH - 1));
|
||||
$startyear = $endyear - (getDolGlobalString('MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH') ? ($conf->global->MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH - 1) : 2); // Default is 3 years
|
||||
|
||||
$mode = 'customer';
|
||||
$WIDTH = (($shownb && $showtot) || !empty($conf->dol_optimize_smallscreen)) ? '256' : '320';
|
||||
|
|
|
|||
Loading…
Reference in a new issue