Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Important : Download Invoice


Hi,

How I need to download invoice? Can you have an example of code for this 3 templates?

https://preview.keenthemes.com/metronic8/demo1/apps/invoices/view/invoice-1.html
https://preview.keenthemes.com/metronic8/demo1/apps/invoices/view/invoice-2.html
https://preview.keenthemes.com/metronic8/demo1/apps/invoices/view/invoice-3.html

Thank you.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


Yes, I have the license of metronic. My problem is how to download the pdf of invoice. When I click the button “print invoice” , notthing is happen .



Hi,

Please note that the PDF download is not handled by HTML templates. You will need to use your server side code to generate PDF in your backend. With an HTML invoice template you can just print by using window.print() javascript functions.

Regards.



And if I want download the pdf?



Hi,

You will need to implement it with your backend language. It's not in the HTML templates scope. For more info please check this tutorial:


Regards.



Perfect. Best regards



Hi,

If you have purchased Metronic from Themeforest you will be able to get all those invoice files as shown here: https://imgur.com/a/tadJ6bF

Regards.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(