big-moving.ru/api/mod/pril10_ocen.html

74 lines
2.2 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file=$header h1="Зачетная ведомость по огневой подготовке" title="Зачетная ведомость по огневой подготовке"}
<div class="alert alert-secondary" role="alert">
<h2>Информация</h2>
<p>Дата: {$info[0].dat}</p>
<p>Учебная группа №: {$info[0].uchgroups}</p>
<p>Вид подготовки: {$info[0].vpodg}</p>
<p>Члены комиссии: {$info[0].komissiya}</p>
<button type="button" class="btn btn-outline-success" data-link="/pril10_ocen_print/{$smarty.get.id}"><i class="fa fa-print" aria-hidden="true"></i>
</button>
</div>
<form action="" method="post" id="add_vop">
<div class="input-group">
<select name="id_sotr" class="form-control">
{section name=customer loop=$sotr}
{if $sotr[customer].id}
<option value="{$sotr[customer].id}">{$sotr[customer].fam} {$sotr[customer].imya} {$sotr[customer].otch}</option>
{/if}
{/section}
</select>
<input type="text" placeholder="№ билета" class="form-control" name="nbilet">
<input type="hidden" name="act" value="pril10">
<input type="hidden" name="act" value="pril10">
<input type="hidden" name="id_vedom" value="{$smarty.get.id}">
<select name="ocen" class="form-control">
{section name=customer loop=$ocen}
{if $ocen[customer].id}
<option value="{$ocen[customer].id}">{if ($ocen[customer].val==0)}Отсутcтвовал{else}{$ocen[customer].val}{/if}</option>
{/if}
{/section}
</select>
<span class="input-group-btn">
<input class="btn btn-outline-success" type="submit" name="ok" value="ok">
</span>
</div>
</form>
<table class="table" id="table_pril10">
<tr><td align="center"><b>Должность</b></td><td align="center"><b>Ф.И.О</b></td><td align="center"><b>№ билета (теста)</b></td><td align="center"><b>Оценка</b></td></tr>
{section name=customer loop=$ocen1}
{if $ocen1[customer].id}
<tr><td align="center">{$ocen1[customer].dolzh}</td><td align="center">{$ocen1[customer].fio}</td><td align="center">{$ocen1[customer].nbilet}</td><td align="center">{$ocen1[customer].ocen}</td></tr>
{/if}
{/section}
</table>
{include file=$footer}