63 lines
1.9 KiB
HTML
63 lines
1.9 KiB
HTML
|
{if ($smarty.get.id)}
|
||
|
|
||
|
{include file=$header h1="Ведомость сдачи КПЗ по огневой подготовке сотрудниками {$filial[0].2}"}
|
||
|
|
||
|
{else}
|
||
|
{include file=$header h1="Ведомость сдачи КПЗ по огневой подготовке"}
|
||
|
{/if}
|
||
|
|
||
|
<form action="" method=post>
|
||
|
<div class="input-group">
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<input type="text" placeholder="Квартал" class="form-control" name="kvartal">
|
||
|
<input type="text" placeholder="Год" class="form-control" name="god">
|
||
|
|
||
|
<span class="input-group-btn">
|
||
|
<input class="btn btn-outline-success" type="submit" name="ok" value="Создать">
|
||
|
</span>
|
||
|
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
<ul>
|
||
|
{section name=customer loop=$filials}
|
||
|
{if $filials[customer].id}
|
||
|
<li><a href="/protokol_ognevoy/{$filials[customer].id}">{$filials[customer].val}</a></li>
|
||
|
{/if}
|
||
|
{/section}
|
||
|
</li>
|
||
|
{*$filial*}
|
||
|
|
||
|
<table class="table">
|
||
|
|
||
|
{section name=customer loop=$list}
|
||
|
{if $list[customer].id && $list[customer].hidden!='1'}
|
||
|
<tr><td><a href="/protokol_ognevoy_edit/{$list[customer].id}">{$list[customer].god}, квартал {$list[customer].kvartal}</a></td><td>
|
||
|
{$list[customer].filial}
|
||
|
</td><td>
|
||
|
|
||
|
|
||
|
<div class="btn-group">
|
||
|
{if $smarty.session.dostup='a'}
|
||
|
<button type="button" class="btn btn-outline-success"><i class="fa fa-trash" aria-hidden="true"></i>
|
||
|
</button>
|
||
|
{/if}
|
||
|
<button type="button" class="btn btn-outline-success" data-link="/protokol_ognevoy_vedom_print/{$list[customer].id}" title="Печатать ведомость сдачи КПЗ по огневой подготовке"><i class="fa fa-print" aria-hidden="true"></i>
|
||
|
<button type="button" class="btn btn-outline-success" data-link="/protokol_ognevoy_print/{$list[customer].id}" title="Печатать протокол сдачи КПЗ по огневой подготовке"><i class="fa fa-print" aria-hidden="true"></i>
|
||
|
</button>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</td></tr>
|
||
|
|
||
|
{/if}
|
||
|
{/section}
|
||
|
</table>
|
||
|
|
||
|
|
||
|
{include file=$footer}
|