Created
August 18, 2024 20:58
-
-
Save unlocomqx/abf348ad8a61e868614981b8ec5f0ab0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @var int $id_product */ | |
/** @var float $product_price */ | |
use DynamicProduct\classes\DynamicTools; | |
use DynamicProduct\classes\module\DynamicCalculator; | |
if(isset($vat)) { | |
$dynamicCalculator = new DynamicCalculator(DynamicTools::getModule(), DynamicTools::getContext()); | |
$vat = $dynamicCalculator->getTax($id_product); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment