You are here

uc-order-invoice-page.html.twig in Ubercart 8.4

Default theme implementation to display a printable Ubercart invoice.

File

uc_order/templates/uc-order-invoice-page.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a printable Ubercart invoice.
  5. *
  6. * @see template_preprocess_uc_order_invoice_page()
  7. */
  8. #}
  9. <!DOCTYPE html>
  10. <html{{ html_attributes }}>
  11. <head>
  12. <title>{{ head_title }}</title>
  13. <style type="text/css">
  14. .buttons {
  15. text-align: right;
  16. margin: 0 1em 1em 0;
  17. }
  18. </style>
  19. <style type="text/css" media="print">
  20. .buttons {
  21. display: none;
  22. }
  23. </style>
  24. </head>
  25. <body{{ attributes }}>
  26. <div class="buttons">
  27. <input type="button" value="{{ 'Print invoice'|t }}" onclick="window.print();" />
  28. <input type="button" value="{{ 'Back'|t }}" onclick="history.back();" />
  29. </div>
  30. {{ content }}
  31. </body>
  32. </html>