round["infoFase"]["graduatoria"]) { $rec["titolo"] = "Ammissioni ed Esclusioni"; } foreach($lotti AS $lotto) { if ($gara->setLotto($lotto["codice"])) { $hrefComandoStatus = $hrefComando . "&codice_lotto={$lotto["codice"]}"; if (!empty($gara->getPartecipanti())) { if ($gara->round["infoFase"]["graduatoria"]) { if (!empty($gara->getAggiudicatari())) { $statuses[] = "status-border-success"; if (!$gara->pubblicaPartecipanti() && !isset($alertPubblicazionePartecipanti)) { $alertPubblicazionePartecipanti = true; $alertManager->addWarningAlert(__("Lotto") . " " . $lotto["numero"] . " " . __("Partecipanti non pubblicati"),$hrefComandoStatus); } } else if (!in_array($lotto["stato"],gara::statiTermineProcedura())) { $statuses[] = "status-border-danger"; $alertManager->addDangerAlert(__("Lotto") . " " . $lotto["numero"] . " " . __("non aggiudicato"),$hrefComandoStatus); } } else { if (empty($gara->returnPartecipanti(["escluso"=>"P"]))) { $statuses[] = "status-border-success"; } else { $statuses[] = "status-border-danger"; $alertManager->addDangerAlert(__("Lotto") . " " . $lotto["numero"] . " " . __("Partecipanti in attesa di valutazione"),$hrefComandoStatus); } } } } } $statuses = array_unique($statuses); if (count($statuses) === 1) { $status = $statuses[0]; } else { $status = "status-border-warning"; } $gara->lotto = null; } ?>