Update pdf_sponge.modules.php

This commit is contained in:
Laurent Destailleur 2022-11-25 16:15:32 +01:00 committed by GitHub
parent 84a977afe2
commit 9c786a1b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2327,7 +2327,7 @@ class pdf_sponge extends ModelePDFFactures
$pdf->MultiCell($widthrecbox - 2, 4, $carac_client, 0, $ltrdirection);
// Show shipping address
if (getDolGlobalInt('INVOICE_SHOW_SHIPPING_ADDRESS') || $this->emetteur->country_code == 'FR') {
if (getDolGlobalInt('INVOICE_SHOW_SHIPPING_ADDRESS')) {
$idaddressshipping = $object->getIdContact('external', 'SHIPPING');
if (!empty($idaddressshipping)) {