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.
28 righe
890 B
28 righe
890 B
<? |
|
if (!empty($this) && !empty($partecipante)) { |
|
$countRisposte = 0; |
|
$totaleRichieste = 0; |
|
$managerRichieste = $this->getManagerRichieste($partecipante["codice"]); |
|
$richieste = $managerRichieste->getRichieste(); |
|
if (!empty($richieste)) { |
|
$status = "status-border-warning"; |
|
foreach($richieste AS $richiesta) { |
|
$ooee = $managerRichieste->getOE($richiesta["codice"]); |
|
if (!empty($ooee)) { |
|
$totaleRichieste += count($ooee); |
|
foreach($ooee AS $oe) { |
|
if (!empty($oe["sha256"])) { |
|
$countRisposte++; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
if ($totaleRichieste > 0 && $totaleRichieste == $countRisposte) { |
|
$status = "status-border-success"; |
|
} |
|
if (!empty($countRisposte)) { |
|
$badge = "<span class='float-right badge badge-secondary'>{$countRisposte}</span>"; |
|
} |
|
} |
|
?>
|