VirtueMart 1.1.0 - Invoice, Delivery Note, Receipt

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
eightball
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Apr 2008, 18:22

Thanks for the artic

Post by eightball »

Thanks for the article, i managed to run it on my page

But how can I adjust the design of the PDF file (language / appearance)?

Can anybody help me?
eightball
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Apr 2008, 18:22

Another thing that i

Post by eightball »

Another thing that isnt working:
Bill No. Order no. Shipment address, etc. are not displayed in my pdf file.

Any ideas?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

You can change the a

Post by Jan »

You can change the appearance or items which should be printed in html (php) code ... there are no parameters...

Jan
If you find Phoca extensions useful, please support the project
eightball
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Apr 2008, 18:22

Which file do I have

Post by eightball »

Which file do I have to modify (my php knowledge isn't that good...)

Do you have an idea, why the 'topics' aren't displayed in my pdf file?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

no idea...

Post by Jan »

no idea...

these files should be changed:
administrator\components\com_virtuemart\pdf\delivery.pdf.php
administrator\components\com_virtuemart\pdf\phoca.tcpdf.php

but only in case, you know php and you know the behaviour of tcpdf ...
If you find Phoca extensions useful, please support the project
wogand
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 Apr 2008, 00:12

wow great article. O

Post by wogand »

wow great article. Only problem for me is the making of the pdf. I get the following error:
, TCPDF error: Some data has already been output, can't send PDF file

using joomla 1.5.2 and VM 1.1. RC 3.

Perhaps I have done something wrong?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, it looks as if y

Post by Jan »

Hi, it looks as if your framework displays something (e.g. error message) before PDF will be created. PDF needs the empty output before creating some document, but if e.g. framework send error message to the output, the PDF will be not created...


Try to change:
administrator\components\com_virtuemart\pdf\delivery.pdf.php
Row 303 + -
FROM:
$pdf->Output( 'delivery', "I" );
TO:
$pdf->Output( 'delivery', "D" );

The PDF should be downloaded instead of displayed in browser, so sometimes it is downloaded with error messages... If it will be downloaded, then you should see it in some text editor ... on the first lines of the PDF file, there will be displayed error messages...

Jan
If you find Phoca extensions useful, please support the project
wogand
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 Apr 2008, 00:12

thanks for the reply

Post by wogand »

thanks for the reply Jan. However it did not work
I also can't download it with save as, I get index2.html. So I can only left click it and open it in browser.

Is the path : /administrator\components\com_virtuemart\pdf correct?
shouldnt it be the pdf folder in :
/administrator/components/com_virtuemart/classes/pdf/ ?
bberus
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Apr 2008, 09:15

Jan

Post by bberus »

Jan
Jan
bberus
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Apr 2008, 09:15

Hello Jan,

Post by bberus »

Hello Jan,

Are you able to make the custom feature, that once we mark an order as shipped the invoice gets automatically generated and it is sent to the customer by email. Please contact me to bostjan.berus@gmail.com .I do not find your email.

Thank you,
Bostjan Berus
Post Reply