Merge pull request #7212 from ATM-Marc/NEW_price_formObjectOptions_hook

NEW hook formObjectOptions in the form setting product selling price
This commit is contained in:
Laurent Destailleur 2017-08-17 18:25:30 +02:00 committed by GitHub
commit e9eefb170f

View File

@ -1175,6 +1175,9 @@ if ($action == 'edit_price' && $object->getRights()->creer)
$parameters=array('colspan' => 2); $parameters=array('colspan' => 2);
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
$parameters=array('colspan' => 2);
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
print '</table>'; print '</table>';
dol_fiche_end(); dol_fiche_end();