{$container_id = uniqid('s-reports-order-item-list-')}
{if $orders} {foreach $orders as $order} {foreach $order.items as $item} {if $item.type === 'product'} {/if} {/foreach} {/foreach}
{if !empty($item.product) && !empty($item.product.image_id)} {$wa->shop->productImgHtml($item.product, '48x48')} {elseif !empty($item.image_id)} {$wa->shop->productImgHtml(['id' => $item.product_id, 'image_id' => $item.image_id, 'image_filename' => $item.image_filename, 'ext' => $item.ext], '48x48')} {else} {/if} {$item.name} × {$item.quantity} {$order.create_datetime|wa_date:'humandatetime'}

= $total_count}style="display:none;"{/if}> [`Show more`]
{else}

[`No orders`]

{/if}