<div class="tab-pane fade" id="pills-history" role="tabpanel" aria-labelledby="pills-history-tab">
{if $history_table is odd}
  <div class="table-fix">
    <table class="table table-striped cabinet-table">
      <thead>
        <tr>
          <td>id</td>
          <td>Операция</td>
          <td>Стоимость операции</td>
          <td>Дата операции</td>
        </tr>
      </thead>
      <tbody>

        {foreach $history_table as $value}
        <tr>
          <td width="50px">{$value.id}</td>
          <td width="350px">{$value.description}</td>
          <td width="150px">{$value.price} <small>руб.</small></td>
          <td width="250px">{$value.date|date_format:"%d.%m.%Y в %H:%M"}</td>
        </tr>
        {/foreach}

      </tbody>
    </table>
  </div>
{else}
<div class="text-center cabinet-info">Операций не проводилось</div>
{/if}
</div>
