. */ include_once __DIR__.'/../../core.php'; $id_anagrafica = !empty(get('idanagrafica')) ? get('idanagrafica') : ''; $stati = get('pianificabile') ? 'SELECT id, descrizione FROM co_statipreventivi WHERE is_pianificabile=1' : 'SELECT id, descrizione FROM co_statipreventivi'; ?>
{[ "type": "text", "label": "", "name": "nome", "required": 1 ]}
{[ "type": "select", "label": "", "name": "idanagrafica", "required": 1, "value": "", "ajax-source": "clienti", "icon-after": "add||tipoanagrafica=Cliente&readonly_tipo=1", "readonly": "" ]}
{[ "type": "select", "label": "", "name": "idsede", "ajax-source": "sedi", "placeholder": "Sede legale" ]}
{[ "type": "date", "label": "", "name": "data_bozza", "value": "", "required": 1 ]}
{[ "type": "select", "label": "", "name": "id_segment", "required": 1, "ajax-source": "segmenti", "select-options": $id_module, 'is_sezionale' => 1]); ?>, "value": "" ]}
{[ "type": "select", "label": "", "name": "idtipointervento", "required": 1, "values": "query=SELECT idtipointervento AS id, descrizione FROM in_tipiintervento" ]}
{[ "type": "select", "label": "", "name": "idstato", "required": 1, "values": "query=" ]}