Merge pull request #22794 from lamrani002/fix_issue_vat_number

fix issue for variable does not seem to exist
This commit is contained in:
Laurent Destailleur 2022-11-17 12:43:54 +01:00 committed by GitHub
commit 96df6759a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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