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.
349 righe
13 KiB
349 righe
13 KiB
<?php |
|
|
|
define("DATE_FORMAT_ITA", 1); |
|
define("DATE_FORMAT_ISO", 2); |
|
define("DATE_FORMAT_ITA_WITHOUT_SEP", 3); |
|
define("ATTIVA_NAVBAR", false); |
|
define("ATTIVA_MENUBAR", true); |
|
define("API_FIREBASE_KEY", ""); |
|
define("LINK_FIREBASE", "https://identitytoolkit.googleapis.com/v1/"); |
|
define("DATABASEURL", ""); |
|
define("AUTHDOMAIN", ""); |
|
define("PROJETCID", "sipars-auth"); |
|
define("STORAGEBUCKET", ""); |
|
define("MESSAGINGSENDERID", ""); |
|
define("APPID", ""); |
|
define("MEASURAMENTID", "G-VPE4MN1RTQ"); |
|
|
|
/* ERRORI METODO GOOGLE */ |
|
define("EMAIL_EXISTS", "Email già registrata"); |
|
define("OPERATION_NOT_ALLOWED", "Operazione non permessa"); |
|
define("TOO_MANY_ATTEMPTS_TRY_LATER", "Operazione bloccata a causa di diversi tentativi inusuali da questo dispositivo"); |
|
define("EMAIL_NOT_FOUND", "Email non presente"); |
|
define("INVALID_PASSWORD", "Password errata"); |
|
define("USER_DISABLED", "Utente Disabilitato"); |
|
define("INVALID_ID_TOKEN", "E' necessario rieseguire l'autenticazione al sistema"); |
|
define("USER_NOT_FOUND", "Utente non trovato"); |
|
define("WEAK_PASSWORD", "La password deve essere di almeno 6 caratteri"); |
|
define("KEY_AZIENDA", ""); |
|
define("PERCORSO_CONSENSO", "/modules/aziende/consenso.php"); |
|
define("CONTRIBUTO_MIN", 5000); |
|
define("CONTRIBUTO_MAX", 35000); |
|
define("PERCENTUALE", 40); |
|
define("MESI", 12); |
|
define("MESI_RIFERIMENTO", 2); |
|
define("REGIME_FORFETTARIO", 1); |
|
define("REGIME_ORDINARIO", 2); |
|
|
|
$CONTRIBUTO_UNATANTUM = array( |
|
"a" => array( |
|
"contributo" => 5000, |
|
"descrizione" => "una tantum pari a euro <b>5.000,00 (cinquemila/00)</b>, in quanto costituita dopo il 31/12/2018;" |
|
), |
|
"b" => array( |
|
"contributo" => 6000, |
|
"descrizione" => "una tantum pari a euro <b>6.000,00 (seimila/00)</b>, in quanto costituita prima del 01/01/2019, ed avendo optato per l’anno di imposta 2018 per il regime fiscale forfettario o dei minimi;" |
|
), |
|
"c" => array( |
|
"contributo" => 5000, |
|
"descrizione" => "una tantum pari a euro <b>5.000,00 (cinquemila/00)</b>, in quanto costituita prima del |
|
01/01/2019, ed avendo optato per l'anno di imposta 2018 per il regime fiscale ordinario o semplificato ed |
|
euro <b>{_CONTR_CALCOLATO_}</b> <b>({_CONTR_CALCOLATO_TXT_})</b> corrispondente al <b>" . PERCENTUALE . "%</b> del fatturato medio di due mesi (periodo standard |
|
di chiusura delle attività), calcolato sulla base del fatturato/volume d'affari anno 2018, |
|
come da dichiarazione IVA (anno 2018);" |
|
) |
|
); |
|
|
|
$RUOLI = array( |
|
1 => "AMMINISTRATORE", |
|
2 => "UTENTE" |
|
); |
|
|
|
$NAVITEMS = array( |
|
0 => array( |
|
"id" => "DASHBOARD", |
|
"text" => "Dashboard", |
|
"description" => "La tua Dashboard", |
|
"icon" => "bi bi-house-door-fill", |
|
"url" => "dashboard", |
|
"handler" => "" |
|
), |
|
1 => array( |
|
"id" => "DASHBOARD2", |
|
"text" => "I miei dati", |
|
"description" => "Dati anagrafici", |
|
"icon" => "dashboard", |
|
"url" => "dashboard", |
|
"handler" => "" |
|
), |
|
2 => array( |
|
"id" => "LOGS", |
|
"text" => "Logs", |
|
"description" => "Elenco dei logs", |
|
"icon" => "logs", |
|
"url" => BASE_HTTP . "modules/logs/logs.php", |
|
"handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/logs/logs.php" . "')" |
|
), |
|
); |
|
|
|
//$MENUITEMS[] = array( |
|
// "id" => "DASHBOARD", |
|
// "text" => "Dashboard", |
|
// "description" => "La tua Dashboard", |
|
// "icon" => "fas fa-tachometer-alt", |
|
// "url" => BASE_HTTP . "dashboard.php", |
|
// "handler" => "" |
|
// ); |
|
$MENUITEMS[] = array( |
|
"id" => "MYAZIENDE", |
|
"text" => "Accesso", |
|
"description" => "Elenco delle aziende per le quali si esercita la legale rappresentanza", |
|
"icon" => "fas fa-industry", |
|
"url" => BASE_HTTP . "modules/aziende/aziende.php", |
|
"handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/aziende.php" . "')" |
|
); |
|
|
|
|
|
$MENUITEMS[] = array( |
|
"id" => "MYISTANCE", |
|
"text" => "Le mie istanze", |
|
"description" => "Elenco istanze", |
|
"icon" => "fas fa-list", |
|
"url" => BASE_HTTP . "modules/aziende/istanze.php", |
|
"handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/istanze.php" . "')" |
|
); |
|
//$MENUITEMS[] =array( |
|
// "id" => "DOMANDE", |
|
// "text" => "Gestione istanze", |
|
// "description" => "Elenco delle istanze presentate o in fase di completamento", |
|
// "icon" => "fas fa-hand-holding-usd", |
|
// "url" => BASE_HTTP . "modules/aziende/domande.php", |
|
// //"handler" => "" |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/domande.php" . "')" |
|
// ); |
|
//$MENUITEMS[] = array( |
|
// "id" => "SPORTELLO", |
|
// "text" => "Invio Istanza", |
|
// "description" => "Elenco delle istanze preparate", |
|
// "icon" => "fas fa-hand-holding-usd", |
|
// "url" => BASE_HTTP . "modules/aziende/sportello.php", |
|
// "handler" => "" |
|
// //"handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/sportello.php" . "')" |
|
// ); |
|
//$MENUITEMS[] = array( |
|
// "id" => "F.A.Q.", |
|
// "text" => "F.a.q.", |
|
// "description" => "Elenco delle F.A.Q.", |
|
// "icon" => "fas fa-tasks", |
|
// "url" => BASE_HTTP . "modules/aziende/faq.php", |
|
// //"url" => BASE_HTTP . "faq.php", |
|
// //"handler" => "" |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/faq.php" . "')" |
|
//); |
|
/* |
|
$MENUITEMS[] = array( |
|
"id" => "NEWS", |
|
"text" => "News", |
|
"description" => "Elenco delle News", |
|
"icon" => "fas fa-newspaper", |
|
"url" => BASE_HTTP . "modules/aziende/faq.php", |
|
"handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/news.php" . "')" |
|
); */ |
|
$MENUITEMS[] = array( |
|
"id" => "LOGOUT", |
|
"text" => "Esci", |
|
"description" => "Esci dal sistema", |
|
"icon" => "fas fa-sign-out-alt", |
|
"url" => BASE_HTTP . "logout.php", |
|
"handler" => "" |
|
); |
|
|
|
//$MENUITEMS = array( |
|
// 0 => array( |
|
// "id" => "DASHBOARD", |
|
// "text" => "Dashboard", |
|
// "description" => "La tua Dashboard", |
|
// "icon" => "fas fa-tachometer-alt", |
|
// "url" => BASE_HTTP . "index.php", |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "dashboard.php" . "')" |
|
// ), |
|
// 1 => array( |
|
// "id" => "MYAZIENDE", |
|
// "text" => "Le mie aziende", |
|
// "description" => "Elenco delle aziende che fanno capo al codicefiscale", |
|
// "icon" => "fas fa-industry", |
|
// "url" => BASE_HTTP . "modules/aziende/aziende.php", |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/aziende.php" . "')" |
|
// ), |
|
// 2 => array( |
|
// "id" => "DOMANDE", |
|
// "text" => "Le mie domande", |
|
// "description" => "Elenco delle domande presentate o in fase di completamento", |
|
// "icon" => "fas fa-hand-holding-usd", |
|
// "url" => BASE_HTTP . "modules/aziende/domande.php", |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/domande.php" . "')" |
|
// ), |
|
// 3 => array( |
|
// "id" => "SPORTELLO", |
|
// "text" => "ClickDay", |
|
// "description" => "Elenco delle domande Completate", |
|
// "icon" => "fas fa-hand-holding-usd", |
|
// "url" => BASE_HTTP . "modules/aziende/sportello.php", |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/sportello.php" . "')" |
|
// ), |
|
// 4 => array( |
|
// "id" => "F.A.Q.", |
|
// "text" => "F.a.q.", |
|
// "description" => "Elenco delle F.A.Q.", |
|
// "icon" => "fas fa-tasks", |
|
// "url" => BASE_HTTP . "modules/aziende/faq.php", |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/faq.php" . "')" |
|
// ), |
|
// 5 => array( |
|
// "id" => "NEWS", |
|
// "text" => "News", |
|
// "description" => "Elenco delle News", |
|
// "icon" => "fas fa-newspaper", |
|
// "url" => BASE_HTTP . "modules/aziende/faq.php", |
|
// "handler" => "javascript:checkViewConsent('" . BASE_HTTP . "modules/aziende/news.php" . "')" |
|
// ), |
|
// 6 => array( |
|
// "id" => "LOGOUT", |
|
// "text" => "Esci", |
|
// "description" => "Esci dal sistema", |
|
// "icon" => "fas fa-sign-out-alt", |
|
// "url" => BASE_HTTP . "logout.php", |
|
// "handler" => "" |
|
// ) |
|
//); |
|
$PROVINCE_SICILIA = array( |
|
'PA' => array("sigla" => "PA", "nome" => "PALERMO"), |
|
'AG' => array("sigla" => "AG", "nome" => "AGRIGENTO"), |
|
'TP' => array("sigla" => "TP", "nome" => "TRAPANI"), |
|
'CT' => array("sigla" => "CT", "nome" => "CATANIA"), |
|
'CL' => array("sigla" => "CL", "nome" => "CALTANISSETTA"), |
|
'EN' => array("sigla" => "EN", "nome" => "ENNA"), |
|
'ME' => array("sigla" => "ME", "nome" => "MESSINA"), |
|
'RG' => array("sigla" => "RG", "nome" => "RAGUSA"), |
|
'SR' => array("sigla" => "SR", "nome" => "SIRACUSA") |
|
); |
|
|
|
$CATEGORIE_FAQ = array( |
|
1 => "Generale", |
|
2 => "Procedura Amministrativa", |
|
3 => "Piattaforma Informatica" |
|
); |
|
$COLORCATEGORIA = array( |
|
1 => "bg-info text-white", |
|
2 => "bg-warning", |
|
3 => "bg-success" |
|
); |
|
|
|
/* |
|
##################################################################################### |
|
## ATTRIBUTO CHE IDENTIFICA SU QUALE OGGETTO APPLICARE I CONTROLLI DEI PERMESSI ## |
|
##################################################################################### |
|
*/ |
|
define('RELPREPARADOMANDA', "siparsPreparaDomanda"); |
|
define('RELDCLICKDAY', "siparsClickDay"); |
|
|
|
|
|
/* |
|
##################################################################################### |
|
## ELENCO DEGLI STATI DELLA DOMANDA ## |
|
##################################################################################### |
|
*/ |
|
//$STATI_DOMANDA = array( |
|
// 0 => "IN PREPARAZIONE", |
|
// 1 => "PREPARATA", |
|
// 2 => "PRESENTATA", |
|
// 3 => "AMMESSA AD AGEVOLAZIONE", |
|
// 4 => "NON AMMESSA AD AGEVOLAZIONE", |
|
// 5 => "CHIUSA" |
|
//); |
|
$STATI_DOMANDA = array( |
|
1 => "IN PREPARAZIONE", |
|
2 => "PRESENTATA" |
|
); |
|
|
|
$CATEGORIE_NEWS = array( |
|
1 => "Generiche", |
|
2 => "Covid-19" |
|
); |
|
|
|
/** |
|
* CONFIFURAZIONI SPID |
|
*/ |
|
define('DOMINIO_SPID', 'https://incentivi.regione.sicilia.it/spid/login-spid.php?ReturnTo=' . RETURNTOSPID . '&idp='); |
|
|
|
define('SPID_TIM', 'TI Trust Technologies srl'); |
|
define('SPID_INFOCERT', 'InfoCert S.p.A.'); |
|
define('SPID_POSTE', 'Poste Italiane SpA'); |
|
define('SPID_SIELTE', 'Sielte S.p.A.'); |
|
define('SPID_INTESA', 'IN.TE.S.A. S.p.A.'); |
|
define('SPID_SPIDITALIA', 'Register.it S.p.A.'); |
|
define('SPID_LEPIDA', 'Lepida S.p.A.'); |
|
define('SPID_NAMIRIAL', 'Namirial'); |
|
define('SPID_ARUBA', 'ArubaPEC S.p.A.'); |
|
define('SPID_TEST', 'TEST'); |
|
define('SPID_VALIDATOR', 'VALIDATOR'); |
|
############################################# |
|
|
|
$REGIME_FISCALE = array( |
|
REGIME_ORDINARIO => "ORDINARIO O SEMPLIFICATO", |
|
REGIME_FORFETTARIO => "FORFETTARIO O DEI MINIMI" |
|
); |
|
|
|
define('FASE_PROTOCOLLO_SOTTOMISSIONE', 1); |
|
define('FASE_PROTOCOLLO_ADESIONE', 3); |
|
define('FASE_PROTOCOLLO_EROGAZIONE', 2); |
|
$FASE_PROTOCOLLO_DOMANDA_TXT = array( |
|
FASE_PROTOCOLLO_SOTTOMISSIONE => "SOTTOMISSIONE", |
|
FASE_PROTOCOLLO_EROGAZIONE => "EROGAZIONE", |
|
FASE_PROTOCOLLO_ADESIONE => "ADESIONE" |
|
); |
|
|
|
$CAMBIO_ISTITUTO = array( |
|
1 => "SI", |
|
2 => "NO" |
|
); |
|
define('ATECO_ALBERGHI', '551'); |
|
|
|
define('STATO_ATTIVITA_IMPRESA_CUSTOM', 'A'); /// Visura impresa custom |
|
define('DDG_NUMERO', '2198'); /// NUMERO D.D.G. ALLEGATI |
|
define('DDG_DATA', '02/11/2020'); /// DATA D.D.G. ALLEGATI |
|
|
|
define("MAX_ADDETTI_DICHIARATI", '9.99'); // MASSIMO ADDETTI U.L.A. (Allegato 1 Reg. UE 651/2014)* |
|
define("MAX_FATTURATO_ULTIMO", '2000000'); // MASSIMO Fatturato/Volume d'affari (Allegato 1 Reg. UE 651/2014)* |
|
|
|
/* DATE AVVISO E STATO SPORTELLO */ |
|
define("DATA_MANUTENZIONE_INIZIO", '03-10-2020 11:00:00'); |
|
define("DATA_MANUTENZIONE_FINE", '12-10-2020 17:45:00'); |
|
define("DATA_PREPARAZIONE_INIZIO", '02-11-2020 12:00:00'); |
|
define("DATA_PREPARAZIONE_FINE", '06-11-2020 11:00:59'); |
|
define("DATA_ATTESTATI_INIZIO", '21-11-2020 12:00:00'); |
|
define("DATA_ATTESTATI_FINE", '30-12-2020 11:59:59'); |
|
|
|
/* |
|
* Fine nuova data preparazione |
|
*/ |
|
define("SPORTELLO_MANUTENZIONE", 1); |
|
define("SPORTELLO_PREPARAZIONE", 2) ; |
|
define("SPORTELLO_PREPARAZIONE_PRE", 3) ; |
|
define("SPORTELLO_PRESENTAZIONE_PRE", 4) ; |
|
define("SPORTELLO_PRESENTAZIONE", 5) ; |
|
define("SPORTELLO_PRESENTAZIONE_POST", 6); |
|
|
|
|
|
|
|
$array_regolarita = array( |
|
0 => "Di essere in posizione di regolarità contributiva nei confronti di INPS, INAIL o Cassa Edile (1)", |
|
// 1 => "L'impresa non è soggetta ad obbligo del DURC per le seguente motivazione:" |
|
1 => "Di non essere in grado di attestare la propria posizione di regolarità contributiva nei confronti di INPS, INAIL e Cassa Edile in quanto l'impresa non è soggetta all'obbligo di iscrizione ad INPS/INAIL/Cassa Edile per la seguente motivazione (specificare, pena inammissibilità della domanda):" |
|
); |
|
/** |
|
* |
|
* Array di definizione delle checkbox delle regolarità contributive della richiesta di adesione |
|
*/ |
|
define("REGOLARITA", $array_regolarita); |
|
define("MSGCHIUSURAMODAL", "Gentile utente, le comunichiamo che confermando il caricamento e l'invio, non sarà più possibile apportare modifiche alla dichiarazione.");
|
|
|