Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/dashboard/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@
end_time: "'.((setting('Ora fine sul calendario') != '00:00:00' && !empty(setting('Ora fine sul calendario'))) ? setting('Ora fine sul calendario') : '23:59:59').'",
write_permission: '.intval($modulo_interventi->permission == 'rw').',
tooltip: '.intval(setting('Utilizzare i tooltip sul calendario')).',
tooltip_delay: '.intval(setting('Ritardo apertura tooltip dashboard (ms)')).',
calendar: null,
timeFormat: "H:mm",
select: {
Expand Down Expand Up @@ -760,7 +761,7 @@ function create_calendar() {
contentAsHTML: true,
hideOnClick: true,
speed: 200,
delay: 300,
delay: globals.dashboard.tooltip_delay,
maxWidth: 400,
theme: "tooltipster-shadow",
touchDevices: true,
Expand Down
10 changes: 9 additions & 1 deletion update/2_11.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,12 @@ ALTER TABLE `co_righe_contratti` ADD `id_tipointervento` INT(11) NULL;
ALTER TABLE `co_contratti_tipiintervento` ADD `is_abilitato` TINYINT(1) NOT NULL DEFAULT 1;

-- Aggiunta gestione per conto di in scheda anagrafica
ALTER TABLE `an_anagrafiche` ADD `idclientefinale` INT NOT NULL AFTER `idanagrafica`;
ALTER TABLE `an_anagrafiche` ADD `idclientefinale` INT NOT NULL AFTER `idanagrafica`;

-- Aggiunta impostazione per il ritardo di apertura dei tooltip sulla Dashboard
INSERT INTO `zz_settings` (`nome`, `valore`, `tipo`, `editable`, `sezione`) VALUES
('Ritardo apertura tooltip dashboard (ms)', '300', 'integer', 1, 'Dashboard');

INSERT INTO `zz_settings_lang` (`id_lang`, `id_record`, `title`, `help`) VALUES
(1, (SELECT MAX(`id`) FROM `zz_settings`), 'Ritardo apertura tooltip dashboard (ms)', 'Definisce il ritardo in millisecondi prima che il tooltip venga mostrato al passaggio del mouse sugli eventi del calendario nella Dashboard.'),
(2, (SELECT MAX(`id`) FROM `zz_settings`), 'Dashboard tooltip opening delay (ms)', 'Defines the delay in milliseconds before the tooltip is shown when hovering over calendar events in the Dashboard.');
Loading