invoice_new.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!--
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. -->
  7. <!--@subject {{trans "Invoice for your %store_name order" store_name=$store.getFrontendName()}} @-->
  8. <!--@vars {
  9. "var formattedBillingAddress|raw":"Billing Address",
  10. "var this.getUrl($store, 'customer/account/')":"Customer Account URL",
  11. "var order.getCustomerName()":"Customer Name",
  12. "var comment":"Invoice Comment",
  13. "var invoice.increment_id":"Invoice Id",
  14. "layout area=\"frontend\" handle=\"sales_email_order_invoice_items\" invoice=$invoice order=$order":"Invoice Items Grid",
  15. "var order.increment_id":"Order Id",
  16. "var payment_html|raw":"Payment Details",
  17. "var formattedShippingAddress|raw":"Shipping Address",
  18. "var order.shipping_description":"Shipping Description",
  19. "var order.getShippingDescription()":"Shipping Description"
  20. } @-->
  21. {{template config_path="design/email/header_template"}}
  22. <table>
  23. <tr class="email-intro">
  24. <td>
  25. <p class="greeting">{{trans "%name," name=$order.getCustomerName()}}</p>
  26. <p>
  27. {{trans "Thank you for your order from %store_name." store_name=$store.getFrontendName()}}
  28. {{trans 'You can check the status of your order by <a href="%account_url">logging into your account</a>.' account_url=$this.getUrl($store,'customer/account/',[_nosid:1]) |raw}}
  29. </p>
  30. <p>
  31. {{trans 'If you have questions about your order, you can email us at <a href="mailto:%store_email">%store_email</a>.' store_email=$store_email |raw}}
  32. </p>
  33. </td>
  34. </tr>
  35. <tr class="email-summary">
  36. <td>
  37. <h1>{{trans "Your Invoice #%invoice_id for Order #%order_id" invoice_id=$invoice.increment_id order_id=$order.increment_id}}</h1>
  38. </td>
  39. </tr>
  40. <tr class="email-information">
  41. <td>
  42. {{depend comment}}
  43. <table class="message-info">
  44. <tr>
  45. <td>
  46. {{var comment|escape|nl2br}}
  47. </td>
  48. </tr>
  49. </table>
  50. {{/depend}}
  51. <table class="order-details">
  52. <tr>
  53. <td class="address-details">
  54. <h3>{{trans "Billing Info"}}</h3>
  55. <p>{{var formattedBillingAddress|raw}}</p>
  56. </td>
  57. {{depend order.getIsNotVirtual()}}
  58. <td class="address-details">
  59. <h3>{{trans "Shipping Info"}}</h3>
  60. <p>{{var formattedShippingAddress|raw}}</p>
  61. </td>
  62. {{/depend}}
  63. </tr>
  64. <tr>
  65. <td class="method-info">
  66. <h3>{{trans "Payment Method"}}</h3>
  67. {{var payment_html|raw}}
  68. </td>
  69. {{depend order.getIsNotVirtual()}}
  70. <td class="method-info">
  71. <h3>{{trans "Shipping Method"}}</h3>
  72. <p>{{var order.getShippingDescription()}}</p>
  73. </td>
  74. {{/depend}}
  75. </tr>
  76. </table>
  77. {{layout area="frontend" handle="sales_email_order_invoice_items" invoice=$invoice order=$order}}
  78. </td>
  79. </tr>
  80. </table>
  81. {{template config_path="design/email/footer_template"}}