order_shipping.twig (4292B)
1 <!DOCTYPE html> 2 <html dir="{{ direction }}" lang="{{ lang }}"> 3 <head> 4 <meta charset="UTF-8" /> 5 <title>{{ title }}</title> 6 <base href="{{ base }}" /> 7 <link href="view/javascript/bootstrap/css/bootstrap.css" rel="stylesheet" media="all" /> 8 <script type="text/javascript" src="view/javascript/jquery/jquery-2.1.1.min.js"></script> 9 <script type="text/javascript" src="view/javascript/bootstrap/js/bootstrap.min.js"></script> 10 <link href="view/javascript/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet" /> 11 <link type="text/css" href="view/stylesheet/stylesheet.css" rel="stylesheet" media="all" /> 12 </head> 13 <body> 14 <div class="container"> 15 {% for order in orders %} 16 <div style="page-break-after: always;"> 17 <h1>{{ text_picklist }} #{{ order.order_id }}</h1> 18 <table class="table table-bordered"> 19 <thead> 20 <tr> 21 <td colspan="2">{{ text_order_detail }}</td> 22 </tr> 23 </thead> 24 <tbody> 25 <tr> 26 <td><address> 27 <strong>{{ order.store_name }}</strong><br /> 28 {{ order.store_address }} 29 </address> 30 <b>{{ text_telephone }}</b> {{ order.store_telephone }}<br /> 31 <b>{{ text_email }}</b> {{ order.store_email }}<br /> 32 <b>{{ text_website }}</b> <a href="{{ order.store_url }}">{{ order.store_url }}</a></td> 33 <td style="width: 50%;"><b>{{ text_date_added }}</b> {{ order.date_added }}<br /> 34 {% if order.invoice_no %} 35 <b>{{ text_invoice_no }}</b> {{ order.invoice_no }}<br /> 36 {% endif %} 37 <b>{{ text_order_id }}</b> {{ order.order_id }}<br /> 38 {% if order.shipping_method %} 39 <b>{{ text_shipping_method }}</b> {{ order.shipping_method }}<br /> 40 {% endif %}</td> 41 </tr> 42 </tbody> 43 </table> 44 <table class="table table-bordered"> 45 <thead> 46 <tr> 47 <td style="width: 50%;"><b>{{ text_shipping_address }}</b></td> 48 <td style="width: 50%;"><b>{{ text_contact }}</b></td> 49 </tr> 50 </thead> 51 <tbody> 52 <tr> 53 <td>{{ order.shipping_address }}</td> 54 <td>{{ order.email }}<br/> 55 {{ order.telephone }}</td> 56 </tr> 57 </tbody> 58 </table> 59 <table class="table table-bordered"> 60 <thead> 61 <tr> 62 <td><b>{{ column_location }}</b></td> 63 <td><b>{{ column_reference }}</b></td> 64 <td><b>{{ column_product }}</b></td> 65 <td><b>{{ column_weight }}</b></td> 66 <td><b>{{ column_model }}</b></td> 67 <td class="text-right"><b>{{ column_quantity }}</b></td> 68 </tr> 69 </thead> 70 <tbody> 71 {% for product in order.product %} 72 <tr> 73 <td>{{ product.location }}</td> 74 <td>{% if product.sku %} 75 {{ text_sku }} {{ product.sku }}<br /> 76 {% endif %} 77 {% if product.upc %} 78 {{ text_upc }} {{ product.upc }}<br /> 79 {% endif %} 80 {% if product.ean %} 81 {{ text_ean }} {{ product.ean }}<br /> 82 {% endif %} 83 {% if product.jan %} 84 {{ text_jan }} {{ product.jan }}<br /> 85 {% endif %} 86 {% if product.isbn %} 87 {{ text_isbn }} {{ product.isbn }}<br /> 88 {% endif %} 89 {% if product.mpn %} 90 {{ text_mpn }}{{ product.mpn }}<br /> 91 {% endif %}</td> 92 <td>{{ product.name }} 93 {% for option in product.option %} 94 <br /> 95 <small> - {{ option.name }}: {{ option.value }}</small> 96 {% endfor %}</td> 97 <td>{{ product.weight }}</td> 98 <td>{{ product.model }}</td> 99 <td class="text-right">{{ product.quantity }}</td> 100 </tr> 101 {% endfor %} 102 </tbody> 103 </table> 104 {% if order.comment %} 105 <table class="table table-bordered"> 106 <thead> 107 <tr> 108 <td><b>{{ text_comment }}</b></td> 109 </tr> 110 </thead> 111 <tbody> 112 <tr> 113 <td>{{ order.comment }}</td> 114 </tr> 115 </tbody> 116 </table> 117 {% endif %} 118 </div> 119 {% endfor %} 120 </div> 121 </body> 122 </html>