[SOLVED] Â Print Pdf button on list page |
3/11/2014 10:52:15 AM |
PHPRunner General questions | |
A
Abul author
Hello Dear, $pdf->Table("select ordno, fname, lname from ord_view where ord_id=".$ord_id,$prop);
|
|
A
|
Abul author 3/11/2014 |
Hello Dear, I got stuck at the end of my order submit app development. Please help me out. After submission an order customer needs to have the whole order information in a pdf file. In order to available this feature, I need to insert a BUTTON or any link text like "Print Pdf" in the grid of the order list page. I need this button to fire up an external order_pdf.php (a custom pdf writing file created by FPDF lib and example Mysql Table) page to create whole purchase order in pdf on the fly. I have created order_view table in my database from order, customer, products and billing info tables. I am using this order_view table to retrieve whole order information into my order_pdf.php page by sql query with WHERE clause such as: $pdf->Table("select ordno, fname, lname from ord_view where ord_id=".$ord_id,$prop);
|
A
|
Abul author 3/11/2014 |
I have solved this issue. I just follow the tips of admin in the forum here and its worked like a rock. Thanks admin.
|