adhi Posted June 17, 2011 Share Posted June 17, 2011 Hi, in the PDF.php file I’m trying to only print logo when delivery.firstname is equal to invoce.firstnameso 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now