{* Smarty *}

{literal}
<script type="text/javascript">
  $(function(){
    tableToGrid("#mytable", {
      width: 590,
      height: 290
    });
  });
</script>
{/literal}

<div>
  <table id="mytable" border="1">
    <thead>
      <tr>
        <th>Наименование</th>
        <th>Количество СВТ</th>
        <th>Период списания (в годах)</th>
      </tr>
    </thead>
    <tbody>
      {foreach $ArrSvtType as $val}
      <tr>
        <td>{$val.svttype_id}{$val.svttype_name}</td>
        <td>{$val.svt_count}</td>
        <td>{$val.svttype_writeoff}</td>
      </tr>
      {/foreach}
    </tbody>
  </table>
</div>