Merge pull request #7100 from tuxgasy/develop_addmoresummary_hook

Close: add new hook addMoreBoxStatsCustomer
This commit is contained in:
Laurent Destailleur 2017-07-25 20:32:10 +02:00 committed by GitHub
commit dafe1194c4

View File

@ -603,11 +603,17 @@ if ($id > 0)
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();