{foreach from=$orders item=order} {/foreach}
Klient Produkty Zamówienie sprzedaży
{$order->id}
{$order->buyer->email}
{$order->buyer->firstName} {$order->buyer->lastName}

{$order->buyer->address->street}
{$order->buyer->address->postCode} {$order->buyer->address->city}
{$order->buyer->address->countryCode}

Klient istnieje w bazie: {if $order->buyer->exists} {$order->buyer->e5Name} {else}NIE {/if}
{foreach from=$order->lineItems item=product} {$product->offer->external->id}, {$product->offer->name}
Ilość: {$product->quantity} Cena {$product->price->amount} {$product->price->currency}

{/foreach}
{if $order->exists} ZS {$order->e5Number} {if $order->e5InvoiceId}
FV {$order->e5InvoiceNumber} {/if} {else} {/if}