Merge pull request #21720 from altairisfr/takepospay

NEW : TakePOS - add hook to complete payment
This commit is contained in:
Laurent Destailleur 2022-08-12 00:12:33 +02:00 committed by GitHub
commit 8557257a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>