{* Smarty *}

<div class="ui-widget-content ui-corner-all" style="width: 450px;">
  <h3 class="ui-widget-header ui-corner-all">Заявка №{$ArrDemands.demands_id}</h3>
  <div style="padding-left: 7px; padding-right: 7px; padding-bottom: 7px;">
    <table>
      <tr>
        <td><label>Статус:</label></td>
        <td>
          {if isset($ArrDemands.sprstatus_name)}{$ArrDemands.sprstatus_name}{/if}
        </td>
      </tr>
      <tr>
        <td><label>Дата:</label></td>
        <td>
          {if isset($ArrDemands.demands_date)}{$ArrDemands.demands_date|date_format:"%d.%m.%Y %H:%M:%S"}{/if}
        </td>
      </tr>
      <tr>
        <td><label>СВТ:</label></td>
        <td>{if isset($ArrDemands.svt_name)}({$ArrDemands.svt_name}) {/if}{if isset($ArrDemands.svt_buxname)}{$ArrDemands.svt_buxname}{/if}</td>
      </tr>
      <tr>
        <td><label>Подразделение:</label></td>
        <td>
          {if isset($ArrDemands.structureorganization_title)}{$ArrDemands.structureorganization_title}{/if}
        </td>
      </tr>
      <tr>
        <td><label>Инв. номер:</label></td>
        <td>
          {if isset($ArrDemands.svt_invnum)}{$ArrDemands.svt_invnum}{/if}
        </td>
      </tr>
      <tr>
        <td><label>Пользователь:</label></td>
        <td>
          {if isset($ArrDemands.users_fio)}{$ArrDemands.users_fio}{/if}
        </td>
      </tr>
      <tr>
        <td><label>Телефон:</label></td>
        <td>
          {if isset($ArrDemands.users_tel)}{$ArrDemands.users_tel}{/if}
        </td>
      </tr>
      <tr>
        <td><label>Вн. телефон:</label></td>
        <td>
          {if isset($ArrDemands.users_telint)}{$ArrDemands.users_telint}{/if}
        </td>
      </tr>
      <tr>
        <td><label>Классификация:</label></td>
        <td>
          {if isset($ArrDemands.demandsclassif_name)}{$ArrDemands.demandsclassif_name}{/if}
        </td>
      </tr>
      <tr>
        <td><label>Исполнитель:</label></td>
        <td>
          {if isset($ArrDemands.master_fio)}{$ArrDemands.master_fio}{/if}
        </td>
      </tr>
      <tr>
        <td><label>№ служ. записки:</label></td>
        <td>{if isset($ArrDemands.demands_intdocnum)}{$ArrDemands.demands_intdocnum}{/if}</td>
      </tr>
      <tr>
        <td><label>Дата служ. записки:</label></td>
        <td>{if isset($ArrDemands.demands_intdocdate)}{$ArrDemands.demands_intdocdate|date_format:"%d.%m.%Y"}{/if}</td>
      </tr>
    </table>
  </div>
</div>