mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-03 03:49:29 +00:00
67 lines
1.9 KiB
PHP
67 lines
1.9 KiB
PHP
<div class="table-responsive">
|
|
<table id="doctable" class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Typ</th>
|
|
<th>Uploaddatum</th>
|
|
<th>Ausstellungsnation</th>
|
|
<th>Formal geprüft</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
foreach ($dokumente as $dokument):
|
|
$geprueft = isset($dokument->formal_geprueft_amum) ? "checked" : "";
|
|
?>
|
|
<tr>
|
|
<td>
|
|
<a href="../outputAkteContent/<?php echo $dokument->akte_id ?>"><?php echo empty($dokument->titel) ? $dokument->bezeichnung : $dokument->titel ?></a>
|
|
</td>
|
|
<td><?php echo $dokument->dokument_bezeichnung ?></td>
|
|
<td><?php echo date_format(date_create($dokument->erstelltam), 'd.m.Y') ?></td>
|
|
<td><?php echo $dokument->langtext ?></td>
|
|
<td>
|
|
<input type="checkbox" class="form-check-input prchbox"
|
|
id="prchkbx_<?php echo $dokument->akte_id ?>" <?php echo $geprueft ?>>
|
|
<span id="formalgeprueftam_<?php echo $dokument->akte_id ?>">
|
|
<?php echo isset($dokument->formal_geprueft_amum) ? date_format(date_create($dokument->formal_geprueft_amum), 'd.m.Y') : ''; ?>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<?php if (count($dokumente_nachgereicht) > 0): ?>
|
|
<br/>
|
|
<p>Nachzureichende Dokumente:</p>
|
|
<table id="nachgdoctable" class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Typ</th>
|
|
<th>Nachzureichen am</th>
|
|
<th>Ausstellungsnation</th>
|
|
<th>Anmerkung</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
foreach ($dokumente_nachgereicht as $dokument):
|
|
?>
|
|
<tr>
|
|
<td><?php echo $dokument->dokument_bezeichnung ?></td>
|
|
<td>
|
|
<?php echo isset($dokument->nachgereicht_am) ? date_format(date_create($dokument->nachgereicht_am), 'd.m.Y') : ''; ?>
|
|
</td>
|
|
<td>
|
|
<?php echo $dokument->langtext ?>
|
|
</td>
|
|
<td>
|
|
<?php echo $dokument->anmerkung; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</tbody>
|
|
</table>
|
|
<?php endif; ?>
|