Merge pull request #21658 from ptibogxiv/patch-31
NEW add hook on takepos/pay.php
This commit is contained in:
commit
2e337fc229
@ -655,6 +655,10 @@ if ($conf->global->TAKEPOS_ENABLE_SUMUP) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$parameters = array();
|
||||||
|
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $invoice, $action); // Note that $action and $object may have been modified by hook
|
||||||
|
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||||
|
|
||||||
$class = ($i == 3) ? "calcbutton3" : "calcbutton2";
|
$class = ($i == 3) ? "calcbutton3" : "calcbutton2";
|
||||||
foreach ($action_buttons as $button) {
|
foreach ($action_buttons as $button) {
|
||||||
$newclass = $class.($button["class"] ? " ".$button["class"] : "");
|
$newclass = $class.($button["class"] ? " ".$button["class"] : "");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user