Update pdf_crabe.modules.php

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

View File

@ -2065,7 +2065,7 @@ class pdf_crabe 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)) {