#if ($!link != '#') #end

$!appname - $!bean.catalogT('appuntamento')

#if ($!visibile.appuntamento == true and $!bean.notEmpty($!schedaAppuntamento) )
#foreach ($!dettaglioB in $!schedaAppuntamento) #set( $dettaglioBH = $!stampa.stampaAppuntamento($!appuntamento, $!dettaglioB) ) #end
$!bean.catalogT('scheda') $!bean.catalogT('appuntamento')
$!stampa.catalogG($!dettaglioB) $dettaglioBH.valoreS
#end #if ($!visibile.appuntamento == true and $!bean.empty($!schedaAppuntamento) ) #if ($!nuovo) #else#end
$!bean.catalogT('scheda') $!bean.catalogT('appuntamento')
$!bean.catalogT('id')$!appuntamento.id$!appuntamento.id
$!bean.catalogT('data_creazione') $!sdf.format($!appuntamento.data_creazione)
$!bean.catalogT('data_appuntamento') $!data.format($!appuntamento.data_inizio)
$!bean.catalogT('ora_inizio') $!ora.format($!appuntamento.data_inizio)
$!bean.catalogT('ora_fine') $!ora.format($!appuntamento.data_fine)
$!bean.catalogT('confermato') #if ($!appuntamento.esito.confermato) $!bean.catalogT('si') #else $!bean.catalogT('no') #end
$!bean.catalogT('localizzazione') #if($!appuntamento.localizzazione) $!bean.catalogT('indirizzo_operativo') #else $!bean.catalogT('indirizzo_legale') #end
$!bean.catalogT('data_conferma') $!sdf.format($!appuntamento.data_conferma)
$!bean.catalogT('data_esito') $!sdf.format($!appuntamento.data_esito)
$!bean.catalogT('data_stato') $!sdf.format($!appuntamento.data_stato)
$!bean.catalogT('esito') $!bean.trim($!appuntamento.esito.etichettaCodice)
$!bean.catalogT('stato') $!bean.trim($!appuntamento.statoTesto)
$!bean.catalogT('operatore') $!bean.trim($!appuntamento.operatore.denominazione)
$!bean.catalogT('data_lavorazione') $!sdf.format($!appuntamento.data_lavorazione)
$!bean.catalogT('utente') $!bean.trim($!appuntamento.utente.denominazione)
$!bean.catalogT('nota') $!bean.trim($!appuntamento.note)
$!bean.catalogT('agente') $!bean.trim($!appuntamento.agente.denominazione)
#end #if ($!visibile.contatto == true and $!bean.notEmpty($!schedaContatto) )
#foreach ($!dettaglioD in $!schedaContatto) #set( $dettaglioDH = $!stampa.stampaContatto($!appuntamento.contatto, $!dettaglioD) ) #end
$!bean.catalogT('scheda') $!bean.catalogT('contatto')
$!stampa.catalogG($!dettaglioD) $dettaglioDH.valoreS
#end #if ($!visibile.contatto == true and $!bean.empty($!schedaContatto) )
$!bean.catalogT('scheda') $!bean.catalogT('contatto')
$!bean.catalogT('id') $!appuntamento.contatto.id
$!bean.catalogT('data_creazione') $!sdf.format($!appuntamento.contatto.data_creazione)
$!bean.catalogT('campagna') $!appuntamento.contatto.campagna.denominazione
$!bean.catalogT('lista') $!appuntamento.contatto.lista.denominazione
$!bean.catalogT('data_archiviazione') $!sdf.format($!appuntamento.contatto.data_archiviazione)
$!bean.catalogT('data_presentazione') $!sdf.format($!appuntamento.contatto.data_presentazione)
$!bean.catalogT('data_lavorazione') $!sdf.format($!appuntamento.contatto.data_lavorazione)
$!bean.catalogT('operatore') $!bean.trim($!appuntamento.contatto.utente.denominazione)
$!bean.catalogT('agente') $!bean.trim($!appuntamento.contatto.agente.denominazione)
$!bean.catalogT('proprietario') $!bean.trim($!appuntamento.contatto.proprietario.denominazione)
$!bean.catalogT('nota') $!bean.trim($!appuntamento.contatto.nota)
$!bean.catalogT('esito_chiamata') $!bean.trim($!appuntamento.contatto.esitoChiamata.etichettaCodice)
$!bean.catalogT('esito_archiviazione') $!bean.trim($!appuntamento.contatto.esitoArchiviazione.etichettaCodice)
$!bean.catalogT('chiuso') #if ($!appuntamento.contatto.archiviato) $!bean.catalogT('si') #else $!bean.catalogT('no') #end
$!bean.catalogT('tipo') $!appuntamento.contatto.tipoTesto
#end #if ($!visibile.anagrafica == true and $!bean.notEmpty($!schedaAnagrafica) )
#foreach ($!dettaglioA in $!schedaAnagrafica) #set( $dettaglioAH = $!stampa.stampaAnagrafica($!appuntamento.contatto.anagrafica, $!dettaglioA) ) #end
$!bean.catalogT('scheda') $!bean.catalogT('anagrafica')
$!stampa.catalogG($!dettaglioA) $dettaglioAH.valoreS
#end #if ($!visibile.anagrafica == true and $!bean.empty($!schedaAnagrafica) )
$!bean.catalogT('scheda') $!bean.catalogT('anagrafica')
$!bean.catalogT('id') $!appuntamento.contatto.anagrafica.id
$!bean.catalogT('data_creazione') $!sdf.format($!appuntamento.contatto.anagrafica.data_creazione)
$!bean.catalogT('cognome') $!bean.trim($!appuntamento.contatto.anagrafica.cognome)
$!bean.catalogT('nome') $!bean.trim($!appuntamento.contatto.anagrafica.nome)
$!bean.catalogT('nome_completo') $!bean.trim($!appuntamento.contatto.anagrafica.nome_completo)
$!bean.catalogT('ragione_sociale') $!bean.trim($!appuntamento.contatto.anagrafica.ragione_sociale)
$!bean.catalogT('partita_iva') $!bean.trim($!appuntamento.contatto.anagrafica.partita_iva)
$!bean.catalogT('codice_fiscale') $!bean.trim($!appuntamento.contatto.anagrafica.codice_fiscale)
$!bean.catalogT('luogo_nascita') $!bean.trim($!appuntamento.contatto.anagrafica.luogo_nascita)
$!bean.catalogT('data_nascita') $!data.format($!appuntamento.contatto.anagrafica.date_nascita)
$!bean.catalogT('telefono_fisso') $!bean.trim($!appuntamento.contatto.anagrafica.telefono_fisso)
$!bean.catalogT('telefono_mobile') $!bean.trim($!appuntamento.contatto.anagrafica.telefono_mobile)
$!bean.catalogT('telefono_fax') $!bean.trim($!appuntamento.contatto.anagrafica.telefono_fax)
$!bean.catalogT('telefono_altro') $!bean.trim($!appuntamento.contatto.anagrafica.telefono_altro)
$!bean.catalogT('email') $!bean.trim($!appuntamento.contatto.anagrafica.email)
$!bean.catalogT('link') $!bean.trim($!appuntamento.contatto.anagrafica.link)
$!bean.catalogT('tipo') $!bean.trim($!appuntamento.contatto.anagrafica.tipo)
$!bean.catalogT('sesso') $!bean.trim($!appuntamento.contatto.anagrafica.sesso)
$!bean.catalogT('settore') $!bean.trim($!appuntamento.contatto.anagrafica.settore)
$!bean.catalogT('nota') $!bean.trim($!appuntamento.contatto.anagrafica.nota)
#end #if ($!visibile.indirizzo_legale == true and $!bean.notEmpty($!schedaIndirizzoLegale) ) #foreach ($!dettaglioIL in $!schedaIndirizzoLegale) #set( $dettaglioILH = $!stampa.stampaIndirizzoLegale($!appuntamento.contatto.anagrafica.indirizzo_legale, $!dettaglioIL) ) #end
$!bean.catalogT('indirizzo_legale')
$!stampa.catalogG($!dettaglioIL) $dettaglioILH.valoreS
#end #if ($!visibile.indirizzo_legale == true and $!bean.empty($!schedaIndirizzoLegale) )
$!bean.catalogT('indirizzo_legale')
$!bean.catalogT('regione') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.regione)
$!bean.catalogT('provincia') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.provincia)
$!bean.catalogT('comune') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.comune)
$!bean.catalogT('cap') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.cap)
$!bean.catalogT('strada') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.strada)
$!bean.catalogT('civico') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.civico)
$!bean.catalogT('presso') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.presso)
$!bean.catalogT('dettagli') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.dettagli)
$!bean.catalogT('latitudine') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.latitudine)
$!bean.catalogT('longitudine') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_legale.longitudine)
#end #if ($!visibile.indirizzo_operativo == true and $!bean.notEmpty($!schedaIndirizzoOperativo) ) #foreach ($!dettaglioIO in $!schedaIndirizzoOperativo) #set( $dettaglioIOH = $!stampa.stampaIndirizzoOperativo($!appuntamento.contatto.anagrafica.indirizzo_operativo, $!dettaglioIO) ) #end
$!bean.catalogT('indirizzo_operativo')
$!stampa.catalogG($!dettaglioIO) $dettaglioIOH.valoreS
#end #if ($!visibile.indirizzo_operativo == true and $!bean.empty($!schedaIndirizzoOperativo) )
$!bean.catalogT('indirizzo_operativo')
$!bean.catalogT('regione') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.regione)
$!bean.catalogT('provincia') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.provincia)
$!bean.catalogT('comune') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.comune)
$!bean.catalogT('cap') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.cap)
$!bean.catalogT('strada') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.strada)
$!bean.catalogT('civico') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.civico)
$!bean.catalogT('presso') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.presso)
$!bean.catalogT('dettagli') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.dettagli)
$!bean.catalogT('latitudine') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.latitudine)
$!bean.catalogT('longitudine') $!bean.trim($!appuntamento.contatto.anagrafica.indirizzo_operativo.longitudine)
#end #if ($!visibile.consenso == true and $!bean.notEmpty($!schedaConsenso) )
#foreach ($!dettaglioCO in $!schedaConsenso) #set( $dettaglioCOH = $!stampa.stampaConsenso($!appuntamento.contatto.anagrafica, $!dettaglioCO) ) #end
$!bean.catalogT('consenso')
$!stampa.catalogG($!dettaglioCO) $dettaglioCOH.valoreS
#end #if ($!visibile.consenso == true and $!bean.empty($!schedaConsenso) )
$!bean.catalogT('consenso')
$!bean.catalogT('tfisso') $!appuntamento.contatto.anagrafica.consenso_tfissoS $!bean.catalogT('tmobile') $!appuntamento.contatto.anagrafica.consenso_tmobileS
$!bean.catalogT('tfax') $!appuntamento.contatto.anagrafica.consenso_tfaxS $!bean.catalogT('taltro') $!appuntamento.contatto.anagrafica.consenso_taltroS
$!bean.catalogT('email') $!appuntamento.contatto.anagrafica.consenso_emailS $!bean.catalogT('rmail') $!appuntamento.contatto.anagrafica.consenso_rmailS
#end #if ($!visibile.dati_anagrafica == true and $!bean.notEmpty($!dettagliAnagrafica))
#if ($!raggruppa == true) #foreach ($!dettAH in $!stampa.prepareGruppoList($!raggruppa, $!dettagliAnagrafica).entrySet()) #foreach ($!dettA in $!dettAH.value) #end #end #end #if ($!raggruppa != true) #foreach ($!dettA in $!dettagliAnagrafica) #end #end
$!bean.catalogT('anagrafica'): $!bean.catalogT('dati_aggiuntivi')
$!dettAH.key
$!bean.trim($!dettA.campo_aggiuntivo.etichettaS) $!bean.trim($!dettA.valore_formattato)
$!bean.trim($!dettA.campo_aggiuntivo.etichettaS) $!bean.trim($!dettA.valore_formattato)
#end #if ($!visibile.storia_appuntamento == true and $!bean.notEmpty($!storiaAppuntamento))
#foreach ($!record in $!storiaAppuntamento) #end
$!bean.catalogT('storia') $!bean.catalogT('appuntamento')
$!bean.catalogT('data') $!bean.catalogT('utente') $!bean.catalogT('esito') $!bean.catalogT('nota')
$!sds.format($!record.data) $!bean.trim($!record.utente.denominazione) $!bean.trim($!record.esito.etichettaCodice) $!bean.trim($!record.notaShort)
#end #if ($!visibile.storia_contatto == true and $!bean.notEmpty($!storiaContatto))
#foreach ($!record in $!storiaContatto) #end
$!bean.catalogT('storia') $!bean.catalogT('contatto')
$!bean.catalogT('data') $!bean.catalogT('operatore') $!bean.catalogT('esito_chiamata') $!bean.catalogT('esito_archiviazione') $!bean.catalogT('nota')
$!sds.format($!record.data) $!bean.trim($!record.operatore.denominazione) $!bean.trim($!record.esito.etichettaCodice) $!bean.trim($!record.archiviazione.etichettaCodice) $!bean.trim($!record.notaShort)
#end