Topic: Print query with image

hello

i need help
when i print any view query i need add in header and footer page print image
how this and where file add code ?
same like image

http://i.imgur.com/36xJ5V2.png

Post's attachments

36xJ5V2.png 22.3 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Print query with image

Provide Menu Navigation steps to to get your image. Also provide image for what you need it to be. English screenshot and mockup will be useful.

Re: Print query with image

i mean when make any query in system by Number reference view this image

http://i.imgur.com/36xJ5V2.png

and when click print view this print

http://i.imgur.com/Ezq1Ide.png

i need add image in header and footer by same like in explain image

Post's attachments

Qry_Prt_files.zip 68.8 kb, 2 downloads since 2017-07-16 

You don't have the permssions to download the attachments of this post.

Re: Print query with image

Assume you are using FA 2.4.1.

The file gl/view/gl_trans_view.php provides the query view and it has the print link and can be modified by adding after line (for header image):

$credit = $debit = 0;

the line with your header image like:

echo "<center><img src='https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR_KUCneY0HSb36I6iUoilKd42Kk9RH0ywVvtxlZwhZQ5zVHdDw' width='60%'></center>";

and at the end of the if statement (for footer image):

if ($heading_shown)

the following line with your footer image like:

echo "<center><img src='http://files.photografy-edicoes.webnode.com/200000818-e5968e690c/banner%203.png' width='60%'></center>";
Post's attachments

Qry_Prt_WithImg.zip 267.6 kb, 2 downloads since 2017-07-16 

You don't have the permssions to download the attachments of this post.

Re: Print query with image

The actual code inserts can be seen in the attachment.

Post's attachments

GL_Query_Header_Footer_Images.png 29.2 kb, 1 downloads since 2017-07-16 

You don't have the permssions to download the attachments of this post.

Re: Print query with image

Hello

How can make header and footer in payments and deposits in bank general ledger. I need print query same like above where file editing

Thanks

Re: Print query with image

Try the same in the files:

gl/view/gl_deposit_view.php
gl/view/gl_payment_view.php

Re: Print query with image

I cannot find any codes same like last explain