From 1f9bd2538e59698f045f4ab6b229ac5da656dfe7 Mon Sep 17 00:00:00 2001 From: TuxGasy Date: Sun, 2 Jul 2017 22:20:07 +0200 Subject: [PATCH] new addMoreBoxStatsCustomer hook --- htdocs/comm/card.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index a51ef902eb6..0a290af1507 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -604,11 +604,17 @@ if ($id > 0) if ($link) $boxstat.=''; } + $parameters = array(); + $reshook = $hookmanager->executeHooks('addMoreBoxStatsCustomer', $parameters, $object, $action); + if(empty($reshook)){ + $boxstat.= $hookmanager->resPrint; + } + $boxstat.=''; $boxstat.=''; $boxstat.=''; - print $boxstat; + print $boxstat; $now=dol_now();