VirtueMart 1.1.0 - Invoice, Delivery Note, Receipt

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi,- I c

Post by Jan »

Hi,

- I cannot write turtorial, because creation of this invoice takes a day of playing with X and Y positions of Cells and in this turtorial must be explained the whole TCPDF framework

- I get the donation for both invoices forms, so it will be not fair to add them for free downlod because of user he spent donation for this

You can look at tcpdf class (there will be explained how to create the cell in pdf) and then you can play with these two files:

delivery.pdf.php
phoca.tcpdf.php

there are some comments, so it can be helpful too...

Jan
If you find Phoca extensions useful, please support the project
l00p
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 May 2008, 23:42

Thank you for your r

Post by l00p »

Thank you for your reply.

I thought it was fpdf and thats why some code didnt work when i tried to redesign the invoice.

Thank you very much again!
interface
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 17 May 2008, 19:01
Location: Germany

Hi,i ins

Post by interface »

Hi,

i install it under Joomla 1.0.15 now when i click on the pdf icon to see the invoice I get this error.

Warning: ps_delivery::require_once(JPATH_COMPONENTDSpdfDSdelivery.pdf.php) [function.ps-delivery-require-once]: failed to open stream: No such file or directory in /mounted-storage/home63c/sub003/sc39086-FFMO/www/yesnails/administrator/components/co m_virtuemart/classes/ps_delivery.php on line 347

Fatal error: ps_delivery::require_once() [function.require]: Failed opening required 'JPATH_COMPONENTDSpdfDSdelivery.pdf.php' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home63c/sub003/sc39086-FFMO/www/yesnails/administrator/components/co m_virtuemart/classes/ps_delivery.php on line 347

Can somebody help me
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

The solution works o

Post by Jan »

The solution works only under Joomla! 1.5
If you find Phoca extensions useful, please support the project
interface
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 17 May 2008, 19:01
Location: Germany

Is there no change t

Post by interface »

Is there no change to get them run ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

No, because PDF crea

Post by Jan »

No, because PDF creating uses the PrintPDF document which uses the Joomla! 1.5 framework...

Jan
If you find Phoca extensions useful, please support the project
interface
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 17 May 2008, 19:01
Location: Germany

Oh damn,

Post by interface »

Oh damn,

you know how i get a invoice under VM 1.1.0 and J 1.0.15 ?

cu
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

No

Post by Jan »

No that is why I reworked this solution, so I think you don't find any other solution yet which will work under (VM1.1 and J1.0.x)
If you find Phoca extensions useful, please support the project
interface
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 17 May 2008, 19:01
Location: Germany

Post by interface »

oh damn and i build this page under J1.0.15 but i need VM1.1.0

ok cu+thx
mariana
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 May 2008, 20:34

Hi Jan, I get exactl

Post by mariana »

Hi Jan, I get exactly the same error that wogan spoke about:

TCPDF error: Some data has already been output, can't send PDF file

I tried what you said in delievery.pdf.php file (line 304 to "D") and nothing occured.

I was wondering if you had found a solution for this?

thank you,

Mariana Frade.
Post Reply