67 lines
2.1 KiB
Smarty
67 lines
2.1 KiB
Smarty
{if $orderitems}
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="check"><input type="checkbox" /></th>
|
|
<th class="pos">Pos.</th>
|
|
<th class="span_image_and_item" colspan="2">Art-Nr./Beschreibung</th>
|
|
<th class="price">Stückpreis</th>
|
|
<th class="quantity">St.</th>
|
|
<th class="total">Gesamtpreis</th>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="7"><hr /></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$orderitems item=item}
|
|
<tr {if $item@last}class="last"{/if}>
|
|
<td class="check"><input type="checkbox" /></td>
|
|
<td class="pos">{$item@index + 1}</td>
|
|
<td class="image"><div class="item_image"><img src="" /></div></td>
|
|
<td class="item">
|
|
{$item->item_name}
|
|
<div>Art-Nr.: {$item->item_number}</div>
|
|
</td>
|
|
<td class="price">
|
|
{$item->price_with_tax|number_format:2:",":" "} €
|
|
<div>inc. {$item->tax}% MwSt.</div>
|
|
</td>
|
|
<td class="quantity">{$item->amount}</td>
|
|
<td class="total">{$item->total|number_format:2:",":" "} €</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="7"><hr /></td>
|
|
</tr>
|
|
<tr class="item_total">
|
|
<td style="width:130px;" colspan="3"></td>
|
|
<td colspan="3" style="font-weight:bold;">Summe aller Artikel</td>
|
|
<td class="total">{$footer->item_total|number_format:2:",":" "} €</td>
|
|
</tr>
|
|
<tr class="tax">
|
|
<td style="width:130px;" colspan="3"></td>
|
|
<td colspan="3" class="greyed">Inclusive MwSt.</td>
|
|
<td class="total"></td>
|
|
</tr>
|
|
<tr class="shipping">
|
|
<td style="width:130px;" colspan="3"></td>
|
|
<td colspan="3">Versandkosten</td>
|
|
<td class="total" style="font-weight:normal;">{$footer->shipping|number_format:2:",":" "} €</td>
|
|
</tr>
|
|
<tr class="payment_method">
|
|
<td style="width:130px;" colspan="3"></td>
|
|
<td colspan="3">Zahlungsgebühren</td>
|
|
<td class="total" style="font-weight:normal;">{$footer->payment_method|number_format:2:",":" "} €</td>
|
|
</tr>
|
|
<tr class="order_total">
|
|
<td style="width:130px;" colspan="3"></td>
|
|
<td colspan="3" style="font-weight:bold;">Fälliger Betrag</td>
|
|
<td class="total">{$footer->order_total|number_format:2:",":" "} €</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
{/if}
|