confirm.twig (1863B)
1 {% if not redirect %} 2 <div class="table-responsive"> 3 <table class="table table-bordered table-hover"> 4 <thead> 5 <tr> 6 <td class="text-left">{{ column_name }}</td> 7 <td class="text-left">{{ column_model }}</td> 8 <td class="text-right">{{ column_quantity }}</td> 9 <td class="text-right">{{ column_price }}</td> 10 <td class="text-right">{{ column_total }}</td> 11 </tr> 12 </thead> 13 <tbody> 14 15 {% for product in products %} 16 <tr> 17 <td class="text-left"><a href="{{ product.href }}">{{ product.name }}</a> {% for option in product.option %} <br /> 18 <small> - {{ option.name }}: {{ option.value }}</small> {% endfor %} 19 {% if product.recurring %} <br /> 20 <span class="label label-info">{{ text_recurring_item }}</span> <small>{{ product.recurring }}</small> {% endif %}</td> 21 <td class="text-left">{{ product.model }}</td> 22 <td class="text-right">{{ product.quantity }}</td> 23 <td class="text-right">{{ product.price }}</td> 24 <td class="text-right">{{ product.total }}</td> 25 </tr> 26 {% endfor %} 27 {% for voucher in vouchers %} 28 <tr> 29 <td class="text-left">{{ voucher.description }}</td> 30 <td class="text-left"></td> 31 <td class="text-right">1</td> 32 <td class="text-right">{{ voucher.amount }}</td> 33 <td class="text-right">{{ voucher.amount }}</td> 34 </tr> 35 {% endfor %} 36 </tbody> 37 38 <tfoot> 39 40 {% for total in totals %} 41 <tr> 42 <td colspan="4" class="text-right"><strong>{{ total.title }}:</strong></td> 43 <td class="text-right">{{ total.text }}</td> 44 </tr> 45 {% endfor %} 46 </tfoot> 47 48 </table> 49 </div> 50 {{ payment }} 51 {% else %} 52 <script type="text/javascript"><!-- 53 location = '{{ redirect }}'; 54 //--></script> 55 {% endif %}