If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
-
uchhavi
- Veteran Member
- Posts: 80
- Joined: 2018-05-15 14:07
Post
by uchhavi » 2019-09-17 16:21
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?
Best regards,
Chhavi Jain
-
uchhavi
- Veteran Member
- Posts: 80
- Joined: 2018-05-15 14:07
Post
by uchhavi » 2019-09-17 20:20
thank u ... it worked like a charm..
Best regards,
Chhavi Jain
-
uchhavi
- Veteran Member
- Posts: 80
- Joined: 2018-05-15 14:07
Post
by uchhavi » 2019-09-19 20:03
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?
Best regards,
Chhavi Jain
-
Moh Youba
- Veteran Member
- Posts: 229
- Joined: 2017-03-12 09:31
Post
by Moh Youba » 2019-09-19 20:13
thanks to our Expert "pböttcher" who help find the correct code
-
Moh Youba
- Veteran Member
- Posts: 229
- Joined: 2017-03-12 09:31
Post
by Moh Youba » 2019-09-19 20:17
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 2774 times
Regards,
-
uchhavi
- Veteran Member
- Posts: 80
- Joined: 2018-05-15 14:07
Post
by uchhavi » 2019-09-19 20:33
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?
Best regards,
Chhavi Jain
-
Moh Youba
- Veteran Member
- Posts: 229
- Joined: 2017-03-12 09:31
Post
by Moh Youba » 2019-09-19 20:37
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>
-
uchhavi
- Veteran Member
- Posts: 80
- Joined: 2018-05-15 14:07
Post
by uchhavi » 2019-09-19 20:46
nevermind.. was trying something... but i dont think it is possible.
thanks for your help and prompt response : )
Best regards,
Chhavi Jain