virt2/api/mod/pril10_2_ocen.html

73 lines
2.1 KiB
HTML
Raw Normal View History

{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_2_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="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}