This commit is contained in:
Laurent Destailleur
2025-11-19 11:16:24 +01:00
parent 37dca42aee
commit 75d1f27730
3 changed files with 4 additions and 3 deletions

View File

@@ -8488,7 +8488,7 @@ function get_default_tva(Societe $thirdparty_seller, Societe $thirdparty_buyer,
// Allow an external module to bypass the calculation of prices
$parameters = array('vatvalue' => $vatvalue, 'vatrule' => $vatrule);
$tmpobject = null; $tmpaction = '';
// @phan-ignore-next-line PhanPluginConstantVariableNull
// @phan-ignore-next-line
$reshook = $hookmanager->executeHooks('get_default_tva', $parameters, $tmpobject, $tmpaction);
if ($reshook > 0 && !empty($hookmanager->resArray['vatvalue'])) {
$vatvalue = $hookmanager->resArray['vatvalue'];