Fix missing translation load
This commit is contained in:
parent
a08fa814ec
commit
8e83f4f15c
@ -89,6 +89,8 @@ class box_graph_orders_permonth extends ModeleBoxes
|
|||||||
|
|
||||||
if ($user->rights->commande->lire)
|
if ($user->rights->commande->lire)
|
||||||
{
|
{
|
||||||
|
$langs->load("orders");
|
||||||
|
|
||||||
$param_year='DOLUSERCOOKIE_box_'.$this->boxcode.'_year';
|
$param_year='DOLUSERCOOKIE_box_'.$this->boxcode.'_year';
|
||||||
$param_shownb='DOLUSERCOOKIE_box_'.$this->boxcode.'_shownb';
|
$param_shownb='DOLUSERCOOKIE_box_'.$this->boxcode.'_shownb';
|
||||||
$param_showtot='DOLUSERCOOKIE_box_'.$this->boxcode.'_showtot';
|
$param_showtot='DOLUSERCOOKIE_box_'.$this->boxcode.'_showtot';
|
||||||
|
|||||||
@ -88,6 +88,8 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
|
|||||||
|
|
||||||
if ($user->rights->fournisseur->commande->lire)
|
if ($user->rights->fournisseur->commande->lire)
|
||||||
{
|
{
|
||||||
|
$langs->load("orders");
|
||||||
|
|
||||||
$param_year='DOLUSERCOOKIE_box_'.$this->boxcode.'_year';
|
$param_year='DOLUSERCOOKIE_box_'.$this->boxcode.'_year';
|
||||||
$param_shownb='DOLUSERCOOKIE_box_'.$this->boxcode.'_shownb';
|
$param_shownb='DOLUSERCOOKIE_box_'.$this->boxcode.'_shownb';
|
||||||
$param_showtot='DOLUSERCOOKIE_box_'.$this->boxcode.'_showtot';
|
$param_showtot='DOLUSERCOOKIE_box_'.$this->boxcode.'_showtot';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user