{if !empty($changedItems)}
   <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;margin-bottom: 20px;" class="table-products">
      <caption style="padding: 7px 0;border-bottom: 2px solid #f2f4f8;font-weight: 700;text-align:left;">{t}Změny v počtu kusů zboží z důvodu nedostupnosti{/t}:</caption>
       {foreach $changedItems as $item}
          <tr>
             <td style="border-bottom:1px solid #f2f4f8;padding: 7px 7px 7px 0;">
                 {if $item.productId}
                    <a href="{url s='redir' type='product' id=$item.productId absolute="1"}">{$item.name}</a>
                 {else}
                     {$item.name}
                 {/if}
             </td>
             <td style="border-bottom:1px solid #f2f4f8;padding: 7px 7px 7px 0;text-align: right;white-space: nowrap;">
                 {$item.oldPieces} {t}ks{/t} -> <strong>{$item.newPieces} {t}ks{/t}</strong>
             </td>
          </tr>
       {/foreach}
   </table>
{/if}
