Jump to content

Bug when downloading SupplyOrder Pdf


Recommended Posts

Hello All,


I got the folowing message when downloading a pdf from supply order list.


( ! ) Notice: Undefined property: HTMLTemplateSupplyOrderForm::$order in //classes/pdf/HTMLTemplate.php on line 112



Regarding at the code, HTMLTemplateSupplyOrderForm is calling getLogo() but as it is not define in this class, is calling the parent function : HTMLTemplate::getLogo


But $this->order is not set in HTMLTemplateSupplyOrderForm as it is $this->supply_order which is define. And as it is proper to define an id_shop to order a supplier. id_shop is not define.


It seems to be a bug, but I'll like your help to be sure.


Last points, May someone can explain me why there is no address management for suppliers ? Or please drive me to find the way.


Best regards



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...