gestione gare pubbliche
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.
 
 
 
 
 

296 righe
14 KiB

<?
if (!empty($criteria)) {
$sezioni = array();
foreach ($criteria AS $criterio) {
if (empty($sezioni[$criterio["livello1"]])) { $sezioni[$criterio["livello1"]] = self::translateGroup($criterio["version"])[$criterio["livello1"]]['it']; }
}
unset($sezioni["OTHER"]);
unset($sezioni["OTHER_FINAL"]);
$styles = self::getStyles();
?>
<html>
<style>
h1 {
text-align: center;
}
table {
width:100%;
border-spacing: 2px;
padding:5px;
}
th {
width:25%;
}
th,td {
padding:10;
border:1px solid #999;
}
.padding {
padding: 20px;
}
.box {
border-bottom:1px solid #999;
}
.dgue_label {
background-color: #CCC;
padding:20px;
width:49%;
float:left;
}
.clear {
clear:both;
margin:0px;
padding:0px;
}
</style>
<body>
<h1>Documento di Gara Unico Europeo (DGUE)</h1>
<h2>Parte I: Informazioni sulla procedura di appalto e sulla stazione appaltante o ente concedente</h2>
<table>
<tr><th style="<?= $styles["th"] ?> text-align:center" colspan="2">Identit&agrave; del committente</th></tr>
<tr>
<th style="<?= $styles["th"] ?>" width="50%">
Denominazione Ufficiale:
</th>
<td width="50%">
<?= $dgue["cac:ContractingParty"]["cac:Party"]["cac:PartyName"]["cbc:Name"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>" width="50%">
Paese:
</th>
<td width="50%">
Italia
</td>
</tr>
<tr><th style="<?= $styles["th"] ?> text-align:center" colspan="2">Informazioni sulla procedura di appalto</th></tr>
<tr>
<th style="<?= $styles["th"] ?>" width="50%">
Titolo:
</th>
<td width="50%"><?= $dgue["cac:AdditionalDocumentReference"][1]["cac:Attachment"]["cac:ExternalReference"]["cbc:FileName"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>" width="50%">
Descrizione breve:
</th>
<td width="50%">
<?= $dgue["cac:AdditionalDocumentReference"][1]["cac:Attachment"]["cac:ExternalReference"]["cbc:Description"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>" width="50%">
Numero di riferimento attribuito al fascicolo dall'amministrazione aggiudicatrice o dall'ente aggiudicatore (se pertinente - es.: CIG, CUP):
</th>
<td width="50%">
<?
if (empty($dgue["cbc:ContractFolderID"]['$']) && isset($dgue["cbc:ContractFolderID"]) && !is_array($dgue["cbc:ContractFolderID"])) { $dgue["cbc:ContractFolderID"] = array('$'=>$dgue["cbc:ContractFolderID"]); }
echo $dgue["cbc:ContractFolderID"]['$'] ?? ""
?>
</td>
</tr>
</table>
<h2>Parte II: Informazioni sull'operatore economico</h2>
<table>
<tr>
<th style="<?= $styles["th"] ?> text-align:center;" colspan="4"><strong>A: Informazioni sull'operatore economico</strong></th>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Nome/denominazione:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PartyName"]["cbc:Name"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">E-mail:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:Contact"]["cbc:ElectronicMail"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Via e numero civico:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cbc:StreetName"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Telefono:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:Contact"]["cbc:Telephone"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">CAP:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cbc:Postbox"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Referente:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:Contact"]["cbc:Name"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Citt&agrave;:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cbc:CityName"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Partita IVA:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PartyIdentification"][0]["cbc:ID"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Paese:</th>
<td>
<?
if (empty($dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cac:Country"]["cbc:IdentificationCode"]['$']) && isset($dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cac:Country"]["cbc:IdentificationCode"]) && !is_array($dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cac:Country"]["cbc:IdentificationCode"])) { $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cac:Country"]["cbc:IdentificationCode"] = array('$'=> $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cac:Country"]["cbc:IdentificationCode"]); }
echo self::paesi()[$dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PostalAddress"]["cac:Country"]["cbc:IdentificationCode"]['$'] ?? ""] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Se non &egrave; applicabile un numero di partita IVA indicare un altro numero di identificazione nazionale, se richiesto e applicabile:</th>
<td>
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cac:PartyIdentification"][1]["cbc:ID"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Website:</th>
<td colspan="3">
<?= $dgue["espd-cac:EconomicOperatorParty"]["cac:Party"]["cbc:WebsiteURI"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>" colspan="3">
L'operatore economico &egrave; una microimpresa, oppure una piccola o media impresa?
</th>
<td>
<label for="espd[espd-cac:EconomicOperatorParty][espd-cbc:SMEIndicator]">Si</label>
[
<?= (!empty($dgue["espd-cac:EconomicOperatorParty"]["espd-cbc:SMEIndicator"]) && $dgue["espd-cac:EconomicOperatorParty"]["espd-cbc:SMEIndicator"]=="true") ? "X" : "&nbsp;&nbsp;&nbsp;"; ?>
]
&nbsp;
&nbsp;
<label for="espd[espd-cac:EconomicOperatorParty][espd-cbc:SMEIndicator]">No</label>
[<?= (!empty($dgue["espd-cac:EconomicOperatorParty"]["espd-cbc:SMEIndicator"]) && $dgue["espd-cac:EconomicOperatorParty"]["espd-cbc:SMEIndicator"]=="false") ? "X" : "&nbsp;&nbsp;&nbsp;"; ?>]
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?> text-align:center;" colspan="4"><strong>B: Informazioni sui rappresentanti dell'operatore economico<br>Soggetti di cui all'art. 94 c.3 del D.Lgs 36/2023</strong></th>
</tr>
<?
$check_array = array_keys($dgue["espd-cac:EconomicOperatorParty"]["espd-cac:RepresentativeNaturalPerson"] ?? []);
$create_array = true;
foreach($check_array AS $chiave) {
if (is_numeric($chiave)) { $create_array = false; }
}
if ($create_array) {
$tmp = $dgue["espd-cac:EconomicOperatorParty"]["espd-cac:RepresentativeNaturalPerson"] ?? "";
$dgue["espd-cac:EconomicOperatorParty"]["espd-cac:RepresentativeNaturalPerson"] = array($tmp);
}
foreach($dgue["espd-cac:EconomicOperatorParty"]["espd-cac:RepresentativeNaturalPerson"] AS $rappresentante) {
?>
<tr>
<th style="<?= $styles["th"] ?>">Nome</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cbc:FirstName"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Cognome</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cbc:FamilyName"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Data di nascita</th>
<td>
<?= mysql2date($rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cbc:BirthDate"] ?? "") ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Luogo di nascita</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cbc:BirthplaceName"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Via e numero civico:</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cbc:StreetName"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">E-mail:</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:Contact"]["cbc:ElectronicMail"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">CAP</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cbc:Postbox"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Telefono</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:Contact"]["cbc:Telephone"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Citt&agrave;</th>
<td>
<?= $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cbc:CityName"] ?? "" ?>
</td>
<th style="<?= $styles["th"] ?>">Posizione/Titolo ad agire:</th>
<td>
<?= $rappresentante["espd-cbc:NaturalPersonRoleDescription"] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>">Paese:</th>
<td colspan="3">
<?
if (empty($rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cac:Country"]["cbc:IdentificationCode"]['$']) && isset($rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cac:Country"]["cbc:IdentificationCode"]) && !is_array($rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cac:Country"]["cbc:IdentificationCode"])) { $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cac:Country"]["cbc:IdentificationCode"]= array('$'=> $rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cac:Country"]["cbc:IdentificationCode"]); }
echo self::paesi()[$rappresentante["cac:PowerOfAttorney"]["cac:AgentParty"]["cac:Person"]["cac:ResidenceAddress"]["cac:Country"]["cbc:IdentificationCode"]['$'] ?? ""] ?? "" ?>
</td>
</tr>
<tr>
<th style="<?= $styles["th"] ?>" colspan="2">
Se necessario, fornire precisazioni sulla rappresentanza (forma, portata, scopo, firma congiunta...):
</th>
<td colspan="2">
<?= $rappresentante["cac:PowerOfAttorney"]["cbc:Description"] ?? "" ?>
</td>
</tr>
<? } ?>
<tr>
<th style="<?= $styles["th"] ?>" colspan="2">
Se applicabile, indicare il lotto o i lotti per i quali si intende presentare offerta:
</th>
<td colspan="2">
<?= $dgue["cac:ProcurementProjectLot"]["cbc:ID"] ?? "" ?>
</td>
</tr>
</table>
<br pagebreak="true"/>
<?
self::printGroup($criteria,$dgue,"OTHER");
$all_satisfied = false;
if (!empty($dgue["ccv:Criterion"]["7e7db838-eeac-46d9-ab39-42927486f22d"]["ccv:RequirementGroup"]["ccv:Requirement"]["ccv:Response"]["ccv-cbc:Indicator"]) && ($dgue["ccv:Criterion"]["7e7db838-eeac-46d9-ab39-42927486f22d"]["ccv:RequirementGroup"]["ccv:Requirement"]["ccv:Response"]["ccv-cbc:Indicator"]=="true")) { $all_satisfied = true; }
foreach ($sezioni as $id => $titolo) {
?>
<h2><?= $titolo ?></h2>
<?
self::printGroup($criteria,$dgue,$id,$all_satisfied);
}
?><br><br>
<?
self::printGroup($criteria,$dgue,"OTHER_FINAL");
?>
<h2>Parte VI: Dichiarazioni Finali</h2>
<table width="100%">
<tr><td>
Il sottoscritto dichiara formalmente che le informazioni riportate nelle precedenti parti da II a V sono veritiere e corrette e che il sottoscritto &egrave; consapevole delle conseguenze di una grave falsa dichiarazione, ai sensi dell’articolo 76 del DPR 445/2000.<br>
Il sottoscritto autorizza formalmente <?= $dgue["cac:ContractingParty"]["cac:Party"]["cac:PartyName"]["cbc:Name"] ?? "" ?> ad accedere ai documenti complementari alle informazioni di cui ai punti del presente documento di gara unico europeo, ai fini della procedura <?= $dgue["cac:AdditionalDocumentReference"][1]["cac:Attachment"]["cac:ExternalReference"]["cbc:FileName"] ?? "" ?>.<br><br>
Data luogo e firma<br><br>
<br></td></tr>
</table>
</body>
</html>
<?
}
?>