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.
54 righe
1.9 KiB
54 righe
1.9 KiB
<? |
|
$error = true; |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; |
|
include_once($configPath); |
|
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice)) { |
|
$error = false; |
|
$missing = anac::getProcedureMancanti(); |
|
if (!empty($missing)) { |
|
?> |
|
<h1><?= __("Anteprima importazione") ?></h1> |
|
<table class="table table-striped table-hover table-condensed"> |
|
<thead> |
|
<tr> |
|
<td>#</td> |
|
<th><?= __("Modulo") ?></th> |
|
<th><?= __("ID") ?></th> |
|
<th><?= __("Oggetto") ?></th> |
|
<th><?= __("CIG") ?></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<? |
|
$i = 0; |
|
foreach($missing AS $procedura) { |
|
$i++; |
|
?> |
|
<tr> |
|
<td class="text-center"><?= $i ?></td> |
|
<td class="text-center"><?= Modulo::getInfo($procedura["modulo"])["titolo"] ?></td> |
|
<td class="text-center"><?= $procedura["ref"] ?></td> |
|
<td><?= $procedura["oggetto"] ?></td> |
|
<td class="text-center"><?= implode("<br>",array_column($procedura["lotti"],"cig")); ?></td> |
|
</tr> |
|
<? |
|
} |
|
?> |
|
</tbody> |
|
</table> |
|
<form action="/backend/anac/utility/importFromModuli.php"> |
|
<? |
|
alertManager::printInfoBox(__("Importazione massiva procedure mancanti"),__("Questa funzione importa automaticamente tutti i dati presenti negli altri moduli della piattaforma, l'operazione potrebbe richiedere molto tempo, si prega di attendere")); |
|
?> |
|
<button type="submit" class="btn btn-block btn-primary btn-lg"><?= __("Avvia operazione") ?></button> |
|
</form> |
|
<? |
|
} else { |
|
alertManager::printSuccessBox(__("Nessuna operazione richiesta")); |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|
|
|