You are here

uc-packing-slip-page.html.twig in Ubercart 8.4

Default theme implementation to display a printable Ubercart packing slip.

See also

template_preprocess_uc_fulfillment()

File

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