GlisWeb framework
|
Vai al codice sorgente di questo file.
Variabili | |
$ct ['etc']['table'] = 'pratiche' | |
if(isset( $_SESSION['account']['id_anagrafica']) &&isset( $_REQUEST['pratiche']['id'])) | $ct ['etc']['id_sede_apertura'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM anagrafica_view WHERE se_azienda_gestita = 1' ) |
$ct ['etc']['id_tipologia'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM tipologie_pratiche_view' ) | |
$ct ['etc']['id_categoria_diritto'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM categorie_diritto_view' ) | |
$ct ['etc']['id_avvocato'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM anagrafica_view WHERE se_collaboratore = 1' ) | |
$ct ['etc']['id_provenienza'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM provenienze_contatti_view WHERE se_segnalato = 1' ) | |
$ct ['etc']['id_contatto'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM provenienze_contatti_view WHERE se_contatto = 1' ) | |
if(isset($_REQUEST['__preset__']['pratiche']['pratiche_assistiti'][0]['id_anagrafica'])) | else {$ct['etc']['id_assistito'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM anagrafica_view WHERE se_cliente = 1' ) |
if(isset( $_SESSION['account']['gruppo_sede'])) | $ct ['etc']['se_responsabile'] ='' |
$ct ['etc']['sino'] | |
if (isset( $_REQUEST[$ct[ 'etc'][ 'table']][ 'id']) &&isset($_SESSION[ 'account'][ 'id'])) | |
Definizione nel file _pratiche.gestione.php.