Include error

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
Malhom
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 22 Feb 2011, 13:58
Location: DERVAL
Contact:

Include error

Post by Malhom »

Hye Jan,

I've try to insert your code (https://www.phoca.cz/documents/18-virtue ... eipt-addon) into my old version of phoca and I've got this error;
Plugin: Phoca PDF VirtueMart Helper class not found

what is missing?


And other things:
I would like to know if it’s possible to print a pdf from the backend without opening file because I think that it’s too long to open the pdf and print it each time manualy.
If you know how to do, please tell me.
Something like this maybe into administrator\components\com_virtuemart\classes\ps_order_delivery.php line 449 after if($db->f('is_invoice') == '1') { :

echo '<a href="javascript:window.print('.$pdf_url.'&gen=bill)" target="_blank"><img src="'.$mosConfig_live_site.'/images/M_images/printButton.png" border="0" /></a>';


And is it possible to insert a row into table vm_order_history to have an evidence that invoice has been sent and where to do this ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48041
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Include error

Post by Jan »

Hi, try to check the installation step by step, seems like some table was not installed (maybe while using Phoca Install component)

Saving the file on server e.g. must be customized in the pdf plugin, so it will not send it to browser but saves it somewhere.

Jan
If you find Phoca extensions useful, please support the project
Post Reply