Merge pull request #21720 from altairisfr/takepospay
NEW : TakePOS - add hook to complete payment
This commit is contained in:
commit
8557257a37
@ -669,6 +669,14 @@ if ($conf->global->TAKEPOS_DELAYED_PAYMENT) {
|
|||||||
print '<button type="button" class="calcbutton2" onclick="Validate(\'delayed\');">'.$langs->trans("Reported").'</button>';
|
print '<button type="button" class="calcbutton2" onclick="Validate(\'delayed\');">'.$langs->trans("Reported").'</button>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
// Add code from hooks
|
||||||
|
$parameters=array();
|
||||||
|
$hookmanager->executeHooks('completePayment', $parameters, $invoice);
|
||||||
|
print $hookmanager->resPrint;
|
||||||
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user