News:

Support the VirtueMart project and become a member

Main Menu

Code for creating delivery note pdf

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

Previous topic - Next topic

Uke

Hello!

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.

Uke

virtubedo

Hello,

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?

thanks
Peter

Milbo

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 http://forum.virtuemart.net/index.php?topic=122785.0
Should I fix your bug, please support the VirtueMart project and become a [url=http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail]member[/url]
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/