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.
19 righe
628 B
19 righe
628 B
<? |
|
|
|
use function PHPUnit\Framework\isNull; |
|
|
|
if (!empty($progetto)) { |
|
$datiRichiesti = Programma::getDatiRichiesti($progetto->info["tipologia"]); |
|
if (!empty($datiRichiesti)) { |
|
$status = "status-border-success"; |
|
foreach($datiRichiesti AS $keyName) { |
|
$keyInfo = progetto::getKeyInfo($keyName); |
|
if ($keyInfo["obbligatorio"] && empty($progetto->getInfo($keyName))) { |
|
$alertManager->addDangerAlert(__("Informazioni obbligatorie mancanti, progetto non inseribile in programmazione"),$hrefComando); |
|
$status = "status-border-danger"; |
|
break; |
|
} |
|
} |
|
} |
|
} |
|
?>
|