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.
21 righe
660 B
21 righe
660 B
<? |
|
if (isset($gara)) { |
|
$statuses = []; |
|
foreach($lotti AS $lotto) { |
|
$hrefComandoStatus = $hrefComando . "&codice_lotto={$lotto["codice"]}"; |
|
if ($lotto["stato"] >= 35) { |
|
$statuses[] = "status-border-success"; |
|
} else { |
|
$statuses[] = "status-border-danger"; |
|
$alertManager->addDangerAlert(__("Lotto") . " " . $lotto["numero"] . " - " . __("Aggiudicazione definitiva non inserita"),$hrefComandoStatus); |
|
} |
|
} |
|
$statuses = array_unique($statuses); |
|
if (count($statuses) === 1) { |
|
$status = $statuses[0]; |
|
} else { |
|
$status = "status-border-warning"; |
|
} |
|
$gara->lotto = null; |
|
} |
|
?>
|