uawdijnntqw1x1x1
IP : 216.73.216.46
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
templates
/
shop
/
..
/
shop
/
_private
/
receipt
/
index.twig
/
/
<!-- Template: {{ _self }}.twig --> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>{{ 'Receipt'|t }}</title> <style type="text/css"> * { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } table { font-size: x-small; } tfoot tr td { font-weight: bold; font-size: x-small; } .gray { background-color: lightgray } </style> </head> <body> {% if order %} <table width="100%"> <tr> <td valign="top"><img src="" alt="Logo" width="150"/></td> <td align="right"> <h3 class="font-semibold"> {{- craft.app.systemName -}} </h3> {% if order.shippingAddress %} {{ craft.app.addresses.formatAddress(order.shippingAddress)|raw }} {% endif %} </td> </tr> </table> <table width="100%"> <tr> <td><strong>{{ 'Order Reference'|t }}:</strong> {{ order.reference }}</td> </tr> <tr> <td><strong>{{ 'Order Number'|t }}:</strong> {{ order.number }}</td> </tr> <tr> <td><strong>{{ 'Date Ordered'|t }}:</strong> {{ order.dateOrdered|date }}</td> </tr> <tr> <td><strong>{{ 'Order Status'|t }}:</strong> {{ order.orderStatus|title }}</td> </tr> <tr> <td><strong>{{ 'Paid Status'|t }}:</strong> {{ order.paidStatus|title }}</td> </tr> {% if order.couponCode %} <tr> <td><strong>:</strong> {{ order.couponCode }}</td> </tr> {% endif %} {% if order.shippingMethodName %} <tr> <td><strong>{{ 'Shipping Method'|t }}:</strong> {{ order.shippingMethodName }}</td> </tr> {% endif %} </table> <table width="100%"> <thead style="background-color: lightgray;"> <tr> <th>#</th> <th>{{ 'Description'|t }}</th> <th>{{ 'Quantity'|t }}</th> <th>{{ 'Unit Price'|t }}</th> <th>{{ 'Amount'|t }}</th> <th>{{ 'Total'|t }}</th> </tr> </thead> <tbody> {% for lineItem in order.lineItems %} <tr> <th scope="row">{{ loop.index }}</th> <td>{{ lineItem.description }}</td> <td align="right">{{ lineItem.qty }}</td> <td align="right">{{ lineItem.salePriceAsCurrency }}</td> <td align="right">{{ lineItem.subtotalAsCurrency }}</td> <td align="right"></td> </tr> {% for lineItemAdjustment in lineItem.adjustments %} <tr> <th scope="row"></th> <td> <strong>{{ lineItemAdjustment.type|title }}</strong> {{ lineItemAdjustment.name }} - {{ lineItemAdjustment.description }}</td> <td></td> <td></td> <td align="right"> {{ lineItemAdjustment.amountAsCurrency }} {{ lineItemAdjustment.included ? '(included)' }} {{ lineItemAdjustment.isEstimated ? '(estimated)' }} </td> </tr> {% endfor %} <tr> <th scope="row"></th> <td align="right" colspan="5">{{ lineItem.totalAsCurrency }}</td> </tr> {% endfor %} </tbody> <tfoot> <tr> <td colspan="4"></td> <td align="right">{{ 'Item Subtotal'|t }} $</td> <td align="right">{{ order.totalAsCurrency }}</td> </tr> {% for orderAdjustment in order.orderAdjustments %} <tr> <th scope="row"></th> <td><strong>{{ orderAdjustment.type|title }}</strong> {{ orderAdjustment.name }} - {{ orderAdjustment.description }}</td> <td></td> <td></td> <td></td> <td align="right"> {{ orderAdjustment.amountAsCurrency }} {{ orderAdjustment.included ? '(included)' }} {{ orderAdjustment.isEstimated ? '(estimated)' }} </td> </tr> {% endfor %} <tr> <td colspan="4"></td> <td align="right">{{ 'Total'|t }}</td> <td align="right" class="gray">{{ order.totalPriceAsCurrency }}</td> </tr> <tr> <td colspan="4"></td> <td align="right">{{ 'Paid'|t }}</td> <td align="right" class="gray">{{ order.totalPaidAsCurrency }}</td> </tr> <tr> <td colspan="4"></td> <td align="right">{{ 'Balance'|t }}</td> <td align="right" class="gray">{{ order.outstandingBalanceAsCurrency }}</td> </tr> </tfoot> </table> {% else %} {{ 'Order not found.'|t }} {% endif %} </body> </html>
/srv/users/craft4/apps/craft4-newsite-space/templates/shop/../shop/_private/receipt/index.twig