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.
129 righe
3.8 KiB
129 righe
3.8 KiB
<? |
|
Class publicAlboFornitori extends publicElenchi { |
|
|
|
|
|
|
|
public function getBreadcrumb() { |
|
$return = []; |
|
switch($this->info["tipologia"]) { |
|
case "I": |
|
$return["label"] = __("Indagini di mercato ante 31/12/2023"); |
|
$return["url"] = "/archivio_indagini/index.php"; |
|
break; |
|
case "S": |
|
$return["label"] = __("S.D.A."); |
|
$return["url"] = "/archivio_sda/index.php"; |
|
break; |
|
case "M": |
|
$return["label"] = __("Mercato elettronico"); |
|
$return["url"] = "/archivio_mercato/index.php"; |
|
break; |
|
case "P": |
|
$return["label"] = __("Albi professionisti"); |
|
$return["url"] = "/archivio_professionisti/index.php"; |
|
break; |
|
default: |
|
$return["label"] = __("Albi fornitori"); |
|
$return["url"] = "/archivio_albo/index.php"; |
|
break; |
|
} |
|
return $return; |
|
} |
|
|
|
public static function refPartecipante() { |
|
return AlboFornitori::refPartecipante(); |
|
} |
|
|
|
public static function getDirectory() { |
|
return AlboFornitori::getDirectory(); |
|
} |
|
|
|
public static function getMainTable() { |
|
return AlboFornitori::getMainTable(); |
|
} |
|
|
|
public static function getModulo() { |
|
return AlboFornitori::getModulo(); |
|
} |
|
|
|
public static function getOeTable() { |
|
return AlboFornitori::getOeTable(); |
|
} |
|
|
|
public static function getRichiesteTable() { |
|
return AlboFornitori::getRichiesteTable(); |
|
} |
|
|
|
public static function getFormTable() { |
|
return AlboFornitori::getFormTable(); |
|
} |
|
|
|
public static function getCpvTable() { |
|
return AlboFornitori::getCpvTable(); |
|
} |
|
|
|
public static function getChiarimentiTable() { |
|
return AlboFornitori::getChiarimentiTable(); |
|
} |
|
|
|
public static function getSopralluogoTable() { |
|
return AlboFornitori::getSopralluogoTable(); |
|
} |
|
|
|
public static function getBusteTable() { |
|
return AlboFornitori::getBusteTable(); |
|
} |
|
|
|
public static function getTipologie() { |
|
return AlboFornitori::getTipologie(); |
|
} |
|
|
|
public static function init($codice) { |
|
return parent::initInstance($codice,"publicAlboFornitori"); |
|
} |
|
|
|
public static function tipologieShowPartecipanti() { |
|
return AlboFornitori::tipologieShowPartecipanti(); |
|
} |
|
|
|
public function getHubData() { |
|
if ($this->info['pubblica'] > 0) { |
|
|
|
$extraInfo = $this->getExtraInfo(); |
|
$return = [ |
|
'b_hub_centrale' => [ |
|
'codice_gestore'=> $_SESSION["ente"]->codice, |
|
'codice_ente'=> $this->info["codice_ente"], |
|
'codice_interno'=> $this->info["codice"], |
|
'stato'=> $this->info["stato"], |
|
'pubblica'=> $this->info["pubblica"], |
|
'invito'=> "N", |
|
'ambito'=> "albo_fornitori", |
|
'lotti'=> 1, |
|
'oggetto'=> $this->info["oggetto"], |
|
'url'=> "https://{$_SESSION["ente"]->getInfo()["dominio"]}/albo_fornitori/dettaglio.php?codice={$this->info["codice"]}", |
|
'procedura'=> "elenco", |
|
'tipologia'=> $this->info["tipologia"], |
|
'pubblicazione'=> mysql2datetime($this->info["pubblicazione"]), |
|
'scadenza'=> mysql2datetime($this->info["scadenza"]), |
|
'chiarimenti'=> mysql2datetime($this->info["chiarimenti"]), |
|
'apertura'=> mysql2datetime($this->info["apertura"]), |
|
'importo'=> "", |
|
'nuts'=> "", |
|
] |
|
]; |
|
|
|
$cpv = $this->getCategorieMerceologiche(); |
|
if (!empty($cpv)) { |
|
$return['r_hub_cpv'] = []; |
|
foreach($cpv AS $categoria) { |
|
$return['r_hub_cpv'][] = [ |
|
'codice' => $categoria, |
|
]; |
|
} |
|
} |
|
return $return; |
|
} |
|
} |
|
} |
|
?>
|