This commit is contained in:
Laurent Destailleur
2020-01-13 15:58:03 +01:00
parent 56fb6dce61
commit e2e06b47ff
3 changed files with 20 additions and 18 deletions

View File

@@ -1447,6 +1447,7 @@ class Commande extends CommonOrder
$localtaxes_type = getLocalTaxesFromRate($txtva, 0, $this->thirdparty, $mysoc);
// Clean vat code
$reg = array();
$vat_src_code = '';
if (preg_match('/\((.*)\)/', $txtva, $reg))
{