{if !$invoices} No invoices found {else} {foreach from=$invoices item=i}
Invoice # {$i.id}
Customer {$i.first_name} {$i.last_name}, {$i.address1} {$i.address2}, {$i.city}, {$i.state} {$i.zip}
{foreach from=$i.items item=p} {/foreach}
SKU PRODUCT NAME ASSIGN ASSET
{$p.sku} {$p.name}

{/foreach} {/if}