You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Code for creating delivery note pdf

Started by Uke, March 15, 2014, 16:49:29 PM

Previous topic - Next topic



I use a function to combine invoice and delivery note to one pdf document for printing out in one step. Now i want that the delivery note pdf is created automaticaly when not exists, and not only when i click on the icon in backend. What code can i use for creating the delivery note?

Other option is to force the create of delivery note pdf when status is changing to "confirmed" together with the invoice pdf.

Joomla 2.5.17 VM V2.0.26d

Thanks in advance.




i use the same config:
Quote from: Uke on March 15, 2014, 16:49:29 PM
Joomla 2.5.17 VM V2.0.26d

if i click on the Print View - Delivery Note button in the backend i only get an error:
Fatal error: Call to undefined method VmVendorPDF::getImageFileType() in /...myURL.../components/com_virtuemart/helpers/vmpdf.php on line 234

being able to print it would be fantastic.
anyone ideas?



virtubedo your problem is another one. I think you installed a component using a new tcpdf. There should be a fix for this in the new vm2.5.4, please read and download here
Should I fix your bug, please support the VirtueMart project and become a member
Extensions approved by the core team: