mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 02:28:23 +01:00
Fix CI
This commit is contained in:
@@ -8488,7 +8488,7 @@ function get_default_tva(Societe $thirdparty_seller, Societe $thirdparty_buyer,
|
|||||||
// Allow an external module to bypass the calculation of prices
|
// Allow an external module to bypass the calculation of prices
|
||||||
$parameters = array('vatvalue' => $vatvalue, 'vatrule' => $vatrule);
|
$parameters = array('vatvalue' => $vatvalue, 'vatrule' => $vatrule);
|
||||||
$tmpobject = null; $tmpaction = '';
|
$tmpobject = null; $tmpaction = '';
|
||||||
// @phan-suppress-next-line
|
// @phan-suppress PhanPluginConstantVariableNull
|
||||||
$reshook = $hookmanager->executeHooks('get_default_tva', $parameters, $tmpobject, $tmpaction);
|
$reshook = $hookmanager->executeHooks('get_default_tva', $parameters, $tmpobject, $tmpaction);
|
||||||
if ($reshook > 0 && !empty($hookmanager->resArray['vatvalue'])) {
|
if ($reshook > 0 && !empty($hookmanager->resArray['vatvalue'])) {
|
||||||
$vatvalue = $hookmanager->resArray['vatvalue'];
|
$vatvalue = $hookmanager->resArray['vatvalue'];
|
||||||
|
|||||||
@@ -459,7 +459,7 @@ function calcul_price_total($qty, $pu, $remise_percent_ligne, $txtva, $uselocalt
|
|||||||
// Allow an external module to bypass the calculation of prices
|
// Allow an external module to bypass the calculation of prices
|
||||||
$parameters = array('result' => $result);
|
$parameters = array('result' => $result);
|
||||||
$tmpobject = null; $tmpaction = '';
|
$tmpobject = null; $tmpaction = '';
|
||||||
// @phan-supress-next-line
|
// @phan-suppress PhanPluginConstantVariableNull
|
||||||
$reshook = $hookmanager->executeHooks('calcul_price_total', $parameters, $tmpobject, $tmpaction);
|
$reshook = $hookmanager->executeHooks('calcul_price_total', $parameters, $tmpobject, $tmpaction);
|
||||||
if ($reshook > 0 && !empty($hookmanager->resArray['result'])) {
|
if ($reshook > 0 && !empty($hookmanager->resArray['result'])) {
|
||||||
$result = $hookmanager->resArray['result'];
|
$result = $hookmanager->resArray['result'];
|
||||||
|
|||||||
Reference in New Issue
Block a user