fix issue for variable does not seem to exist

This commit is contained in:
Lamrani Abdel 2022-11-08 17:49:15 +01:00
parent 055627e248
commit 31153a85d1

View File

@ -1740,8 +1740,8 @@ abstract class CommonInvoice extends CommonObject
if ($this->ref_client) { if ($this->ref_client) {
$complementaryinfo .= '/20/'.$this->ref_client; $complementaryinfo .= '/20/'.$this->ref_client;
} }
if ($this->thirdparty->vat_number) { if ($this->thirdparty->tva_intra) {
$complementaryinfo .= '/30/'.$this->thirdparty->vat_number; $complementaryinfo .= '/30/'.$this->thirdparty->tva_intra;
} }
// Header // Header