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.
50 righe
2.3 KiB
50 righe
2.3 KiB
<? |
|
if (isset($gara)) { |
|
$status = "status-border-danger"; |
|
$gara->lotto = null; |
|
if (!empty($gara->getRichieste())) { |
|
if ($gara->round["infoFase"]["graduatoria"]) { |
|
$general = 0; |
|
foreach($lotti AS $lotto) { |
|
if (in_array($lotto["stato"],gara::statiTermineProcedura()) === false) { |
|
$empty = 0; |
|
if ($gara->setLotto($lotto["codice"])) { |
|
$tipologieBusta = $gara->busteDisponibili(); |
|
foreach($tipologieBusta AS $tipo => $descrizione) { |
|
if (!empty($gara->getRichieste($tipo))) { |
|
$status = "status-border-warning"; |
|
} else { |
|
$msg = __("Lotto") ."#" . $lotto["numero"] . " - " . __("Non sono stati richiesti documenti per la ") . $descrizione["titolo"]; |
|
$href = "/backend/gare/buste/index.php?codice={$gara->info["codice"]}&codice_round={$gara->round["codice"]}&codice_lotto={$lotto["codice"]}"; |
|
$alertManager->addWarningAlert($msg,$href); |
|
$empty++; |
|
$general++; |
|
} |
|
} |
|
if ($empty == count($tipologieBusta)) { |
|
$msg = __("Lotto") ."#" . $lotto["numero"] . " - " . __("Non sono state configurate richieste"); |
|
$href = "/backend/gare/buste/index.php?codice={$gara->info["codice"]}&codice_round={$gara->round["codice"]}&codice_lotto={$lotto["codice"]}"; |
|
$alertManager->addDangerAlert($msg,$href); |
|
} |
|
} else { |
|
$alertManager->addDangerAlert(__("Errore inizializzazione lotto per verifica")); |
|
} |
|
} |
|
} |
|
if (empty($general)) { $status = "status-border-success"; } |
|
} else { |
|
$status = "status-border-success"; |
|
} |
|
if (!$gara->configurazioneBusteConfermata()) { |
|
$status = "status-border-danger"; |
|
$msg = __("Confermare la configurazione delle buste"); |
|
$href = "/backend/gare/buste/index.php?codice={$gara->info["codice"]}&codice_round={$gara->round["codice"]}"; |
|
$alertManager->addDangerAlert($msg,$href); |
|
} |
|
} else { |
|
$msg = __("Non sono state configurate richieste"); |
|
$href = "/backend/gare/buste/index.php?codice={$gara->info["codice"]}&codice_round={$gara->round["codice"]}"; |
|
$alertManager->addDangerAlert($msg,$href); |
|
} |
|
} |
|
?>
|