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.
30 righe
863 B
30 righe
863 B
<? |
|
if (isset($gara)) { |
|
$globalStatus = 0; |
|
$status = "status-border-danger"; |
|
foreach($lotti AS $lotto) { |
|
if ($gara->setLotto($lotto["codice"])) { |
|
$partecipanti = $gara->getPartecipanti(); |
|
if (count($partecipanti) > 0) { |
|
$globalStatus++; |
|
} else { |
|
if ($lotto["stato"] == "95") { |
|
$globalStatus++; |
|
} else { |
|
$alertManager->addDangerAlert(__("Non è stata ricevuta nessuna partecipazione per il lotto") . " " . $lotto["numero"],$hrefComando."&codice_lotto=".$lotto["codice"]); |
|
} |
|
} |
|
} |
|
} |
|
$gara->lotto = null; |
|
if (empty($globalStatus)) { |
|
$status = "status-border-danger"; |
|
} else { |
|
$status = "status-border-warning"; |
|
if ($globalStatus == count($lotti)) { |
|
$status = "status-border-success"; |
|
} |
|
} |
|
} |
|
|
|
?>
|