Jump to content
xt:Commerce Community Forum

PDF Rechnung - Einzelpreis anzeigen inkl. Ust.


quinlynn

Recommended Posts

Hallo zusammen

Ich bin im Moment grad das Template von PDF Rechnung am anpassen.

Nun hätte ich gerne, dass die Preise in der Produktliste inkl. USt. angezeigt werden und lediglich unten am Ende der Bestellung ausgewiesen werden.

Der Endpreis wird inkl. USt. berechnet, der Einzelpreis ohne....

Was mach ich falsch:

<div class="table-item">

<table>

<thead>

<tr>

<td>{txt key=TEXT_XT_ORDERS_INVOICES_PRODUCTS_MODEL}</td>

<td>{txt key=TEXT_XT_ORDERS_INVOICES_PRODUCTS_NAME}</td>

<td>{txt key=TEXT_XT_ORDERS_INVOICES_PRODUCTS_QUANTITY}</td>

<td>{txt key=TEXT_XT_ORDERS_INVOICES_PRODUCTS_PRICE}</td>

{if $showDiscount}

<td>{txt key=TEXT_XT_ORDERS_INVOICES_PRODUCTS_DISCOUNT}</td>

{/if}

<td class="total">{txt key=TEXT_XT_ORDERS_INVOICES_PRODUCTS_TOTAL_PRICE}</td>

</tr>

</thead>

<tbody>

{foreach from=$data.products item=product name=products}

<tr class="{if $smarty.foreach.products.last}last {/if} item">

<td>{$product.products_model}</td>

<td class="name">{$product.products_name}</td>

<td>{$product.products_quantity}</td>

<td>{$product.products_price_formatted} {$product.products_currency}</td>

{if $showDiscount}

<td>{$product.products_total_discount_formatted} {$product.products_currency}</td>

{/if}

<td class="total">{$product.products_final_total_price_formatted} {$product.products_currency}</td>

</tr>

{/foreach}

</table>

</div>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...