Skip to content

Commit

Permalink
Merge pull request #7100 from tuxgasy/develop_addmoresummary_hook
Browse files Browse the repository at this point in the history
Close: add new hook addMoreBoxStatsCustomer
  • Loading branch information
eldy committed Jul 25, 2017
2 parents 86d7644 + f4857af commit dafe119
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion htdocs/comm/card.php
Expand Up @@ -603,11 +603,17 @@
if ($link) $boxstat.='</a>';
}

$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreBoxStatsCustomer', $parameters, $object, $action);
if(empty($reshook)){
$boxstat.= $hookmanager->resPrint;
}

$boxstat.='</td></tr>';
$boxstat.='</table>';
$boxstat.='</div>';

print $boxstat;
print $boxstat;

$now=dol_now();

Expand Down

0 comments on commit dafe119

Please sign in to comment.