gestione gare pubbliche
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

94 righe
3.5 KiB

<?
if (!empty($richieste) && !empty($partecipazioni) && !empty($entita) && !empty($metodoBuste)) {
if (is_object($entita) && method_exists($entita,$metodoBuste)) {
?>
<div class="card">
<div class="card-body m-0 p-0">
<div class="table-responsive">
<table class="table table-hover table-striped">
<thead>
<tr>
<th><?= __("Stato") ?></th>
<th><?= __("Partecipante") ?></th>
<?
foreach($richieste AS $richiesta) {
?>
<th><?= $richiesta["titolo"] ?></th>
<?
}
?>
</tr>
</thead>
<tbody>
<?
foreach($partecipazioni AS $partecipante) {
?>
<tr>
<td class="text-center">
<?
if ($partecipante["conferma"] == "S") {
?>
<span class="text-success"><?= __("Inviato") ?></span>
<?
} else {
?>
<span class="text-danger"><?= __("Non inviato") ?></span>
<?
}
?>
</td>
<td class="text-center">
<? if (empty($secret)) { ?>
<strong><?= $partecipante["codice_fiscale"] ?></strong><br>
<?= $partecipante["ragione_sociale"] ?>
<? } else { ?>
<strong><?= $partecipante["id"] ?></strong>
<? } ?>
</td>
<?
foreach($richieste AS $richiesta) {
$busta = $entita->$metodoBuste($partecipante["codice"],$richiesta["codice"]);
?>
<td class="text-center">
<?
if (!empty($busta)) {
?>
<span class="text-success"><?= __("Presentato") ?></span><br>
<small><?= $busta["timestamp"] ?></small>
<?
} else {
?>
<span class="<?= ($richiesta["controllo"] == "N") ? "text-warning" : "text-danger" ?>"><?= __("Non Presentato") ?></span><br>
<?
if ($richiesta["controllo"] == "N") {
?>
<small><?= __("Non obbligatorio") ?></small>
<?
} else {
?>
<small><?= __("Obbligatorio") ?></small>
<?
}
}
?>
</td>
<?
}
?>
</tr>
<?
}
?>
</tbody>
</table>
</div>
</div>
</div>
<?
} else {
alertManager::printAlertBox(__("Configurazione Classe/metodo errata"));
}
} else {
alertManager::printWarningBox(__("Monitor non disponibile"));
}
?>