Jump to content

PDF print Logo or not


Recommended Posts

Hi, in the PDF.php file I’m trying to only print logo when delivery.firstname is equal to invoce.firstname
so I try code like this

$invoice_address = new Address(intval(self::$order->id_address_invoice));
$delivery_address = new Address(intval(self::$order->id_address_delivery));

if (file_exists(PS_IMG_DIR.’/logo.jpg’)) AND (($delivery_address->firstname)<>($invoice_address->firstname)) $this->Image(PS_IMG_DIR.’/logo.jpg’, 10, 8, 0, 15);

but it’s error (blank)
thank all

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...