From 716bb433e8e576edd730f379176b7342eab7a1e5 Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Thu, 10 Dec 2020 15:50:18 +0100 Subject: [PATCH] ajout pictogramme graph dans info box head --- htdocs/core/boxes/box_funnel_of_prospection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/boxes/box_funnel_of_prospection.php b/htdocs/core/boxes/box_funnel_of_prospection.php index 44b2bd9a90d..e75e8959a03 100644 --- a/htdocs/core/boxes/box_funnel_of_prospection.php +++ b/htdocs/core/boxes/box_funnel_of_prospection.php @@ -139,7 +139,7 @@ class box_funnel_of_prospection extends ModeleBoxes $this->info_box_head = array( 'text' => $langs->trans("Statistics") . ' - ' . $langs->trans("OpportunitiesStatusForOpenedProjects"), - $max + 'graph' => '1' ); if ($user->rights->projet->lire || !empty($conf->global->PROJECT_USE_OPPORTUNITIES)) { @@ -224,7 +224,7 @@ class box_funnel_of_prospection extends ModeleBoxes $dolgraph->SetType(array('horizontalbars')); $dolgraph->SetHeight('200'); $dolgraph->SetWidth('600'); - $dolgraph->mode='depth'; + $dolgraph->mode = 'depth'; $dolgraph->draw('idgraphstatus'); $stringtoprint .= $dolgraph->show($totaloppnb ? 0 : 1); }