add hook to be able to insert lists of payments

This commit is contained in:
Eric Seigne 2023-05-16 09:54:25 +02:00
parent 5c5939cd06
commit 48ef9a9a4d

View File

@ -1762,6 +1762,10 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
dol_print_error($db);
}
//Hook to display your print listing (list of CB card from Stancer Plugin for example)
$parameters = array('arrayfields'=>array(), 'param'=>'', 'sortfield'=>'', 'sortorder'=>'', 'linetype'=>'');
$reshook = $hookmanager->executeHooks('printNewTable', $parameters, $object);
print $hookmanager->resPrint;
if (empty($conf->global->SOCIETE_DISABLE_BUILDDOC)) {
print '<br>';