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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)

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.

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 .
https://we.tl/t-jC7WZBk3nn

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:
https://www.geeksforgeeks.org/how-to-make-pdf-file-downloadable-in-html-link-using-php/

Regards.

Perfect. Best regards

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(