if (!empty($content)) { ?>
= $content["nomeFile"] ?>
= __("Documento caricato") ?>
= __("Impronta hash") ?> - SHA256: = $content["sha256"] ?>
if (!empty($secretata)) {
?>
= $secretata["nomeFile"] ?>
= __("Documento oscurato") ?>
= __("Impronta hash") ?> - SHA256: = $secretata["sha256"] ?>
} else if ($secretabile && $content["segreta"] == "S" && $this->submit) {
alertManager::printAlertCompact("Carica versione oscurata");
}
} ?>
if (!empty($emendamento)) {
$alertClass = "warning";
if ($emendamento["accettata"] == "S") {
$alertClass = "info";
}
if ($emendamento["accettata"] == "N") {
$alertClass = "danger";
}
$labelEmendamento = __("Emendamento caricato");
if ($emendamento["segreta"] == "S" && empty($emendamentoSecretato)) {
$labelEmendamento = __("Emendamento incompleto");
$alertClass = "danger";
}
?>
= $emendamento["nomeFile"] ?>
= $labelEmendamento ?>
if ($emendamento["accettata"] == "S") {
?>
= __("Emendamento accettato") ?>
}
if ($emendamento["accettata"] == "N") {
?>
= __("Emendamento rifiutato") ?>
= __("Motivazione") ?>:
= $emendamento["motivazione"] ?>
}
?>
= __("Impronta hash") ?> - SHA256: = $emendamento["sha256"] ?>
if (!empty($emendamentoSecretato)) {
?>
= $emendamentoSecretato["nomeFile"] ?>
= __("Emendamento oscurato") ?>
= __("Impronta hash") ?> - SHA256: = $emendamentoSecretato["sha256"] ?>
} else if ($emendamento["segreta"] == "S" && $emendabile) {
alertManager::printAlertCompact("Carica versione oscurata");
}
?>
} ?>
= $richiesta["titolo"] ?>
if ($richiesta["controllo"] == "S") { ?> = __("Obbligatorio") ?>
} ?>
if ($richiesta["controllo"] == "F") { ?> = __("Obbligatorio con firma digitale") ?>
} ?>
= $richiesta["descrizione"] ?>
filesManager::printList($richiesta["codice"],"{$this->modulo}-richiesta","A",0,false);
if ($richiesta["titolo"] == "DGUE" && method_exists($this->obj,"getManagerDGUE")) {
$this->obj->getManagerDGUE()->printFillButton(true);
}
?>
if ($this->submit) {
if ($richiesta["locked"] == "S") {
if ($this->submit) {
if ($this->formPossibile) {
if ($this->modalitaFirmaForm == "busta") {
?>
" href="make-form.php?= $this->getQueryString() ?>&tipologia== $richiesta["busta"] ?>">
= $upload ? __("Rigenera documento offerta") : __("Genera documento offerta") ?>
if ($upload) {
if (empty($_SESSION["{$this->modulo}offers"][$partecipante["codice"]][$richiesta["busta"]])) {
?>
} else {
?>
" class="btn btn-block btn-default">
= __("Download documento offerta") ?>
}
}
} else if ($this->modalitaFirmaForm == "cumulativa" && $this->richiestaFirmaFormCumulativa) {
if ($upload || isset($generaFormCumulativo)) {
?>
= __("Download documento da firmare") ?>
} else {
if (!isset($generaFormCumulativo)) {
alertManager::printInfoCompact(__("Compila tutti i dati richiesti"));
}
}
}
}
}
}
if ($upload) {
?>
if ($secretabile && !empty($content) && $content["segreta"] == "S") { ?>
}
}
} else {
if ($this->amend) {
if ($emendabile) {
?>
if ($secretabile && !empty($emendamento) && $emendamento["segreta"] == "S") { ?>
}
} else {
alertManager::printWarningCompact(__("Documento non emendabile"),__("La richiesta di correzione può intervenire solo sulle componenti tecniche ed economiche dell'offerta purchè la rettifica non comporti una modifica sostanziale"));
}
}
}
if (!empty($content)) {
if (isset($content["open"]) && $content["open"] == "N" && empty($_SESSION["{$this->modulo}documents"][$this->partecipante["codice"]][$richiesta["codice"]])) {
?>
} else {
?>
" class="btn btn-block btn-primary">
= __("Download documento") ?>
}
if ($this->deletable):
?>
endif;
}
if (!empty($secretata)) {
if (isset($secretata["open"]) && $secretata["open"] == "N" && empty($_SESSION["{$this->modulo}secrets"][$this->partecipante["codice"]][$richiesta["codice"]])) {
?>
} else {
?>
" class="btn btn-block btn-primary">
= __("Download documento oscurato") ?>
}
if ($this->deletable):
?>
endif;
}
if (!empty($emendamento)) {
if (isset($emendamento["open"]) && $emendamento["open"] == "N" && empty($_SESSION["{$this->modulo}amends"][$this->partecipante["codice"]][$richiesta["codice"]])) {
?>
} else {
?>
" class="btn btn-block btn-primary">
= __("Download emendamento") ?>
}
if ($emendabile) {
?>
}
}
if (!empty($emendamentoSecretato)) {
if (isset($emendamentoSecretato["open"]) && $emendamentoSecretato["open"] == "N" && empty($_SESSION["{$this->modulo}secrets"][$this->partecipante["codice"]][$richiesta["codice"]])) {
?>
} else {
?>
" class="btn btn-block btn-primary">
= __("Download emendamento oscurato") ?>
}
if ($emendabile) {
?>
}
}
?>
if ($richiesta["locked"] == "S" && !empty($upload)) {
if ($this->modalitaFirmaForm == "busta" && empty($_SESSION["{$this->modulo}offers"][$partecipante["codice"]][$richiesta["busta"]])) { ?>
}
}
if (!empty($content) && isset($content["open"]) && $content["open"] == "N") { ?>
}
if (!empty($secretata) && isset($secretata["open"]) && $secretata["open"] == "N") { ?>
}
if (!empty($emendamento) && isset($emendamento["open"]) && $emendamento["open"] == "N") { ?>
}
if (!empty($emendamentoSecretato) && isset($emendamentoSecretato["open"]) && $emendamentoSecretato["open"] == "N") { ?>
}
if (!empty($upload)) {
$this->insertUploadForm($richiesta,$secretabile,"submit-save.php");
if ($secretabile && !empty($content) && $content["segreta"] == "S") {
$this->insertUploadForm($richiesta,false,"secret-save.php","oscurato");
}
} else {
if ($emendabile) {
$this->insertUploadForm($richiesta,$secretabile,"amend-save.php");
if ($secretabile && !empty($emendamento) && $emendamento["segreta"] == "S") {
$this->insertUploadForm($richiesta,false,"secret-save.php","oscurato");
}
}
} ?>