Jump to content

PDF print Logo or not


adhi
 Share

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

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More