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.
78 righe
3.2 KiB
78 righe
3.2 KiB
<? |
|
if (isset($gara) && isset($partecipante) && $gara->canAccessAccessoAttiAutomatico()) { |
|
ob_start(); |
|
filesManager::printList($gara->round["codice"],"gare-accessoatti","A",0,false); |
|
$allegatiGenerali = trim(ob_get_clean()); |
|
ob_start(); |
|
filesManager::printList($gara->lotto["codice"],"gare-accessoatti-lotto","A",0,false); |
|
$attiLotto = trim(ob_get_clean()); |
|
if (!empty($allegatiGenerali)) { |
|
?> |
|
<div class="card my-2"> |
|
<div class="card-header"> |
|
<span class="card-title h3"><?= __("Atti generali") ?></span> |
|
</div> |
|
<div class="card-body"><?= $allegatiGenerali ?></div> |
|
</div> |
|
<? |
|
} |
|
if (!empty($attiLotto)) { |
|
?> |
|
<div class="card my-2"> |
|
<div class="card-header"> |
|
<span class="card-title h3"><?= __("Atti lotto") ?></span> |
|
</div> |
|
<div class="card-body"><?= $attiLotto ?></div> |
|
</div> |
|
<? |
|
} |
|
$busteAccesso = $gara->getBusteSoggetteAccesso(); |
|
$richieste = $gara->getRichiestePubblicabili(); |
|
if (!empty($busteAccesso) && !empty($richieste)) { |
|
?> |
|
<div class="card"> |
|
<div class="card-header"> |
|
<h3><?= __("Documenti partecipanti") ?></h3> |
|
</div> |
|
<div class="card-body p-0"> |
|
<table class="m-0 table table-striped"> |
|
<thead> |
|
<tr> |
|
<th><?= __("Partecipante") ?></th> |
|
<? foreach($richieste AS $richiesta) { ?> |
|
<th class="text-center"><?= $richiesta["titolo"] ?></th> |
|
<? } ?> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<? |
|
foreach($busteAccesso as $partecipante => $buste) { |
|
$partecipante = $gara->getPartecipante($partecipante); |
|
?> |
|
<tr> |
|
<td><?= $partecipante["ragione_sociale"] ?></td> |
|
<? foreach($richieste AS $richiesta) { ?> |
|
<td class="text-center"> |
|
<? if (!empty($buste[$richiesta["codice"]])) { ?> |
|
<a href="/gare/partecipa/accesso/download.php?codice_gara=<?= $gara->info["codice"] ?>&codice_round=<?= $gara->round["codice"] ?>&codice_lotto=<?= $gara->lotto["codice"] ?>&codice_richiesta=<?= $richiesta["codice"] ?>&codice_partecipante=<?= $partecipante["codice"] ?>&token=<?= tokenGen() ?>" |
|
class="btn btn-primary btn-block"><span class="fa fa-download"></span> <?= __("Download") ?> |
|
</a> |
|
<? } else { |
|
echo __("In attesa di sblocco da parte della Stazione appaltante o non presentata"); |
|
} ?> |
|
</td> |
|
<? |
|
} |
|
?> |
|
</tr> |
|
<? |
|
} |
|
?> |
|
</tbody> |
|
</table> |
|
</div> |
|
</div> |
|
<? |
|
} |
|
} |
|
?>
|