UPDATE`zz_views`INNERJOIN`zz_modules`ON`zz_views`.`id_module`=`zz_modules`.`id`SET`zz_views`.`query`='IF(emails IS NOT NULL, \'fafa-envelopetext-success\', \'\')'WHERE`zz_modules`.`name`='Scadenzario'AND`zz_views`.`name`='icon_Inviato';
UPDATE`zz_views`INNERJOIN`zz_modules`ON`zz_views`.`id_module`=`zz_modules`.`id`SET`zz_views`.`query`='IF(emails IS NOT NULL, \'Inviataviaemail\', \'\')'WHERE`zz_modules`.`name`='Scadenzario'AND`zz_views`.`name`='icon_title_Inviato';
INSERTINTO`zz_prints`(`id`,`id_module`,`is_record`,`name`,`title`,`filename`,`directory`,`previous`,`options`,`icon`,`version`,`compatibility`,`order`,`predefined`,`default`,`enabled`)VALUES(NULL,(SELECT`id`FROM`zz_modules`WHERE`name`='Ddt di acquisto'),'1','Ddt di acquisto','Ddt in entrata','DDT num. {numero} del {data}','ddt','idddt','{\"pricing\":true}','fa fa-print','','','0','1','1','1');
(NULL,'Stampa calendario settimanale','print',(SELECTidFROMzz_modulesWHEREname='Dashboard'),'controller_top',NULL,NULL,'#4ccc4c','fa fa-print','','./modules/dashboard/widgets/stampa_calendario_settimanale.dashboard.php','popup','','Stampa calendario settimanale',1,7,NULL);
(NULL,(SELECTidFROMzz_modulesWHEREname='Dashboard'),1,'Stampa calendario settimanale','Stampa calendario settimanale','Calendario settimanale','dashboard_settimanale','','','fa fa-print','','',0,1,1,1,NULL);