Create pdf invoice

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Fakiro82
User
Posts: 108

Create pdf invoice

Post by Fakiro82 »

Hi,
I need to do:

  1. Add button on single grid record.
  2. When user click on button I need to generated a pdf with the data record (as ID, Description, Quantity, Price, etc...).

Now I created the custum file "invoice.php". But I need to pass data of the single record into pdf.

How can I do this? Is it possible to add button also in view page of single record or on edit page of single record?

Thank you so much,
Andrea.


mobhar
User
Posts: 11703

Post by mobhar »

Fakiro82 wrote:
Is it possible to add button also in view page of single record or on edit page of single record?

You may simply use "Page_Render" server event that belongs to "View Page". Similar to: http://www.hkvforums.com/viewtopic.php?f=4&p=127171


Post Reply