Optimize screen size
This commit is contained in:
parent
0a2ed1f678
commit
a334b96469
@ -97,7 +97,7 @@ class box_graph_invoices_permonth extends ModeleBoxes
|
|||||||
$startyear=$endyear-1;
|
$startyear=$endyear-1;
|
||||||
$mode='customer';
|
$mode='customer';
|
||||||
$userid=0;
|
$userid=0;
|
||||||
$WIDTH=($shownb && $showtot)?'256':'320';
|
$WIDTH=(($shownb && $showtot) || ! empty($conf->dol_optimize_smallscreen))?'256':'320';
|
||||||
$HEIGHT='192';
|
$HEIGHT='192';
|
||||||
|
|
||||||
$stats = new FactureStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
$stats = new FactureStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
||||||
|
|||||||
@ -96,7 +96,7 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
|
|||||||
$startyear=$endyear-1;
|
$startyear=$endyear-1;
|
||||||
$mode='supplier';
|
$mode='supplier';
|
||||||
$userid=0;
|
$userid=0;
|
||||||
$WIDTH=($shownb && $showtot)?'256':'320';
|
$WIDTH=(($shownb && $showtot) || ! empty($conf->dol_optimize_smallscreen))?'256':'320';
|
||||||
$HEIGHT='192';
|
$HEIGHT='192';
|
||||||
|
|
||||||
$stats = new FactureStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
$stats = new FactureStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
||||||
|
|||||||
@ -97,7 +97,7 @@ class box_graph_orders_permonth extends ModeleBoxes
|
|||||||
$startyear=$endyear-1;
|
$startyear=$endyear-1;
|
||||||
$mode='customer';
|
$mode='customer';
|
||||||
$userid=0;
|
$userid=0;
|
||||||
$WIDTH=($shownb && $showtot)?'256':'320';
|
$WIDTH=(($shownb && $showtot) || ! empty($conf->dol_optimize_smallscreen))?'256':'320';
|
||||||
$HEIGHT='192';
|
$HEIGHT='192';
|
||||||
|
|
||||||
$stats = new CommandeStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
$stats = new CommandeStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
||||||
|
|||||||
@ -96,7 +96,7 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
|
|||||||
$startyear=$endyear-1;
|
$startyear=$endyear-1;
|
||||||
$mode='supplier';
|
$mode='supplier';
|
||||||
$userid=0;
|
$userid=0;
|
||||||
$WIDTH=($shownb && $showtot)?'256':'320';
|
$WIDTH=(($shownb && $showtot) || ! empty($conf->dol_optimize_smallscreen))?'256':'320';
|
||||||
$HEIGHT='192';
|
$HEIGHT='192';
|
||||||
|
|
||||||
$stats = new CommandeStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
$stats = new CommandeStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
||||||
|
|||||||
@ -97,7 +97,7 @@ class box_graph_propales_permonth extends ModeleBoxes
|
|||||||
$startyear=$endyear-1;
|
$startyear=$endyear-1;
|
||||||
$mode='customer';
|
$mode='customer';
|
||||||
$userid=0;
|
$userid=0;
|
||||||
$WIDTH=($shownb && $showtot)?'256':'320';
|
$WIDTH=(($shownb && $showtot) || ! empty($conf->dol_optimize_smallscreen))?'256':'320';
|
||||||
$HEIGHT='192';
|
$HEIGHT='192';
|
||||||
|
|
||||||
$stats = new PropaleStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
$stats = new PropaleStats($this->db, 0, $mode, ($userid>0?$userid:0));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user