This topic is locked

Invoice Form using printer-friendly forms in PHPR5.3

11/4/2011 9:52:10 AM
PHPRunner General questions
O
oldes author

Hi
I tried to create a Invoice form using the printer friendly form.

I created a Invoice-like form table for testing and I had two problems..
1- The fields in my table do not appear in the output. I couldn't find the reason.
Is it possible to create form-like form rather than grid-like using printer friendly forms?
2- To display the details information of the form I tried to include the printer-friendly form of the details in a php sniplet ("include_once ("mkb_siparis_detaylari_print.php")<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=18121&image=1&table=forumtopics' class='bbc_emoticon' alt=';)' />.. This didn't work because the session already started...
How can I display details here ?
Kind regards

Sergey Kornilov admin 11/4/2011

Check Vertical layout option. You can switch to vertical layout for Printer-friendly page on 'Field order and totals' screen.
Including another page a snippet is not possible.

O
oldes author 11/5/2011



Check Vertical layout option. You can switch to vertical layout for Printer-friendly page on 'Field order and totals' screen.
Including another page a snippet is not possible.


Thanks,
following code is an snipplet I created on the printer-friendly form...

"global $data;" do not work..



global $data;
echo constInvoiceDetailTable($data["SiparisID"],true);


How can I access to the database field with in the snipplet on Printer-friendly list?.. Or is there any other way to do this?