Fix trans
This commit is contained in:
parent
90c3f8afce
commit
0300991389
@ -71,6 +71,8 @@ class box_graph_propales_permonth extends ModeleBoxes
|
|||||||
//include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
|
//include_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
|
||||||
//$propalstatic=new Propal($db);
|
//$propalstatic=new Propal($db);
|
||||||
|
|
||||||
|
$langs->load("propal");
|
||||||
|
|
||||||
$text = $langs->trans("BoxProposalsPerMonth",$max);
|
$text = $langs->trans("BoxProposalsPerMonth",$max);
|
||||||
$this->info_box_head = array(
|
$this->info_box_head = array(
|
||||||
'text' => $text,
|
'text' => $text,
|
||||||
|
|||||||
@ -76,8 +76,6 @@ class box_propales extends ModeleBoxes
|
|||||||
$propalstatic=new Propal($db);
|
$propalstatic=new Propal($db);
|
||||||
$societestatic = new Societe($db);
|
$societestatic = new Societe($db);
|
||||||
|
|
||||||
$langs->load("propal");
|
|
||||||
|
|
||||||
$this->info_box_head = array('text' => $langs->trans("BoxTitleLast".($conf->global->MAIN_LASTBOX_ON_OBJECT_DATE?"":"Modified")."Propals",$max));
|
$this->info_box_head = array('text' => $langs->trans("BoxTitleLast".($conf->global->MAIN_LASTBOX_ON_OBJECT_DATE?"":"Modified")."Propals",$max));
|
||||||
|
|
||||||
if ($user->rights->propale->lire)
|
if ($user->rights->propale->lire)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user