Page 1 of 1
Insert Image in Invoice
Posted: 2019-09-17 16:21
by uchhavi
Hello,
I have made an Invoice using 2 tables.
To add a table field in the Invoice I am using the echo commend like this
<tr><th>Part Category: </th><td style="vertical-align: top"><?php echo $stock['category']; ?> </td></tr>
My Question:
I want to add an image in my invoice from the same table.
What code to type. Please can you help?
Re: Insert Image in Invoice
Posted: 2019-09-17 18:10
by Moh Youba
Hello
Have a look in the link below, maybe it can help
viewtopic.php?f=7&t=3221
Regards,
Re: Insert Image in Invoice
Posted: 2019-09-17 20:20
by uchhavi
thank u ... it worked like a charm..
Re: Insert Image in Invoice
Posted: 2019-09-19 20:03
by uchhavi
Dear Moh Youba,
Is there a method I can show hyperlink of the file I upload in the invoice?
Or may be the file contents itself how in the invoice?
Re: Insert Image in Invoice
Posted: 2019-09-19 20:13
by Moh Youba
thanks to our Expert "pböttcher" who help find the correct code
Re: Insert Image in Invoice
Posted: 2019-09-19 20:17
by Moh Youba
Hello
My English is not very good, regarding your question about hyperlink am not sure I understand, but you can try this, select "Field contents"

- email_link.jpg (114.39 KiB) Viewed 3800 times
Regards,
Re: Insert Image in Invoice
Posted: 2019-09-19 20:33
by uchhavi
Let me try and explain.
I have uploaded the file to the table using the File Upload function.
Now I want to create the invoice and make a hyperlink such that the user can click to download the file.
Is it possible?
Re: Insert Image in Invoice
Posted: 2019-09-19 20:37
by Moh Youba
yes I think, maybe you can try with the html anchor tag ! I have never do it in AppGini, but in html by usin
<a href="link to your file">Text to display</a>
Re: Insert Image in Invoice
Posted: 2019-09-19 20:46
by uchhavi
nevermind.. was trying something... but i dont think it is possible.
thanks for your help and prompt response : )