diff --git a/actions.php b/actions.php index 6742806af..b69535026 100755 --- a/actions.php +++ b/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/add.php b/add.php index d1a4dcceb..7535b9eb6 100755 --- a/add.php +++ b/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/ajax.php b/ajax.php index 0bc8fa6e4..02aeac754 100755 --- a/ajax.php +++ b/ajax.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/ajax_complete.php b/ajax_complete.php index d17e7a6f0..d2a6acde7 100755 --- a/ajax_complete.php +++ b/ajax_complete.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/ajax_dataload.php b/ajax_dataload.php index 2e6d0ddb5..3d8a45e04 100755 --- a/ajax_dataload.php +++ b/ajax_dataload.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/ajax_search.php b/ajax_search.php index 2ea553d61..6d51ab56f 100755 --- a/ajax_search.php +++ b/ajax_search.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/ajax_select.php b/ajax_select.php index ec73fca60..166fc9e29 100755 --- a/ajax_select.php +++ b/ajax_select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/api/index.php b/api/index.php index 8b8a4dcbe..241ed1546 100755 --- a/api/index.php +++ b/api/index.php @@ -1,4 +1,21 @@ . + */ use API\Response; diff --git a/assets/src/css/datatables.css b/assets/src/css/datatables.css index 7f763ddca..83d624f65 100755 --- a/assets/src/css/datatables.css +++ b/assets/src/css/datatables.css @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + /*! * DataTables + Font Awesome integration * License: MIT - http://datatables.net/license diff --git a/assets/src/css/print/print.css b/assets/src/css/print/print.css index e2fe78e77..047689034 100755 --- a/assets/src/css/print/print.css +++ b/assets/src/css/print/print.css @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + input, button, .btn, diff --git a/assets/src/css/style.css b/assets/src/css/style.css index 0921cbc13..85e8e9dda 100755 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + *:focus { outline: none; } diff --git a/assets/src/css/themes/default.css b/assets/src/css/themes/default.css index ca62fd15d..dd9b8d8e0 100755 --- a/assets/src/css/themes/default.css +++ b/assets/src/css/themes/default.css @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + .skin-default .wrapper, .skin-default .main-sidebar, .skin-default .left-side { diff --git a/assets/src/js/base/custom.js b/assets/src/js/base/custom.js index ecf466cda..b1d4af3c7 100644 --- a/assets/src/js/base/custom.js +++ b/assets/src/js/base/custom.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Aggiunta dell'ingranaggio all'unload della pagina $(window).on("beforeunload", function () { $("#main_loading").show(); diff --git a/assets/src/js/base/datatables-buttons.js b/assets/src/js/base/datatables-buttons.js index b2897c186..5a1048abb 100644 --- a/assets/src/js/base/datatables-buttons.js +++ b/assets/src/js/base/datatables-buttons.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + $(document).ready(function () { // Pulsanti di Datatables $(".btn-csv").off("click").on("click", function (e) { diff --git a/assets/src/js/base/navigation.js b/assets/src/js/base/navigation.js index 164e17aef..c4d3f6dcb 100644 --- a/assets/src/js/base/navigation.js +++ b/assets/src/js/base/navigation.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + $(document).ready(function () { // Tabs $('.nav-tabs').tabs(); diff --git a/assets/src/js/base/sidebar.js b/assets/src/js/base/sidebar.js index 8c5ae6f29..092144e40 100644 --- a/assets/src/js/base/sidebar.js +++ b/assets/src/js/base/sidebar.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + $(document).ready(function () { // Fix per il menu principale $('.sidebar-menu').tree({ diff --git a/assets/src/js/base/slider.js b/assets/src/js/base/slider.js index 56662cfce..2317504c0 100644 --- a/assets/src/js/base/slider.js +++ b/assets/src/js/base/slider.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + $(document).ready(function () { // Pulsante per il ritorno a inizio pagina var slideToTop = $("
"); diff --git a/assets/src/js/base/supersearch.js b/assets/src/js/base/supersearch.js index 6622b9232..3f7969ecd 100644 --- a/assets/src/js/base/supersearch.js +++ b/assets/src/js/base/supersearch.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + $(document).ready(function () { $('#supersearch').keyup(function () { $(document).ajaxStop(); diff --git a/assets/src/js/base/widgets.js b/assets/src/js/base/widgets.js index 8b06adfff..28345a2e4 100644 --- a/assets/src/js/base/widgets.js +++ b/assets/src/js/base/widgets.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + $(document).ready(function () { $("#widget-top, #widget-right").sortable({ items: 'li', diff --git a/assets/src/js/functions/datatables.js b/assets/src/js/functions/datatables.js index ab52acf17..cdbbb9ba3 100755 --- a/assets/src/js/functions/datatables.js +++ b/assets/src/js/functions/datatables.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + function start_local_datatables() { $('.datatables').each(function () { if (!$.fn.DataTable.isDataTable($(this))) { diff --git a/assets/src/js/functions/dates.js b/assets/src/js/functions/dates.js index a169c4e43..d980515c7 100755 --- a/assets/src/js/functions/dates.js +++ b/assets/src/js/functions/dates.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + function start_datepickers() { var icons = { time: 'fa fa-clock-o', diff --git a/assets/src/js/functions/functions.js b/assets/src/js/functions/functions.js index 45d0e8a3c..b401d10c1 100755 --- a/assets/src/js/functions/functions.js +++ b/assets/src/js/functions/functions.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Modal function launch_modal(title, href, init_modal) { openModal(title, href); diff --git a/assets/src/js/functions/hooks.js b/assets/src/js/functions/hooks.js index 06e5384df..aca744e66 100755 --- a/assets/src/js/functions/hooks.js +++ b/assets/src/js/functions/hooks.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + /** * */ diff --git a/assets/src/js/functions/init.js b/assets/src/js/functions/init.js index bb68998e4..a96172882 100755 --- a/assets/src/js/functions/init.js +++ b/assets/src/js/functions/init.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + function init() { // Inizializzazzione dei box AdminLTE $('.box').boxWidget(); diff --git a/assets/src/js/functions/input.js b/assets/src/js/functions/input.js index 1f5ef5d9e..134df50f1 100644 --- a/assets/src/js/functions/input.js +++ b/assets/src/js/functions/input.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + function input(name) { return new Input(name); } diff --git a/assets/src/js/functions/inputmask.js b/assets/src/js/functions/inputmask.js index 1dced6cba..cb4272c4f 100644 --- a/assets/src/js/functions/inputmask.js +++ b/assets/src/js/functions/inputmask.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Inputmask function start_inputmask(element) { if (element == undefined) { diff --git a/assets/src/js/functions/moment.js b/assets/src/js/functions/moment.js index 9fec6b178..41cfee235 100755 --- a/assets/src/js/functions/moment.js +++ b/assets/src/js/functions/moment.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + function dateFormatMoment(format) { /* * PHP => moment.js diff --git a/assets/src/js/functions/prototypes.js b/assets/src/js/functions/prototypes.js index 3f248c0d8..85390394f 100755 --- a/assets/src/js/functions/prototypes.js +++ b/assets/src/js/functions/prototypes.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + Number.prototype.formatMoney = function (c, d, t) { var n = this, c = isNaN(c = Math.abs(c)) ? 2 : c, diff --git a/assets/src/js/functions/select.js b/assets/src/js/functions/select.js index 20b7ab480..9887ba781 100755 --- a/assets/src/js/functions/select.js +++ b/assets/src/js/functions/select.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Select function start_superselect() { // Statico diff --git a/bug.php b/bug.php index 8d62f8733..4001192f8 100755 --- a/bug.php +++ b/bug.php @@ -1,4 +1,21 @@ . + */ use Modules\Emails\Account; use Notifications\EmailNotification; diff --git a/config.example.php b/config.example.php index bdb75c15b..d40678c78 100755 --- a/config.example.php +++ b/config.example.php @@ -1,4 +1,21 @@ . + */ // Impostazioni di base per l'accesso al database $db_host = '|host|'; diff --git a/config/csrf_config.php b/config/csrf_config.php index 12863e391..06ae5d5f7 100755 --- a/config/csrf_config.php +++ b/config/csrf_config.php @@ -1,4 +1,21 @@ . + */ /** * Configuration file for CSRF Protector. diff --git a/config/namespaces.php b/config/namespaces.php index 9ec080c3e..4730efc04 100755 --- a/config/namespaces.php +++ b/config/namespaces.php @@ -1,4 +1,21 @@ . + */ return [ 'include' => 'Common', diff --git a/controller.php b/controller.php index 8e7eca0e3..b01b0f843 100755 --- a/controller.php +++ b/controller.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/core.php b/core.php index c2945a14f..50685b13e 100755 --- a/core.php +++ b/core.php @@ -1,4 +1,21 @@ . + */ // Rimozione header X-Powered-By header_remove('X-Powered-By'); diff --git a/cron.php b/cron.php index fe97a2311..89885e693 100644 --- a/cron.php +++ b/cron.php @@ -1,11 +1,29 @@ . + */ + /** * Script dedicato alla gestione delle operazioni di cron ricorrenti del gestionale. * Una volta attivato, questo script rimane attivo in background per gestire l'esecuzione delle diverse operazioni come pianificate nella tabella zz_tasks. * * Il file viene richiamato in automatico al login di un utente. * Per garantire che lo script resti attivo in ogni situazione, si consiglia di introdurre una chiamata nel relativo crontab di sistema secondo il seguente schema: -*/ + */ // Schema crontab: "*/5 * * * * php /cron.php" use Carbon\Carbon; diff --git a/editor.php b/editor.php index 3042faaca..4e5ad9c6e 100755 --- a/editor.php +++ b/editor.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/core.php'; diff --git a/gulpfile.js b/gulpfile.js index 63498181f..74d6309a8 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Librerie NPM richieste per l'esecuzione const gulp = require('gulp'); const merge = require('merge-stream'); diff --git a/include/bottom.php b/include/bottom.php index d96f7106d..79f2e5945 100755 --- a/include/bottom.php +++ b/include/bottom.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../core.php'; diff --git a/include/colonne.php b/include/colonne.php index 5892b925f..61db86a38 100644 --- a/include/colonne.php +++ b/include/colonne.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../core.php'; diff --git a/include/common/articolo.php b/include/common/articolo.php index 84472a196..6e2c07b79 100755 --- a/include/common/articolo.php +++ b/include/common/articolo.php @@ -1,4 +1,21 @@ . + */ $result['idarticolo'] = isset($result['idarticolo']) ? $result['idarticolo'] : null; $qta_minima = 0; diff --git a/include/common/barcode.php b/include/common/barcode.php index 7c77d3745..d68ae32ba 100644 --- a/include/common/barcode.php +++ b/include/common/barcode.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/include/common/conti.php b/include/common/conti.php index 6294fd5a2..87128d3a1 100755 --- a/include/common/conti.php +++ b/include/common/conti.php @@ -1,4 +1,21 @@ . + */ // Informazioni aggiuntive per Fatture if ($module['name'] != 'Fatture di acquisto' && $module['name'] != 'Fatture di vendita') { diff --git a/include/common/descrizione.php b/include/common/descrizione.php index fdb39e0b5..038c53d8b 100755 --- a/include/common/descrizione.php +++ b/include/common/descrizione.php @@ -1,4 +1,21 @@ . + */ echo '
diff --git a/include/common/form.php b/include/common/form.php index fc0a971d1..bdf5d2a84 100755 --- a/include/common/form.php +++ b/include/common/form.php @@ -1,4 +1,21 @@ . + */ $result['id'] = isset($result['id']) ? $result['id'] : null; diff --git a/include/common/importa.php b/include/common/importa.php index 80044f6cf..20c3c787c 100755 --- a/include/common/importa.php +++ b/include/common/importa.php @@ -1,4 +1,21 @@ . + */ // Inizializzazione $documento = $options['documento']; diff --git a/include/common/riga.php b/include/common/riga.php index 1b52a3738..607b0cef4 100755 --- a/include/common/riga.php +++ b/include/common/riga.php @@ -1,4 +1,21 @@ . + */ // Descrizione echo App::internalLoad('descrizione.php', $result, $options); diff --git a/include/common/sconto.php b/include/common/sconto.php index f28f056ef..a546f0b1b 100755 --- a/include/common/sconto.php +++ b/include/common/sconto.php @@ -1,4 +1,21 @@ . + */ // Descrizione echo App::internalLoad('descrizione.php', $result, $options); diff --git a/include/init/configuration.php b/include/init/configuration.php index 5a9a10c3b..094384845 100755 --- a/include/init/configuration.php +++ b/include/init/configuration.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -355,41 +372,41 @@ if (empty($creation) && (!file_exists('config.inc.php') || !$valid_config)) { timeout: 500 }); }); - + function initLanguage(flag) { $("#language").removeClass("hide"); - + $("#language").select2({ theme: "bootstrap", templateResult: function(item) { if (!item.id || !flag) { return item.text; } - + var element = $(item.element); var img = $("", { class: "img-flag", width: 26, src: flag_link.replace("|flag|", element.data("country").toLowerCase()), }); - + var span = $("", { text: " " + item.text }); span.prepend(img); - + return span; } }); - + $("#language").on("change", function(){ if ($(this).val()) { var location = window.location; var url = location.protocol + "//" + location.host + "" + location.pathname; - + var parameters = getUrlVars(); parameters.lang = $(this).val(); - + redirect(url, parameters); } }); @@ -471,33 +488,33 @@ if (empty($creation) && (!file_exists('config.inc.php') || !$valid_config)) {

'.tr('Configura correttamente il software con i seguenti parametri (modificabili successivamente dal file _FILE_)', [ '_FILE_' => 'config.inc.php', ]).'

- +
'; // Form dei parametri echo '
- +

'.tr('Formato date').'

{[ "type": "text", "label": "'.tr('Formato data lunga').'", "name": "timestamp_format", "value": "d/m/Y H:i", "required": 1 ]}
- +
{[ "type": "text", "label": "'.tr('Formato data corta').'", "name": "date_format", "value": "d/m/Y", "required": 1 ]}
- +
{[ "type": "text", "label": "'.tr('Formato orario').'", "name": "time_format", "value": "H:i", "required": 1 ]}
- + '.tr('I formati sono impostabili attraverso lo standard previsto da PHP: _LINK_', [ '_LINK_' => 'https://www.php.net/manual/en/function.date.php#refsect1-function.date-parameters', ]).'. - +
'; if (!extension_loaded('intl')) { @@ -519,16 +536,16 @@ if (empty($creation) && (!file_exists('config.inc.php') || !$valid_config)) {
{[ "type": "select", "label": "'.tr('Separatore dei decimali').'", "name": "decimal_separator", "value": "comma", "values": '.json_encode($list).', "required": 1 ]}
- +
{[ "type": "select", "label": "'.tr('Separatore delle migliaia').'", "name": "thousand_separator", "value": "dot", "values": '.json_encode($list).' ]}
- + '.tr("Si consiglia l'abilitazione dell'estensione _EXT_ di PHP", [ '_EXT_' => 'intl', ]).'. - +
'; } diff --git a/include/init/init.php b/include/init/init.php index 4238349e1..6eb2937a8 100755 --- a/include/init/init.php +++ b/include/init/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/include/init/requirements.php b/include/init/requirements.php index 0fc159eb3..8498da7ec 100755 --- a/include/init/requirements.php +++ b/include/init/requirements.php @@ -1,4 +1,21 @@ . + */ // Apache $modules = [ diff --git a/include/init/update.php b/include/init/update.php index 118ccc40e..37e9ebd5e 100755 --- a/include/init/update.php +++ b/include/init/update.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -219,7 +236,7 @@ if (filter('action') == 'do_update') { setPercent(percent); } - + function setPercent(percent){ $("#progress .progress-bar").width(percent + "%"); $("#progress .progress-bar span").text(percent + "%"); diff --git a/include/manager.php b/include/manager.php index 36a1f00ef..d5075fdce 100755 --- a/include/manager.php +++ b/include/manager.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../core.php'; diff --git a/include/riferimenti/riferimenti.php b/include/riferimenti/riferimenti.php index f829fcd01..24077c153 100644 --- a/include/riferimenti/riferimenti.php +++ b/include/riferimenti/riferimenti.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/include/riferimenti/righe_documento.php b/include/riferimenti/righe_documento.php index e450fa78d..13973117a 100644 --- a/include/riferimenti/righe_documento.php +++ b/include/riferimenti/righe_documento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/include/riferimenti/righe_riferimenti.php b/include/riferimenti/righe_riferimenti.php index 221663b92..35cd9bd63 100644 --- a/include/riferimenti/righe_riferimenti.php +++ b/include/riferimenti/righe_riferimenti.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/include/src/Components/Article.php b/include/src/Components/Article.php index eb6c2990b..daca2118d 100755 --- a/include/src/Components/Article.php +++ b/include/src/Components/Article.php @@ -1,4 +1,21 @@ . + */ namespace Common\Components; diff --git a/include/src/Components/Description.php b/include/src/Components/Description.php index d2caa64f4..e4b0a20f4 100755 --- a/include/src/Components/Description.php +++ b/include/src/Components/Description.php @@ -1,4 +1,21 @@ . + */ namespace Common\Components; diff --git a/include/src/Components/Discount.php b/include/src/Components/Discount.php index ce887d10d..a572f59cc 100755 --- a/include/src/Components/Discount.php +++ b/include/src/Components/Discount.php @@ -1,4 +1,21 @@ . + */ namespace Common\Components; diff --git a/include/src/Components/MorphTrait.php b/include/src/Components/MorphTrait.php index dac2d3da5..37216ff4e 100755 --- a/include/src/Components/MorphTrait.php +++ b/include/src/Components/MorphTrait.php @@ -1,4 +1,21 @@ . + */ namespace Common\Components; diff --git a/include/src/Components/Row.php b/include/src/Components/Row.php index a27cad21a..ac990b8bc 100755 --- a/include/src/Components/Row.php +++ b/include/src/Components/Row.php @@ -1,4 +1,21 @@ . + */ namespace Common\Components; diff --git a/include/src/Document.php b/include/src/Document.php index 5e81bf502..e7d3e5f8f 100755 --- a/include/src/Document.php +++ b/include/src/Document.php @@ -1,4 +1,21 @@ . + */ namespace Common; diff --git a/include/src/Model.php b/include/src/Model.php index c9d8c6ba8..49ef79ddc 100755 --- a/include/src/Model.php +++ b/include/src/Model.php @@ -1,4 +1,21 @@ . + */ namespace Common; diff --git a/include/src/ReferenceInterface.php b/include/src/ReferenceInterface.php index fed8e4323..3a0afa1af 100755 --- a/include/src/ReferenceInterface.php +++ b/include/src/ReferenceInterface.php @@ -1,4 +1,21 @@ . + */ namespace Common; diff --git a/include/src/RowReference.php b/include/src/RowReference.php index e699792ae..84fda3f44 100644 --- a/include/src/RowReference.php +++ b/include/src/RowReference.php @@ -1,4 +1,21 @@ . + */ namespace Common; diff --git a/include/top.php b/include/top.php index 9484a8a99..b97dd3c48 100755 --- a/include/top.php +++ b/include/top.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../core.php'; diff --git a/index.php b/index.php index 752180ff6..af9e1d1b2 100755 --- a/index.php +++ b/index.php @@ -1,4 +1,21 @@ . + */ $skip_permissions = true; include_once __DIR__.'/core.php'; @@ -129,14 +146,14 @@ if (isset($username)) { } echo' required>
- + {[ "type": "password", "name": "password", "autocomplete": "current-password", "placeholder": "'.tr('Password').'", "icon-before": "" ]} - + - + - +
{[ "type": "text", "label": "", "name": "iban", "required": "1", "class": "alphanumeric-mask", "maxlength": 32, "value": "$iban$" ]} diff --git a/modules/banche/edit.php b/modules/banche/edit.php index c08f4ccd8..817b26bd1 100755 --- a/modules/banche/edit.php +++ b/modules/banche/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/banche/init.php b/modules/banche/init.php index 5c6a5000c..4ce12505a 100755 --- a/modules/banche/init.php +++ b/modules/banche/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/beni/actions.php b/modules/beni/actions.php index c04f6a9f9..65e7cf759 100755 --- a/modules/beni/actions.php +++ b/modules/beni/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/beni/add.php b/modules/beni/add.php index c8c446c62..c289b3336 100755 --- a/modules/beni/add.php +++ b/modules/beni/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/beni/ajax/select.php b/modules/beni/ajax/select.php index c6377419e..097ec948f 100755 --- a/modules/beni/ajax/select.php +++ b/modules/beni/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/beni/edit.php b/modules/beni/edit.php index c94ccfcd5..091c38949 100755 --- a/modules/beni/edit.php +++ b/modules/beni/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/beni/init.php b/modules/beni/init.php index bad61d470..62822057d 100755 --- a/modules/beni/init.php +++ b/modules/beni/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_articoli/actions.php b/modules/categorie_articoli/actions.php index eee0eaeef..4e809badc 100755 --- a/modules/categorie_articoli/actions.php +++ b/modules/categorie_articoli/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_articoli/add.php b/modules/categorie_articoli/add.php index ce01c684f..baa56e1ea 100755 --- a/modules/categorie_articoli/add.php +++ b/modules/categorie_articoli/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_articoli/edit.php b/modules/categorie_articoli/edit.php index 1f0c2a44b..41940ba80 100755 --- a/modules/categorie_articoli/edit.php +++ b/modules/categorie_articoli/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_articoli/init.php b/modules/categorie_articoli/init.php index c7dc6d094..064e2123e 100755 --- a/modules/categorie_articoli/init.php +++ b/modules/categorie_articoli/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_articoli/row-list.php b/modules/categorie_articoli/row-list.php index cc846c639..3d67c8ca8 100755 --- a/modules/categorie_articoli/row-list.php +++ b/modules/categorie_articoli/row-list.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_documenti/actions.php b/modules/categorie_documenti/actions.php index 44c92a3d9..bfe3c6616 100755 --- a/modules/categorie_documenti/actions.php +++ b/modules/categorie_documenti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_documenti/add.php b/modules/categorie_documenti/add.php index 62e394c32..3c45f1e7a 100755 --- a/modules/categorie_documenti/add.php +++ b/modules/categorie_documenti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_documenti/ajax/select.php b/modules/categorie_documenti/ajax/select.php index 17e0cbd54..f5924abbe 100755 --- a/modules/categorie_documenti/ajax/select.php +++ b/modules/categorie_documenti/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/categorie_documenti/edit.php b/modules/categorie_documenti/edit.php index 0b130db1d..8a05e3aef 100755 --- a/modules/categorie_documenti/edit.php +++ b/modules/categorie_documenti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_documenti/init.php b/modules/categorie_documenti/init.php index b72813770..a461b5ff6 100755 --- a/modules/categorie_documenti/init.php +++ b/modules/categorie_documenti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_documenti/src/Categoria.php b/modules/categorie_documenti/src/Categoria.php index 190cad5c6..f3e8182ee 100755 --- a/modules/categorie_documenti/src/Categoria.php +++ b/modules/categorie_documenti/src/Categoria.php @@ -1,4 +1,21 @@ . + */ namespace Modules\CategorieDocumentali; diff --git a/modules/categorie_impianti/actions.php b/modules/categorie_impianti/actions.php index 624109bc6..54dc1299a 100755 --- a/modules/categorie_impianti/actions.php +++ b/modules/categorie_impianti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_impianti/add.php b/modules/categorie_impianti/add.php index d0ff22ecf..2180c3430 100755 --- a/modules/categorie_impianti/add.php +++ b/modules/categorie_impianti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_impianti/edit.php b/modules/categorie_impianti/edit.php index ec1ab4717..5ad21e648 100755 --- a/modules/categorie_impianti/edit.php +++ b/modules/categorie_impianti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/categorie_impianti/init.php b/modules/categorie_impianti/init.php index c9881f030..d6f3529e7 100755 --- a/modules/categorie_impianti/init.php +++ b/modules/categorie_impianti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/causali/actions.php b/modules/causali/actions.php index c2203fe6b..971c91c20 100755 --- a/modules/causali/actions.php +++ b/modules/causali/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/causali/add.php b/modules/causali/add.php index cc72e86a9..c289b3336 100755 --- a/modules/causali/add.php +++ b/modules/causali/add.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; ?> diff --git a/modules/causali/ajax/select.php b/modules/causali/ajax/select.php index 98519c355..bd4455e1e 100755 --- a/modules/causali/ajax/select.php +++ b/modules/causali/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/causali/edit.php b/modules/causali/edit.php index 55a061368..9bdb8cb1e 100755 --- a/modules/causali/edit.php +++ b/modules/causali/edit.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; ?> diff --git a/modules/causali/init.php b/modules/causali/init.php index d5e24bc12..1d5b6021d 100755 --- a/modules/causali/init.php +++ b/modules/causali/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/causali_movimenti/actions.php b/modules/causali_movimenti/actions.php index 33588f3e2..e08e610d4 100755 --- a/modules/causali_movimenti/actions.php +++ b/modules/causali_movimenti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/causali_movimenti/add.php b/modules/causali_movimenti/add.php index 8019cfd69..6a035fe16 100755 --- a/modules/causali_movimenti/add.php +++ b/modules/causali_movimenti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/causali_movimenti/edit.php b/modules/causali_movimenti/edit.php index 5ecb07a25..5166445fd 100755 --- a/modules/causali_movimenti/edit.php +++ b/modules/causali_movimenti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/causali_movimenti/init.php b/modules/causali_movimenti/init.php index 909f99184..a2dcbb366 100755 --- a/modules/causali_movimenti/init.php +++ b/modules/causali_movimenti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/checklists/actions.php b/modules/checklists/actions.php index f8c3a1cbd..4484a58fb 100755 --- a/modules/checklists/actions.php +++ b/modules/checklists/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/checklists/add.php b/modules/checklists/add.php index 5027a8364..37419a191 100755 --- a/modules/checklists/add.php +++ b/modules/checklists/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -15,7 +32,7 @@ echo '
{[ "type": "select", "label": "'.tr('Modulo del template').'", "name": "module", "values": "query=SELECT id, title AS descrizione FROM zz_modules WHERE enabled = 1", "value": "'.$record['id_module'].'", "disabled": "'.!empty($record['id_plugin']).'" ]}
- +
{[ "type": "select", "label": "'.tr('Plugin del template').'", "name": "plugin", "values": "query=SELECT id, title AS descrizione FROM zz_plugins WHERE enabled = 1", "value": "'.$record['id_plugin'].'", "disabled": "'.!empty($record['id_module']).'" ]}
@@ -40,7 +57,7 @@ $(document).ready(function() { $("#plugin").val("").attr("disabled", false); } }); - + $("#plugin").change(function() { if ($(this).val()){ $("#module").val("").attr("disabled", true); diff --git a/modules/checklists/components/add-check.php b/modules/checklists/components/add-check.php index 309f39c5f..de2571511 100755 --- a/modules/checklists/components/add-check.php +++ b/modules/checklists/components/add-check.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/checklists/components/add-checklist.php b/modules/checklists/components/add-checklist.php index c1d8fac63..833b6b62d 100755 --- a/modules/checklists/components/add-checklist.php +++ b/modules/checklists/components/add-checklist.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/checklists/edit.php b/modules/checklists/edit.php index df7df00b1..1dbef1803 100755 --- a/modules/checklists/edit.php +++ b/modules/checklists/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/checklists/init.php b/modules/checklists/init.php index 58bff0404..d0623f017 100755 --- a/modules/checklists/init.php +++ b/modules/checklists/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/checklists/js/checklist.js b/modules/checklists/js/checklist.js index e5d08e1e0..0cf2cc33d 100755 --- a/modules/checklists/js/checklist.js +++ b/modules/checklists/js/checklist.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class Checklist { constructor(info, id){ this.info = info; diff --git a/modules/checklists/modutil.php b/modules/checklists/modutil.php index 46cff9732..ddde02713 100755 --- a/modules/checklists/modutil.php +++ b/modules/checklists/modutil.php @@ -1,4 +1,21 @@ . + */ function renderChecklist($check, $level = 0) { @@ -6,7 +23,7 @@ function renderChecklist($check, $level = 0) $enabled = $check->assignedUsers ? $check->assignedUsers->pluck('id')->search($user->id) !== false : true; $result = ' -
  • +
  • checked_at) ? 'checked' : '').'> '.$check->content.' diff --git a/modules/checklists/src/Check.php b/modules/checklists/src/Check.php index ba7a33ff8..48d28b878 100755 --- a/modules/checklists/src/Check.php +++ b/modules/checklists/src/Check.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Checklists; diff --git a/modules/checklists/src/Checklist.php b/modules/checklists/src/Checklist.php index 93c19d312..6195322d7 100755 --- a/modules/checklists/src/Checklist.php +++ b/modules/checklists/src/Checklist.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Checklists; diff --git a/modules/checklists/src/ChecklistItem.php b/modules/checklists/src/ChecklistItem.php index c46c2a572..f7bbc910d 100755 --- a/modules/checklists/src/ChecklistItem.php +++ b/modules/checklists/src/ChecklistItem.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Checklists; diff --git a/modules/checklists/src/Traits/ChecklistTrait.php b/modules/checklists/src/Traits/ChecklistTrait.php index 47a0f7c2a..c6a33f6ea 100755 --- a/modules/checklists/src/Traits/ChecklistTrait.php +++ b/modules/checklists/src/Traits/ChecklistTrait.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Checklists\Traits; diff --git a/modules/contratti/actions.php b/modules/contratti/actions.php index 012a92bd9..3090d20be 100644 --- a/modules/contratti/actions.php +++ b/modules/contratti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/add.php b/modules/contratti/add.php index 5ece85b2e..da4c13121 100755 --- a/modules/contratti/add.php +++ b/modules/contratti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/add_preventivo.php b/modules/contratti/add_preventivo.php index 850b3adc3..179cc70cf 100644 --- a/modules/contratti/add_preventivo.php +++ b/modules/contratti/add_preventivo.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/ajax.php b/modules/contratti/ajax.php index edf62b5d7..64b9a607b 100755 --- a/modules/contratti/ajax.php +++ b/modules/contratti/ajax.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/ajax/select.php b/modules/contratti/ajax/select.php index 9843b33b9..de8d8a70b 100755 --- a/modules/contratti/ajax/select.php +++ b/modules/contratti/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/contratti/bulk.php b/modules/contratti/bulk.php index b8cb76ad5..c3f15cf39 100755 --- a/modules/contratti/bulk.php +++ b/modules/contratti/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/buttons.php b/modules/contratti/buttons.php index b5856dbd8..9b631a903 100755 --- a/modules/contratti/buttons.php +++ b/modules/contratti/buttons.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/crea_documento.php b/modules/contratti/crea_documento.php index 1e1266bed..a6376a11e 100644 --- a/modules/contratti/crea_documento.php +++ b/modules/contratti/crea_documento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/edit.php b/modules/contratti/edit.php index fe855d432..985b85fb4 100755 --- a/modules/contratti/edit.php +++ b/modules/contratti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/init.php b/modules/contratti/init.php index c79bd81bb..ba6d2da60 100755 --- a/modules/contratti/init.php +++ b/modules/contratti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/plugins/contratti.consuntivo.php b/modules/contratti/plugins/contratti.consuntivo.php index dc732e653..f62692a5d 100755 --- a/modules/contratti/plugins/contratti.consuntivo.php +++ b/modules/contratti/plugins/contratti.consuntivo.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/contratti/row-add.php b/modules/contratti/row-add.php index b426a3776..b10ca796d 100755 --- a/modules/contratti/row-add.php +++ b/modules/contratti/row-add.php @@ -1,4 +1,21 @@ . + */ use Modules\Contratti\Contratto; diff --git a/modules/contratti/row-edit.php b/modules/contratti/row-edit.php index adb148b77..74bb513ee 100755 --- a/modules/contratti/row-edit.php +++ b/modules/contratti/row-edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Contratti\Contratto; diff --git a/modules/contratti/row-list.php b/modules/contratti/row-list.php index 4f391b3c9..dea713eee 100755 --- a/modules/contratti/row-list.php +++ b/modules/contratti/row-list.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/contratti/src/Components/Articolo.php b/modules/contratti/src/Components/Articolo.php index 1d199d926..f94871339 100755 --- a/modules/contratti/src/Components/Articolo.php +++ b/modules/contratti/src/Components/Articolo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Contratti\Components; diff --git a/modules/contratti/src/Components/Descrizione.php b/modules/contratti/src/Components/Descrizione.php index f2a7928fe..70da05f11 100755 --- a/modules/contratti/src/Components/Descrizione.php +++ b/modules/contratti/src/Components/Descrizione.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Contratti\Components; diff --git a/modules/contratti/src/Components/RelationTrait.php b/modules/contratti/src/Components/RelationTrait.php index 0afa4ae3d..d9f44166d 100755 --- a/modules/contratti/src/Components/RelationTrait.php +++ b/modules/contratti/src/Components/RelationTrait.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Contratti\Components; diff --git a/modules/contratti/src/Components/Riga.php b/modules/contratti/src/Components/Riga.php index 0fc056f47..9734b254d 100755 --- a/modules/contratti/src/Components/Riga.php +++ b/modules/contratti/src/Components/Riga.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Contratti\Components; diff --git a/modules/contratti/src/Components/Sconto.php b/modules/contratti/src/Components/Sconto.php index f7b8d8525..a40efa1c0 100755 --- a/modules/contratti/src/Components/Sconto.php +++ b/modules/contratti/src/Components/Sconto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Contratti\Components; diff --git a/modules/contratti/src/Contratto.php b/modules/contratti/src/Contratto.php index e796cded1..231967e0d 100755 --- a/modules/contratti/src/Contratto.php +++ b/modules/contratti/src/Contratto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Contratti; diff --git a/modules/contratti/src/Stato.php b/modules/contratti/src/Stato.php index 68998fb54..dcea1da30 100755 --- a/modules/contratti/src/Stato.php +++ b/modules/contratti/src/Stato.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Contratti; diff --git a/modules/contratti/variables.php b/modules/contratti/variables.php index 278773711..960749fff 100755 --- a/modules/contratti/variables.php +++ b/modules/contratti/variables.php @@ -1,4 +1,21 @@ . + */ $r = $dbo->fetchOne('SELECT *, an_anagrafiche.email, diff --git a/modules/contratti/widgets/contratti_scadenza.dashboard.php b/modules/contratti/widgets/contratti_scadenza.dashboard.php index 07aa8b37b..1c88b0e08 100755 --- a/modules/contratti/widgets/contratti_scadenza.dashboard.php +++ b/modules/contratti/widgets/contratti_scadenza.dashboard.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/custom_fields/actions.php b/modules/custom_fields/actions.php index 6687b9c39..1c1cca264 100755 --- a/modules/custom_fields/actions.php +++ b/modules/custom_fields/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/custom_fields/add.php b/modules/custom_fields/add.php index 00dd6545b..8c75a6858 100755 --- a/modules/custom_fields/add.php +++ b/modules/custom_fields/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/custom_fields/content-info.php b/modules/custom_fields/content-info.php index 6e9eade62..7e34f7dfe 100755 --- a/modules/custom_fields/content-info.php +++ b/modules/custom_fields/content-info.php @@ -1,4 +1,21 @@ . + */ echo ' diff --git a/modules/custom_fields/edit.php b/modules/custom_fields/edit.php index ee65d1e92..7d8fd46d8 100755 --- a/modules/custom_fields/edit.php +++ b/modules/custom_fields/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/custom_fields/init.php b/modules/custom_fields/init.php index 2b50b6db6..13cd2b203 100755 --- a/modules/custom_fields/init.php +++ b/modules/custom_fields/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/dashboard/actions.php b/modules/dashboard/actions.php index 61fd29f73..a7e4c9c98 100755 --- a/modules/dashboard/actions.php +++ b/modules/dashboard/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index 830b42982..3b7041a3d 100755 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/dashboard/widgets/notifiche.php b/modules/dashboard/widgets/notifiche.php index 25999d31d..0cbb67359 100755 --- a/modules/dashboard/widgets/notifiche.php +++ b/modules/dashboard/widgets/notifiche.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; @@ -50,19 +67,19 @@ foreach ($moduli as $module_id => $note) { echo ' '.$nota->id_record.' - + - + '.$nota->content.' - + '.$nota->user->nome_completo.' - + '.dateFormat($nota->notification_date).' ('.Carbon::parse($nota->notification_date)->diffForHumans().') - + '.Modules::link($module_id, $nota->id_record, '', null, 'class="btn btn-primary btn-xs"', true, 'tab_note').' diff --git a/modules/dashboard/widgets/stampa_calendario.dashboard.php b/modules/dashboard/widgets/stampa_calendario.dashboard.php index 194ed12f6..66edbd52d 100755 --- a/modules/dashboard/widgets/stampa_calendario.dashboard.php +++ b/modules/dashboard/widgets/stampa_calendario.dashboard.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; @@ -15,7 +32,7 @@ echo '
    {[ "type": "text", "label": "'.tr('Mese e anno').'", "name": "date", "required": "1" ]}
    - +
    {[ "type": "select", "label": "'.tr('Formato').'", "name": "format", "required": "1", "values": "list=\"A4\": \"'.tr('A4').'\", \"A3\": \"'.tr('A3').'\"", "value": "'.$_SESSION['dashboard']['format'].'" ]}
    @@ -27,7 +44,7 @@ echo '

     

    - + diff --git a/modules/ddt/actions.php b/modules/ddt/actions.php index 53117a588..739bea41d 100755 --- a/modules/ddt/actions.php +++ b/modules/ddt/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/add.php b/modules/ddt/add.php index 7ab205a28..4d314a69d 100755 --- a/modules/ddt/add.php +++ b/modules/ddt/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/add_ordine.php b/modules/ddt/add_ordine.php index 2dcd70d08..eb832570f 100755 --- a/modules/ddt/add_ordine.php +++ b/modules/ddt/add_ordine.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/ajax/search.php b/modules/ddt/ajax/search.php index 8d6121fd2..5e2c1c645 100755 --- a/modules/ddt/ajax/search.php +++ b/modules/ddt/ajax/search.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/ddt/bulk.php b/modules/ddt/bulk.php index 7123be9e6..85d6ea4a1 100755 --- a/modules/ddt/bulk.php +++ b/modules/ddt/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/buttons.php b/modules/ddt/buttons.php index 5a3960c28..b90d8da64 100755 --- a/modules/ddt/buttons.php +++ b/modules/ddt/buttons.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/crea_documento.php b/modules/ddt/crea_documento.php index 07929a0a3..2c0e4079d 100755 --- a/modules/ddt/crea_documento.php +++ b/modules/ddt/crea_documento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/edit.php b/modules/ddt/edit.php index f7afb44fa..872e1dafb 100755 --- a/modules/ddt/edit.php +++ b/modules/ddt/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/init.php b/modules/ddt/init.php index 6c41efd89..d55a73f90 100755 --- a/modules/ddt/init.php +++ b/modules/ddt/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -13,7 +30,7 @@ if ($module['name'] == 'Ddt di vendita') { if (isset($id_record)) { $ddt = DDT::with('tipo', 'stato')->find($id_record); - $record = $dbo->fetchOne('SELECT dt_ddt.*, + $record = $dbo->fetchOne('SELECT dt_ddt.*, dt_ddt.id AS idddt, dt_statiddt.descrizione AS `stato`, dt_statiddt.completato AS `flag_completato`, diff --git a/modules/ddt/modutil.php b/modules/ddt/modutil.php index 387654e64..345812cc0 100644 --- a/modules/ddt/modutil.php +++ b/modules/ddt/modutil.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/row-add.php b/modules/ddt/row-add.php index 21f332ad8..a367eeeea 100755 --- a/modules/ddt/row-add.php +++ b/modules/ddt/row-add.php @@ -1,4 +1,21 @@ . + */ use Modules\DDT\DDT; diff --git a/modules/ddt/row-edit.php b/modules/ddt/row-edit.php index 9e081123f..260922a27 100755 --- a/modules/ddt/row-edit.php +++ b/modules/ddt/row-edit.php @@ -1,4 +1,21 @@ . + */ use Modules\DDT\DDT; diff --git a/modules/ddt/row-list.php b/modules/ddt/row-list.php index 0c31abd9c..5bed16fd4 100755 --- a/modules/ddt/row-list.php +++ b/modules/ddt/row-list.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ddt/src/Components/Articolo.php b/modules/ddt/src/Components/Articolo.php index 53be420ee..4fc05989c 100755 --- a/modules/ddt/src/Components/Articolo.php +++ b/modules/ddt/src/Components/Articolo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT\Components; diff --git a/modules/ddt/src/Components/Descrizione.php b/modules/ddt/src/Components/Descrizione.php index 811be2d90..aee3455b7 100755 --- a/modules/ddt/src/Components/Descrizione.php +++ b/modules/ddt/src/Components/Descrizione.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT\Components; diff --git a/modules/ddt/src/Components/RelationTrait.php b/modules/ddt/src/Components/RelationTrait.php index 5aa92481c..26fdb710b 100755 --- a/modules/ddt/src/Components/RelationTrait.php +++ b/modules/ddt/src/Components/RelationTrait.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT\Components; diff --git a/modules/ddt/src/Components/Riga.php b/modules/ddt/src/Components/Riga.php index 58fa41da0..5007c2d81 100755 --- a/modules/ddt/src/Components/Riga.php +++ b/modules/ddt/src/Components/Riga.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT\Components; diff --git a/modules/ddt/src/Components/Sconto.php b/modules/ddt/src/Components/Sconto.php index 75ff65971..eb2bd5afb 100755 --- a/modules/ddt/src/Components/Sconto.php +++ b/modules/ddt/src/Components/Sconto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT\Components; diff --git a/modules/ddt/src/DDT.php b/modules/ddt/src/DDT.php index 8501a4e23..fde04e000 100755 --- a/modules/ddt/src/DDT.php +++ b/modules/ddt/src/DDT.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT; diff --git a/modules/ddt/src/Stato.php b/modules/ddt/src/Stato.php index 015dcb28d..207823580 100755 --- a/modules/ddt/src/Stato.php +++ b/modules/ddt/src/Stato.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT; diff --git a/modules/ddt/src/Tipo.php b/modules/ddt/src/Tipo.php index 82d1f4e4f..852e72d4f 100755 --- a/modules/ddt/src/Tipo.php +++ b/modules/ddt/src/Tipo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\DDT; diff --git a/modules/ddt/variables.php b/modules/ddt/variables.php index 76957b5c4..263ae70ce 100755 --- a/modules/ddt/variables.php +++ b/modules/ddt/variables.php @@ -1,4 +1,21 @@ . + */ $r = $dbo->fetchOne('SELECT *, (SELECT email FROM an_anagrafiche WHERE an_anagrafiche.idanagrafica=dt_ddt.idanagrafica) AS email diff --git a/modules/emails/actions.php b/modules/emails/actions.php index 8466062d6..4ceb9fe8e 100755 --- a/modules/emails/actions.php +++ b/modules/emails/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/emails/add.php b/modules/emails/add.php index 9647c2678..513f3ed78 100755 --- a/modules/emails/add.php +++ b/modules/emails/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/emails/edit.php b/modules/emails/edit.php index 4be0b10c3..616e9555d 100755 --- a/modules/emails/edit.php +++ b/modules/emails/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -141,4 +158,4 @@ if (!$record['predefined']) { \ No newline at end of file +?> diff --git a/modules/emails/init.php b/modules/emails/init.php index cd509545b..2b85868fc 100755 --- a/modules/emails/init.php +++ b/modules/emails/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/emails/src/Account.php b/modules/emails/src/Account.php index 8c90b9dca..2159ed161 100755 --- a/modules/emails/src/Account.php +++ b/modules/emails/src/Account.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Emails; diff --git a/modules/emails/src/EmailHook.php b/modules/emails/src/EmailHook.php index 55ff8182e..892f3d111 100755 --- a/modules/emails/src/EmailHook.php +++ b/modules/emails/src/EmailHook.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Emails; diff --git a/modules/emails/src/Mail.php b/modules/emails/src/Mail.php index 83f0ce9bc..07fe3917e 100755 --- a/modules/emails/src/Mail.php +++ b/modules/emails/src/Mail.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Emails; diff --git a/modules/emails/src/Receiver.php b/modules/emails/src/Receiver.php index a3ffc9565..7e4bc8642 100755 --- a/modules/emails/src/Receiver.php +++ b/modules/emails/src/Receiver.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Emails; diff --git a/modules/emails/src/Template.php b/modules/emails/src/Template.php index c50bd66ed..e748acc20 100755 --- a/modules/emails/src/Template.php +++ b/modules/emails/src/Template.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Emails; diff --git a/modules/fatture/actions.php b/modules/fatture/actions.php index a8846822f..77dd6b93b 100755 --- a/modules/fatture/actions.php +++ b/modules/fatture/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/add.php b/modules/fatture/add.php index 25f5345e0..dd90bf39d 100755 --- a/modules/fatture/add.php +++ b/modules/fatture/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/add_contratto.php b/modules/fatture/add_contratto.php index ad6cbc778..7f119a082 100755 --- a/modules/fatture/add_contratto.php +++ b/modules/fatture/add_contratto.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/add_ddt.php b/modules/fatture/add_ddt.php index 01d86c9dd..bf0c3bd19 100755 --- a/modules/fatture/add_ddt.php +++ b/modules/fatture/add_ddt.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/add_intervento.php b/modules/fatture/add_intervento.php index 0bcd14c3a..cc3f9d223 100755 --- a/modules/fatture/add_intervento.php +++ b/modules/fatture/add_intervento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/add_ordine.php b/modules/fatture/add_ordine.php index 92de00f59..3f5387c6f 100755 --- a/modules/fatture/add_ordine.php +++ b/modules/fatture/add_ordine.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/add_preventivo.php b/modules/fatture/add_preventivo.php index 64a748c1e..e06fbae49 100755 --- a/modules/fatture/add_preventivo.php +++ b/modules/fatture/add_preventivo.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/add_serial.php b/modules/fatture/add_serial.php index 6e86233f1..0c67a1438 100755 --- a/modules/fatture/add_serial.php +++ b/modules/fatture/add_serial.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/ajax/search.php b/modules/fatture/ajax/search.php index 7ad4fcb97..ba1d2cbc2 100755 --- a/modules/fatture/ajax/search.php +++ b/modules/fatture/ajax/search.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/fatture/bulk.php b/modules/fatture/bulk.php index 02c0ab809..237c159dd 100755 --- a/modules/fatture/bulk.php +++ b/modules/fatture/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/buttons.php b/modules/fatture/buttons.php index 2d126fe30..0b392234e 100755 --- a/modules/fatture/buttons.php +++ b/modules/fatture/buttons.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/crea_documento.php b/modules/fatture/crea_documento.php index 3fc6a3404..ea41c7d1b 100755 --- a/modules/fatture/crea_documento.php +++ b/modules/fatture/crea_documento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/edit.php b/modules/fatture/edit.php index 49a14467c..557fe4ee3 100755 --- a/modules/fatture/edit.php +++ b/modules/fatture/edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Iva\Aliquota; @@ -293,7 +310,7 @@ elseif ($record['stato'] == 'Bozza') { '; } - echo (empty($scadenza->da_pagare) ? '' : '').moneyFormat($scadenza->da_pagare); + echo(empty($scadenza->da_pagare) ? '' : '').moneyFormat($scadenza->da_pagare); if ($pagamento_iniziato) { echo ' diff --git a/modules/fatture/fe/components/altri_dati.php b/modules/fatture/fe/components/altri_dati.php index 02283f1a3..7681c956d 100755 --- a/modules/fatture/fe/components/altri_dati.php +++ b/modules/fatture/fe/components/altri_dati.php @@ -1,4 +1,21 @@ . + */ // Altri dati gestionali echo ' diff --git a/modules/fatture/fe/components/dati_documento.php b/modules/fatture/fe/components/dati_documento.php index 6ac80e2fe..4328a0758 100755 --- a/modules/fatture/fe/components/dati_documento.php +++ b/modules/fatture/fe/components/dati_documento.php @@ -1,4 +1,21 @@ . + */ // Altri dati gestionali echo ' @@ -41,7 +58,7 @@ foreach ($dato['riferimento_linea'] as $linea) { '; } - echo ' + echo ' {[ "type": "number", "name": "'.$nome.'['.$key.'][riferimento_linea][]", "value": "'.$linea.'", "maxlength": 4, "decimals": 0 ]} diff --git a/modules/fatture/fe/document-fe.php b/modules/fatture/fe/document-fe.php index 695ad47a8..14253fe50 100755 --- a/modules/fatture/fe/document-fe.php +++ b/modules/fatture/fe/document-fe.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/fatture/fe/row-fe.php b/modules/fatture/fe/row-fe.php index 1b59507e3..be5561bdf 100755 --- a/modules/fatture/fe/row-fe.php +++ b/modules/fatture/fe/row-fe.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/fatture/fe/style.css b/modules/fatture/fe/style.css index 428305ddb..aff004f63 100755 --- a/modules/fatture/fe/style.css +++ b/modules/fatture/fe/style.css @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + .first-level{ background-color: #ffffff; } diff --git a/modules/fatture/init.php b/modules/fatture/init.php index b72fea3e1..b1af4e9f7 100755 --- a/modules/fatture/init.php +++ b/modules/fatture/init.php @@ -1,4 +1,21 @@ . + */ use Modules\Fatture\Fattura; diff --git a/modules/fatture/modutil.php b/modules/fatture/modutil.php index d75c14729..c6b9e1ae0 100755 --- a/modules/fatture/modutil.php +++ b/modules/fatture/modutil.php @@ -1,4 +1,21 @@ . + */ use Modules\Fatture\Fattura; use Util\Generator; diff --git a/modules/fatture/row-add.php b/modules/fatture/row-add.php index ddc111348..5cd0d7a08 100755 --- a/modules/fatture/row-add.php +++ b/modules/fatture/row-add.php @@ -1,4 +1,21 @@ . + */ use Modules\Fatture\Fattura; diff --git a/modules/fatture/row-edit.php b/modules/fatture/row-edit.php index 23b4662d5..450c81fb8 100755 --- a/modules/fatture/row-edit.php +++ b/modules/fatture/row-edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Fatture\Fattura; diff --git a/modules/fatture/row-list.php b/modules/fatture/row-list.php index fac8e8fd9..db904678e 100755 --- a/modules/fatture/row-list.php +++ b/modules/fatture/row-list.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/fatture/src/Components/Articolo.php b/modules/fatture/src/Components/Articolo.php index 4123917cf..8e1ede3ce 100755 --- a/modules/fatture/src/Components/Articolo.php +++ b/modules/fatture/src/Components/Articolo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Components; diff --git a/modules/fatture/src/Components/Descrizione.php b/modules/fatture/src/Components/Descrizione.php index 5c8e22715..5e5ce32f9 100755 --- a/modules/fatture/src/Components/Descrizione.php +++ b/modules/fatture/src/Components/Descrizione.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Components; diff --git a/modules/fatture/src/Components/RelationTrait.php b/modules/fatture/src/Components/RelationTrait.php index cf7a87b3d..3225afbfa 100755 --- a/modules/fatture/src/Components/RelationTrait.php +++ b/modules/fatture/src/Components/RelationTrait.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Components; diff --git a/modules/fatture/src/Components/Riga.php b/modules/fatture/src/Components/Riga.php index 87ea14656..ba4259f1e 100755 --- a/modules/fatture/src/Components/Riga.php +++ b/modules/fatture/src/Components/Riga.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Components; diff --git a/modules/fatture/src/Components/Sconto.php b/modules/fatture/src/Components/Sconto.php index 8ded9e499..f0448cbd0 100755 --- a/modules/fatture/src/Components/Sconto.php +++ b/modules/fatture/src/Components/Sconto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Components; diff --git a/modules/fatture/src/Fattura.php b/modules/fatture/src/Fattura.php index 0aa9dfecb..b2b2f64a2 100755 --- a/modules/fatture/src/Fattura.php +++ b/modules/fatture/src/Fattura.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture; diff --git a/modules/fatture/src/Gestori/Bollo.php b/modules/fatture/src/Gestori/Bollo.php index 39b871cd2..7a3758007 100644 --- a/modules/fatture/src/Gestori/Bollo.php +++ b/modules/fatture/src/Gestori/Bollo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Gestori; diff --git a/modules/fatture/src/Gestori/Movimenti.php b/modules/fatture/src/Gestori/Movimenti.php index 92ea70821..58f64e60a 100644 --- a/modules/fatture/src/Gestori/Movimenti.php +++ b/modules/fatture/src/Gestori/Movimenti.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Gestori; diff --git a/modules/fatture/src/Gestori/Scadenze.php b/modules/fatture/src/Gestori/Scadenze.php index d235ca365..36e1bf0ff 100644 --- a/modules/fatture/src/Gestori/Scadenze.php +++ b/modules/fatture/src/Gestori/Scadenze.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture\Gestori; diff --git a/modules/fatture/src/Stato.php b/modules/fatture/src/Stato.php index a3e67039f..66628d0de 100755 --- a/modules/fatture/src/Stato.php +++ b/modules/fatture/src/Stato.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture; diff --git a/modules/fatture/src/StatoFE.php b/modules/fatture/src/StatoFE.php index 4ce50b84c..704ea1b90 100755 --- a/modules/fatture/src/StatoFE.php +++ b/modules/fatture/src/StatoFE.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture; diff --git a/modules/fatture/src/Tipo.php b/modules/fatture/src/Tipo.php index aeef5a855..d9481658e 100755 --- a/modules/fatture/src/Tipo.php +++ b/modules/fatture/src/Tipo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Fatture; diff --git a/modules/fatture/variables.php b/modules/fatture/variables.php index d011bc69f..f074222ba 100755 --- a/modules/fatture/variables.php +++ b/modules/fatture/variables.php @@ -1,4 +1,21 @@ . + */ $r = $dbo->fetchOne('SELECT co_documenti.*, an_anagrafiche.email, diff --git a/modules/gestione_componenti/actions.php b/modules/gestione_componenti/actions.php index 35fdf7e6a..ccf0c0016 100755 --- a/modules/gestione_componenti/actions.php +++ b/modules/gestione_componenti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/gestione_componenti/add.php b/modules/gestione_componenti/add.php index 3b7a00f56..54b48c502 100755 --- a/modules/gestione_componenti/add.php +++ b/modules/gestione_componenti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/gestione_componenti/ajax/select.php b/modules/gestione_componenti/ajax/select.php index d17ff8306..b7ac5095a 100755 --- a/modules/gestione_componenti/ajax/select.php +++ b/modules/gestione_componenti/ajax/select.php @@ -1,4 +1,21 @@ . + */ use Util\Ini; diff --git a/modules/gestione_componenti/edit.php b/modules/gestione_componenti/edit.php index 25a7903c3..066217461 100755 --- a/modules/gestione_componenti/edit.php +++ b/modules/gestione_componenti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/gestione_componenti/init.php b/modules/gestione_componenti/init.php index a019da540..f4b5e494d 100755 --- a/modules/gestione_componenti/init.php +++ b/modules/gestione_componenti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/gestione_documentale/actions.php b/modules/gestione_documentale/actions.php index 8be71dacb..4b910b41d 100755 --- a/modules/gestione_documentale/actions.php +++ b/modules/gestione_documentale/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/gestione_documentale/add.php b/modules/gestione_documentale/add.php index a340184a8..21049d0e6 100755 --- a/modules/gestione_documentale/add.php +++ b/modules/gestione_documentale/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/gestione_documentale/edit.php b/modules/gestione_documentale/edit.php index 540d3359c..f1711ec12 100755 --- a/modules/gestione_documentale/edit.php +++ b/modules/gestione_documentale/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/gestione_documentale/init.php b/modules/gestione_documentale/init.php index dec369e8f..043cb0930 100755 --- a/modules/gestione_documentale/init.php +++ b/modules/gestione_documentale/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/giacenze_sedi/controller_before.php b/modules/giacenze_sedi/controller_before.php index 8f1076d8f..0bae709fd 100644 --- a/modules/giacenze_sedi/controller_before.php +++ b/modules/giacenze_sedi/controller_before.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/giacenze_sedi/init.php b/modules/giacenze_sedi/init.php index b7fdadd15..4e6f556ea 100644 --- a/modules/giacenze_sedi/init.php +++ b/modules/giacenze_sedi/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impianti/actions.php b/modules/impianti/actions.php index f745967c1..cba2c958d 100644 --- a/modules/impianti/actions.php +++ b/modules/impianti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impianti/add.php b/modules/impianti/add.php index 11cfa4865..4776a7454 100644 --- a/modules/impianti/add.php +++ b/modules/impianti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impianti/ajax/search.php b/modules/impianti/ajax/search.php index 6d7cc8ac9..9988b77d2 100644 --- a/modules/impianti/ajax/search.php +++ b/modules/impianti/ajax/search.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/impianti/ajax/select.php b/modules/impianti/ajax/select.php index 7ce580907..d757ea052 100755 --- a/modules/impianti/ajax/select.php +++ b/modules/impianti/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/impianti/buttons.php b/modules/impianti/buttons.php index 5d0c2c3ee..a73951be6 100755 --- a/modules/impianti/buttons.php +++ b/modules/impianti/buttons.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impianti/edit.php b/modules/impianti/edit.php index b87e73524..982bb0030 100644 --- a/modules/impianti/edit.php +++ b/modules/impianti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impianti/init.php b/modules/impianti/init.php index 640673621..67a6f0f6d 100755 --- a/modules/impianti/init.php +++ b/modules/impianti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impianti/modutil.php b/modules/impianti/modutil.php index 41b480f5d..c909130da 100755 --- a/modules/impianti/modutil.php +++ b/modules/impianti/modutil.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impianti/plugins/my_impianti.componenti.php b/modules/impianti/plugins/my_impianti.componenti.php index 12ae06693..f138af22a 100755 --- a/modules/impianti/plugins/my_impianti.componenti.php +++ b/modules/impianti/plugins/my_impianti.componenti.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; @@ -263,7 +280,7 @@ if (!empty($rs2)) { // Pulsante Salva/Elimina echo ' -
    +
    '.tr('Elimina').''; // Sostituisci componente con un altro dello stesso tipo, posso sostituire solo i componenti installati diff --git a/modules/impianti/plugins/my_impianti.interventi.php b/modules/impianti/plugins/my_impianti.interventi.php index 153f881dc..4e8d7c441 100644 --- a/modules/impianti/plugins/my_impianti.interventi.php +++ b/modules/impianti/plugins/my_impianti.interventi.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/impianti/src/API/v1/Impianti.php b/modules/impianti/src/API/v1/Impianti.php index 7a86f7980..160aaca95 100755 --- a/modules/impianti/src/API/v1/Impianti.php +++ b/modules/impianti/src/API/v1/Impianti.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Impianti\API\v1; diff --git a/modules/impianti/src/Impianto.php b/modules/impianti/src/Impianto.php index 1c4b27348..a319cf3c5 100644 --- a/modules/impianti/src/Impianto.php +++ b/modules/impianti/src/Impianto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Impianti; diff --git a/modules/import/actions.php b/modules/import/actions.php index 894ab83fd..3dbf5ca18 100755 --- a/modules/import/actions.php +++ b/modules/import/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/import/add.php b/modules/import/add.php index 87e35f0f0..c7f5eba60 100755 --- a/modules/import/add.php +++ b/modules/import/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/import/edit.php b/modules/import/edit.php index dcc2d32ef..c108db8b0 100755 --- a/modules/import/edit.php +++ b/modules/import/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/import/init.php b/modules/import/init.php index 9dbe28806..8bb628937 100755 --- a/modules/import/init.php +++ b/modules/import/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impostazioni/actions.php b/modules/impostazioni/actions.php index fb957ab0c..09198b68d 100755 --- a/modules/impostazioni/actions.php +++ b/modules/impostazioni/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impostazioni/edit.php b/modules/impostazioni/edit.php index 133e2d5a2..e1ddc3808 100755 --- a/modules/impostazioni/edit.php +++ b/modules/impostazioni/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/impostazioni/init.php b/modules/impostazioni/init.php index 0affd50ac..ae6c8e6a6 100755 --- a/modules/impostazioni/init.php +++ b/modules/impostazioni/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/actions.php b/modules/interventi/actions.php index 302aa44f8..df1df09a0 100644 --- a/modules/interventi/actions.php +++ b/modules/interventi/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/add.php b/modules/interventi/add.php index 598850951..e6c359042 100755 --- a/modules/interventi/add.php +++ b/modules/interventi/add.php @@ -1,4 +1,21 @@ . + */ use Modules\Interventi\Intervento; diff --git a/modules/interventi/ajax/search.php b/modules/interventi/ajax/search.php index d33e4a5da..db31459c8 100755 --- a/modules/interventi/ajax/search.php +++ b/modules/interventi/ajax/search.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/interventi/ajax/select.php b/modules/interventi/ajax/select.php index 58c51e2c0..4af118f59 100755 --- a/modules/interventi/ajax/select.php +++ b/modules/interventi/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/interventi/ajax_costi.php b/modules/interventi/ajax_costi.php index 33567186a..5a6c51820 100755 --- a/modules/interventi/ajax_costi.php +++ b/modules/interventi/ajax_costi.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/ajax_tecnici.php b/modules/interventi/ajax_tecnici.php index b656e4c9b..4a6d3db70 100755 --- a/modules/interventi/ajax_tecnici.php +++ b/modules/interventi/ajax_tecnici.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/bulk.php b/modules/interventi/bulk.php index da116ec57..989e082d3 100755 --- a/modules/interventi/bulk.php +++ b/modules/interventi/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/buttons.php b/modules/interventi/buttons.php index 70dc5550a..74fda88c7 100755 --- a/modules/interventi/buttons.php +++ b/modules/interventi/buttons.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/crea_documento.php b/modules/interventi/crea_documento.php index 82f3f4148..2f471e86f 100644 --- a/modules/interventi/crea_documento.php +++ b/modules/interventi/crea_documento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/edit.php b/modules/interventi/edit.php index c55133560..def1d2fd1 100755 --- a/modules/interventi/edit.php +++ b/modules/interventi/edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Anagrafiche\Anagrafica; use Modules\Anagrafiche\Sede; diff --git a/modules/interventi/init.php b/modules/interventi/init.php index 409195d51..cf96a3ec0 100755 --- a/modules/interventi/init.php +++ b/modules/interventi/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/modals/anteprima_firma.php b/modules/interventi/modals/anteprima_firma.php index ee17aa781..14bdd1c01 100644 --- a/modules/interventi/modals/anteprima_firma.php +++ b/modules/interventi/modals/anteprima_firma.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/interventi/modals/duplicazione.php b/modules/interventi/modals/duplicazione.php index ff7d42729..ece22d003 100644 --- a/modules/interventi/modals/duplicazione.php +++ b/modules/interventi/modals/duplicazione.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/interventi/modals/manage_sessione.php b/modules/interventi/modals/manage_sessione.php index abcc1f023..4ea42d050 100644 --- a/modules/interventi/modals/manage_sessione.php +++ b/modules/interventi/modals/manage_sessione.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; include_once __DIR__.'/../../../../core.php'; diff --git a/modules/interventi/modutil.php b/modules/interventi/modutil.php index aa7ddf324..7ed77c741 100755 --- a/modules/interventi/modutil.php +++ b/modules/interventi/modutil.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/interventi/occupazione_tecnici.php b/modules/interventi/occupazione_tecnici.php index 5cd78ef3b..b3764efa5 100644 --- a/modules/interventi/occupazione_tecnici.php +++ b/modules/interventi/occupazione_tecnici.php @@ -1,4 +1,21 @@ . + */ use Modules\Interventi\Intervento; diff --git a/modules/interventi/plugins/my_impianti.interventi.php b/modules/interventi/plugins/my_impianti.interventi.php index a33f9e5b4..1f2e14691 100755 --- a/modules/interventi/plugins/my_impianti.interventi.php +++ b/modules/interventi/plugins/my_impianti.interventi.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/interventi/row-add.php b/modules/interventi/row-add.php index 089ba8a63..0e4d0bdc9 100755 --- a/modules/interventi/row-add.php +++ b/modules/interventi/row-add.php @@ -1,4 +1,21 @@ . + */ use Modules\Interventi\Intervento; diff --git a/modules/interventi/row-edit.php b/modules/interventi/row-edit.php index 6b979c7c1..a850e24bd 100755 --- a/modules/interventi/row-edit.php +++ b/modules/interventi/row-edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Interventi\Intervento; diff --git a/modules/interventi/row-list.php b/modules/interventi/row-list.php index c10ed08a3..b77b5d367 100755 --- a/modules/interventi/row-list.php +++ b/modules/interventi/row-list.php @@ -1,4 +1,21 @@ . + */ use Modules\Interventi\Intervento; diff --git a/modules/interventi/src/API/v1/Articoli.php b/modules/interventi/src/API/v1/Articoli.php index bf97d0917..0b67cafad 100755 --- a/modules/interventi/src/API/v1/Articoli.php +++ b/modules/interventi/src/API/v1/Articoli.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\API\v1; diff --git a/modules/interventi/src/API/v1/Firma.php b/modules/interventi/src/API/v1/Firma.php index 0faf49882..3fe52b9b2 100755 --- a/modules/interventi/src/API/v1/Firma.php +++ b/modules/interventi/src/API/v1/Firma.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\API\v1; diff --git a/modules/interventi/src/API/v1/Impianti.php b/modules/interventi/src/API/v1/Impianti.php index b5830dac8..becebaeed 100755 --- a/modules/interventi/src/API/v1/Impianti.php +++ b/modules/interventi/src/API/v1/Impianti.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\API\v1; diff --git a/modules/interventi/src/API/v1/Interventi.php b/modules/interventi/src/API/v1/Interventi.php index 33f5460fa..6376659c2 100755 --- a/modules/interventi/src/API/v1/Interventi.php +++ b/modules/interventi/src/API/v1/Interventi.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\API\v1; diff --git a/modules/interventi/src/API/v1/Rapportino.php b/modules/interventi/src/API/v1/Rapportino.php index 93fe8520d..bd1fb71c3 100755 --- a/modules/interventi/src/API/v1/Rapportino.php +++ b/modules/interventi/src/API/v1/Rapportino.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\API\v1; diff --git a/modules/interventi/src/API/v1/Sessioni.php b/modules/interventi/src/API/v1/Sessioni.php index 87fa75a75..73ab9d6cf 100755 --- a/modules/interventi/src/API/v1/Sessioni.php +++ b/modules/interventi/src/API/v1/Sessioni.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\API\v1; diff --git a/modules/interventi/src/API/v1/Sync.php b/modules/interventi/src/API/v1/Sync.php index 5d33b5b41..27091de55 100755 --- a/modules/interventi/src/API/v1/Sync.php +++ b/modules/interventi/src/API/v1/Sync.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\API\v1; diff --git a/modules/interventi/src/Components/Articolo.php b/modules/interventi/src/Components/Articolo.php index ab06b6111..425ca0eae 100755 --- a/modules/interventi/src/Components/Articolo.php +++ b/modules/interventi/src/Components/Articolo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\Components; diff --git a/modules/interventi/src/Components/RelationTrait.php b/modules/interventi/src/Components/RelationTrait.php index 7b84900d1..70df4e638 100755 --- a/modules/interventi/src/Components/RelationTrait.php +++ b/modules/interventi/src/Components/RelationTrait.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\Components; diff --git a/modules/interventi/src/Components/Riga.php b/modules/interventi/src/Components/Riga.php index a533ac5f6..acf8a326a 100755 --- a/modules/interventi/src/Components/Riga.php +++ b/modules/interventi/src/Components/Riga.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\Components; diff --git a/modules/interventi/src/Components/Sconto.php b/modules/interventi/src/Components/Sconto.php index 401b1df54..5b7eeeb63 100755 --- a/modules/interventi/src/Components/Sconto.php +++ b/modules/interventi/src/Components/Sconto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\Components; diff --git a/modules/interventi/src/Components/Sessione.php b/modules/interventi/src/Components/Sessione.php index fbcbaa3ec..d562e49d2 100755 --- a/modules/interventi/src/Components/Sessione.php +++ b/modules/interventi/src/Components/Sessione.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi\Components; diff --git a/modules/interventi/src/Intervento.php b/modules/interventi/src/Intervento.php index b06e0e272..1c501a5cc 100755 --- a/modules/interventi/src/Intervento.php +++ b/modules/interventi/src/Intervento.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi; diff --git a/modules/interventi/src/Stato.php b/modules/interventi/src/Stato.php index 2dbc5c394..a900a7001 100755 --- a/modules/interventi/src/Stato.php +++ b/modules/interventi/src/Stato.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi; diff --git a/modules/interventi/src/Tipo.php b/modules/interventi/src/Tipo.php index c5870cbe1..f237511b7 100755 --- a/modules/interventi/src/Tipo.php +++ b/modules/interventi/src/Tipo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Interventi; diff --git a/modules/interventi/variables.php b/modules/interventi/variables.php index c05c5d745..88cee03f4 100755 --- a/modules/interventi/variables.php +++ b/modules/interventi/variables.php @@ -1,4 +1,21 @@ . + */ $r = $dbo->fetchOne('SELECT *, (SELECT MAX(orario_fine) FROM in_interventi_tecnici WHERE idintervento=in_interventi.id) AS data_fine, diff --git a/modules/interventi/widgets/interventi_confermati.php b/modules/interventi/widgets/interventi_confermati.php index 3e9c97548..8ffadee3d 100755 --- a/modules/interventi/widgets/interventi_confermati.php +++ b/modules/interventi/widgets/interventi_confermati.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/interventi/widgets/interventi_da_pianificare.php b/modules/interventi/widgets/interventi_da_pianificare.php index ad6dd035d..c4aa67352 100755 --- a/modules/interventi/widgets/interventi_da_pianificare.php +++ b/modules/interventi/widgets/interventi_da_pianificare.php @@ -1,4 +1,21 @@ . + */ use Modules\Interventi\Intervento; diff --git a/modules/interventi/widgets/interventi_da_programmare.php b/modules/interventi/widgets/interventi_da_programmare.php index f0126e0bc..6a4679912 100755 --- a/modules/interventi/widgets/interventi_da_programmare.php +++ b/modules/interventi/widgets/interventi_da_programmare.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/iva/actions.php b/modules/iva/actions.php index 30e1e1ab3..43fff2d20 100755 --- a/modules/iva/actions.php +++ b/modules/iva/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/iva/add.php b/modules/iva/add.php index 68c404632..30319ad7b 100755 --- a/modules/iva/add.php +++ b/modules/iva/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/iva/ajax/select.php b/modules/iva/ajax/select.php index d1af8d9d5..4659d6db6 100755 --- a/modules/iva/ajax/select.php +++ b/modules/iva/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/iva/bulk.php b/modules/iva/bulk.php index b15b6c7c6..3e8a97388 100755 --- a/modules/iva/bulk.php +++ b/modules/iva/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/iva/edit.php b/modules/iva/edit.php index c1fbfb2d0..b109ab7a6 100755 --- a/modules/iva/edit.php +++ b/modules/iva/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/iva/init.php b/modules/iva/init.php index 020e5c567..ea5320a4f 100755 --- a/modules/iva/init.php +++ b/modules/iva/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/iva/src/Aliquota.php b/modules/iva/src/Aliquota.php index ed94e6bf7..046254bf6 100755 --- a/modules/iva/src/Aliquota.php +++ b/modules/iva/src/Aliquota.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Iva; diff --git a/modules/liste_newsletter/actions.php b/modules/liste_newsletter/actions.php index 9962f6129..a2d45943e 100755 --- a/modules/liste_newsletter/actions.php +++ b/modules/liste_newsletter/actions.php @@ -1,4 +1,21 @@ . + */ use Modules\Newsletter\Lista; diff --git a/modules/liste_newsletter/add.php b/modules/liste_newsletter/add.php index 0c0a5dd94..5e128dff8 100755 --- a/modules/liste_newsletter/add.php +++ b/modules/liste_newsletter/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/liste_newsletter/edit.php b/modules/liste_newsletter/edit.php index 176fe40f0..6b7f8102e 100755 --- a/modules/liste_newsletter/edit.php +++ b/modules/liste_newsletter/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -12,20 +29,20 @@ echo '

    '.tr('Dati campagna').'

    - +
    {[ "type": "text", "label": "'.tr('Nome').'", "name": "name", "required": 1, "value": "$name$" ]}
    - +
    {[ "type": "textarea", "label": "'.tr('Descrizione').'", "name": "description", "required": 0, "value": "$description$" ]}
    - +
    {[ "type": "textarea", "label": "'.tr('Query dinamica').'", "name": "query", "required": 0, "value": "$query$", "help": "'.tr("La query SQL deve restituire gli identificativi delle anagrafiche da inserire nella lista, sotto un campo di nome ''id''").'. '.tr('Per esempio: _SQL_', [ @@ -40,20 +57,20 @@ echo ' - +

    '.tr('Aggiunta destinatari').'

    - +
    {[ "type": "select", "label": "'.tr('Destinatari').'", "name": "receivers[]", "ajax-source": "anagrafiche_newsletter", "multiple": 1, "disabled": '.intval(!empty($lista->query)).' ]}
    - +
    - +
    '; if (!$anagrafiche->isEmpty()) { @@ -89,7 +106,7 @@ if (!$anagrafiche->isEmpty()) { # - + '; foreach ($anagrafiche as $anagrafica) { diff --git a/modules/liste_newsletter/init.php b/modules/liste_newsletter/init.php index 5ca7aa7a1..08f862e1c 100755 --- a/modules/liste_newsletter/init.php +++ b/modules/liste_newsletter/init.php @@ -1,4 +1,21 @@ . + */ use Modules\Newsletter\Lista; diff --git a/modules/listini/actions.php b/modules/listini/actions.php index 76a7898f1..2eb290748 100755 --- a/modules/listini/actions.php +++ b/modules/listini/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/listini/add.php b/modules/listini/add.php index 329f42ab6..c0b5c9d08 100755 --- a/modules/listini/add.php +++ b/modules/listini/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/listini/edit.php b/modules/listini/edit.php index 04bf92331..84af6435d 100755 --- a/modules/listini/edit.php +++ b/modules/listini/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/listini/init.php b/modules/listini/init.php index 808c9bbf9..538c46e84 100755 --- a/modules/listini/init.php +++ b/modules/listini/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/listini/src/Listino.php b/modules/listini/src/Listino.php index 139b98b45..9d059bf83 100755 --- a/modules/listini/src/Listino.php +++ b/modules/listini/src/Listino.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Listini; diff --git a/modules/misure/actions.php b/modules/misure/actions.php index 3f96411f7..0c12ad190 100755 --- a/modules/misure/actions.php +++ b/modules/misure/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/misure/add.php b/modules/misure/add.php index 4ddf363a5..44504635b 100755 --- a/modules/misure/add.php +++ b/modules/misure/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/misure/edit.php b/modules/misure/edit.php index 859452726..5d6f72407 100755 --- a/modules/misure/edit.php +++ b/modules/misure/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/misure/init.php b/modules/misure/init.php index aa35cf974..59889e6c9 100755 --- a/modules/misure/init.php +++ b/modules/misure/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/modelli_primanota/actions.php b/modules/modelli_primanota/actions.php index a3954a2b4..27d81b7d8 100755 --- a/modules/modelli_primanota/actions.php +++ b/modules/modelli_primanota/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/modelli_primanota/add.php b/modules/modelli_primanota/add.php index 5fc507025..334ff99ac 100755 --- a/modules/modelli_primanota/add.php +++ b/modules/modelli_primanota/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/modelli_primanota/edit.php b/modules/modelli_primanota/edit.php index 9342832a6..8d4220fe3 100755 --- a/modules/modelli_primanota/edit.php +++ b/modules/modelli_primanota/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/modelli_primanota/init.php b/modules/modelli_primanota/init.php index 8903f4738..b205192ba 100755 --- a/modules/modelli_primanota/init.php +++ b/modules/modelli_primanota/init.php @@ -1,4 +1,21 @@ . + */ if (isset($id_record)) { $record = $dbo->fetchOne('SELECT * FROM co_movimenti_modelli WHERE idmastrino='.prepare($id_record)); diff --git a/modules/movimenti/actions.php b/modules/movimenti/actions.php index bbc519a9a..e7300225e 100755 --- a/modules/movimenti/actions.php +++ b/modules/movimenti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/movimenti/add.php b/modules/movimenti/add.php index 67e87cc04..ca2f0666a 100755 --- a/modules/movimenti/add.php +++ b/modules/movimenti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/newsletter/actions.php b/modules/newsletter/actions.php index 5d20c32e2..abfc84c95 100755 --- a/modules/newsletter/actions.php +++ b/modules/newsletter/actions.php @@ -1,4 +1,21 @@ . + */ use Modules\Emails\Template; use Modules\Newsletter\Lista; diff --git a/modules/newsletter/add.php b/modules/newsletter/add.php index 505e86276..04cb4fdc0 100755 --- a/modules/newsletter/add.php +++ b/modules/newsletter/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -11,7 +28,7 @@ echo '
    {[ "type": "select", "label": "'.tr('Template email').'", "name": "id_template", "values": "query=SELECT id, name AS descrizione FROM em_templates", "required": 1 ]}
    - +
    {[ "type": "text", "label": "'.tr('Nome').'", "name": "name", "required": 1 ]}
    diff --git a/modules/newsletter/ajax/select.php b/modules/newsletter/ajax/select.php index 16313a79f..6f737ca56 100755 --- a/modules/newsletter/ajax/select.php +++ b/modules/newsletter/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/newsletter/buttons.php b/modules/newsletter/buttons.php index 813b52f25..c5c30164e 100755 --- a/modules/newsletter/buttons.php +++ b/modules/newsletter/buttons.php @@ -1,4 +1,21 @@ . + */ if ($newsletter->state == 'DEV') { echo ' diff --git a/modules/newsletter/edit.php b/modules/newsletter/edit.php index 48ecbb7e4..2a42df4d4 100755 --- a/modules/newsletter/edit.php +++ b/modules/newsletter/edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Emails\Mail; @@ -31,23 +48,23 @@ echo '

    '.tr('Dati campagna').'

    - +
    {[ "type": "select", "label": "'.tr('Template email').'", "name": "id_template", "values": "query=SELECT id, name AS descrizione FROM em_templates", "required": 1, "value": "$id_template$", "disabled": 1 ]}
    - +
    {[ "type": "text", "label": "'.tr('Nome').'", "name": "name", "required": 1, "value": "$name$" ]}
    - +
    {[ "type": "select", "label": "'.tr('Stato').'", "name": "state", "values": '.json_encode($stati).', "required": 1, "value": "$state$", "class": "unblockable" ]}
    - +
    {[ "type": "timestamp", "label": "'.tr('Data di completamento').'", "name": "completed_at", "value": "$completed_at$", "disabled": 1 ]}
    @@ -58,13 +75,13 @@ echo ' {[ "type": "text", "label": "'.tr('Oggetto').'", "name": "subject", "value": "$subject$" ]}
    - +
    {[ "type": "ckeditor", "label": "'.tr('Contenuto').'", "name": "content", "value": "$content$" ]}
    - +
    @@ -72,24 +89,24 @@ echo '
    - +

    '.tr('Aggiunta destinatari').'

    - +
    {[ "type": "select", "label": "'.tr('Destinatari').'", "name": "receivers[]", "ajax-source": "anagrafiche_newsletter", "multiple": 1 ]}
    - +
    {[ "type": "select", "label": "'.tr('Lista').'", "name": "id_list", "ajax-source": "liste_newsletter" ]}
    - +
    - +
    '; if (!$anagrafiche->isEmpty()) { @@ -145,7 +162,7 @@ if (!$anagrafiche->isEmpty()) { # - + '; foreach ($anagrafiche as $anagrafica) { diff --git a/modules/newsletter/init.php b/modules/newsletter/init.php index 0383a1d81..4d791d35c 100755 --- a/modules/newsletter/init.php +++ b/modules/newsletter/init.php @@ -1,4 +1,21 @@ . + */ use Modules\Newsletter\Newsletter; diff --git a/modules/newsletter/src/Lista.php b/modules/newsletter/src/Lista.php index dcd212fe2..ea2b15c47 100755 --- a/modules/newsletter/src/Lista.php +++ b/modules/newsletter/src/Lista.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Newsletter; diff --git a/modules/newsletter/src/Newsletter.php b/modules/newsletter/src/Newsletter.php index 904457948..dda5ca248 100755 --- a/modules/newsletter/src/Newsletter.php +++ b/modules/newsletter/src/Newsletter.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Newsletter; diff --git a/modules/ordini/actions.php b/modules/ordini/actions.php index e8ce3e2ef..f4a240c33 100755 --- a/modules/ordini/actions.php +++ b/modules/ordini/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ordini/add.php b/modules/ordini/add.php index 5de816dbb..e314d9d77 100755 --- a/modules/ordini/add.php +++ b/modules/ordini/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ordini/buttons.php b/modules/ordini/buttons.php index 1c37b1c63..1a04af32c 100755 --- a/modules/ordini/buttons.php +++ b/modules/ordini/buttons.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ordini/crea_documento.php b/modules/ordini/crea_documento.php index 5d35722cd..b01ab135d 100755 --- a/modules/ordini/crea_documento.php +++ b/modules/ordini/crea_documento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ordini/edit.php b/modules/ordini/edit.php index 748bf696a..16a3b3281 100755 --- a/modules/ordini/edit.php +++ b/modules/ordini/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ordini/init.php b/modules/ordini/init.php index 3ae0d2988..2ca63cb91 100755 --- a/modules/ordini/init.php +++ b/modules/ordini/init.php @@ -1,4 +1,21 @@ . + */ use Modules\Ordini\Ordine; diff --git a/modules/ordini/modutil.php b/modules/ordini/modutil.php index e902124ec..a60602377 100755 --- a/modules/ordini/modutil.php +++ b/modules/ordini/modutil.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ordini/quantita_impegnate.php b/modules/ordini/quantita_impegnate.php index d10754742..952d7ed84 100644 --- a/modules/ordini/quantita_impegnate.php +++ b/modules/ordini/quantita_impegnate.php @@ -1,4 +1,21 @@ . + */ use Modules\Ordini\Ordine; diff --git a/modules/ordini/row-add.php b/modules/ordini/row-add.php index 359071dd3..67eb65136 100755 --- a/modules/ordini/row-add.php +++ b/modules/ordini/row-add.php @@ -1,4 +1,21 @@ . + */ use Modules\Ordini\Ordine; diff --git a/modules/ordini/row-edit.php b/modules/ordini/row-edit.php index 113a8f6d7..378432174 100755 --- a/modules/ordini/row-edit.php +++ b/modules/ordini/row-edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Ordini\Ordine; diff --git a/modules/ordini/row-list.php b/modules/ordini/row-list.php index 8d4cf15ed..c94c75fcc 100755 --- a/modules/ordini/row-list.php +++ b/modules/ordini/row-list.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ordini/src/Components/Articolo.php b/modules/ordini/src/Components/Articolo.php index 22224cead..062f5b5e8 100755 --- a/modules/ordini/src/Components/Articolo.php +++ b/modules/ordini/src/Components/Articolo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini\Components; diff --git a/modules/ordini/src/Components/Descrizione.php b/modules/ordini/src/Components/Descrizione.php index ff5a7fc9c..a57455f4d 100755 --- a/modules/ordini/src/Components/Descrizione.php +++ b/modules/ordini/src/Components/Descrizione.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini\Components; diff --git a/modules/ordini/src/Components/RelationTrait.php b/modules/ordini/src/Components/RelationTrait.php index ff60c06bc..5303b5c41 100755 --- a/modules/ordini/src/Components/RelationTrait.php +++ b/modules/ordini/src/Components/RelationTrait.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini\Components; diff --git a/modules/ordini/src/Components/Riga.php b/modules/ordini/src/Components/Riga.php index 3ad6cc0a6..46f4131fa 100755 --- a/modules/ordini/src/Components/Riga.php +++ b/modules/ordini/src/Components/Riga.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini\Components; diff --git a/modules/ordini/src/Components/Sconto.php b/modules/ordini/src/Components/Sconto.php index 72c6b187d..ebb3d3bbe 100755 --- a/modules/ordini/src/Components/Sconto.php +++ b/modules/ordini/src/Components/Sconto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini\Components; diff --git a/modules/ordini/src/Ordine.php b/modules/ordini/src/Ordine.php index f615fc114..32e8a5857 100755 --- a/modules/ordini/src/Ordine.php +++ b/modules/ordini/src/Ordine.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini; diff --git a/modules/ordini/src/Stato.php b/modules/ordini/src/Stato.php index 76fba510c..166a0f3dc 100755 --- a/modules/ordini/src/Stato.php +++ b/modules/ordini/src/Stato.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini; diff --git a/modules/ordini/src/Tipo.php b/modules/ordini/src/Tipo.php index 880b3d35f..c7e460764 100755 --- a/modules/ordini/src/Tipo.php +++ b/modules/ordini/src/Tipo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ordini; diff --git a/modules/ordini/variables.php b/modules/ordini/variables.php index 6d9af8947..09fdba771 100755 --- a/modules/ordini/variables.php +++ b/modules/ordini/variables.php @@ -1,4 +1,21 @@ . + */ $r = $dbo->fetchOne('SELECT *, (SELECT email FROM an_anagrafiche WHERE an_anagrafiche.idanagrafica=or_ordini.idanagrafica) AS email diff --git a/modules/pagamenti/actions.php b/modules/pagamenti/actions.php index 95a73e90d..afd7a3ffe 100755 --- a/modules/pagamenti/actions.php +++ b/modules/pagamenti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/pagamenti/add.php b/modules/pagamenti/add.php index ea9522732..ce538eace 100755 --- a/modules/pagamenti/add.php +++ b/modules/pagamenti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -10,7 +27,7 @@ include_once __DIR__.'/../../core.php';
    {[ "type": "text", "label": "", "name": "descrizione", "required": 1 ]}
    - +
    {[ "type": "select", "label": "", "name": "codice_modalita_pagamento_fe", "value": "", "values": "query=SELECT codice as id, CONCAT(codice, ' - ', descrizione) AS descrizione FROM fe_modalita_pagamento", "required": 1 ]}
    diff --git a/modules/pagamenti/ajax/select.php b/modules/pagamenti/ajax/select.php index 7861d0b1a..b16b9569b 100755 --- a/modules/pagamenti/ajax/select.php +++ b/modules/pagamenti/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/pagamenti/edit.php b/modules/pagamenti/edit.php index cdfe92f48..3f0874d1f 100755 --- a/modules/pagamenti/edit.php +++ b/modules/pagamenti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/pagamenti/init.php b/modules/pagamenti/init.php index 90e8596b8..f139cfef2 100755 --- a/modules/pagamenti/init.php +++ b/modules/pagamenti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/pagamenti/src/Pagamento.php b/modules/pagamenti/src/Pagamento.php index da5a9c9ad..ab9acfae3 100755 --- a/modules/pagamenti/src/Pagamento.php +++ b/modules/pagamenti/src/Pagamento.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Pagamenti; diff --git a/modules/partitario/actions.php b/modules/partitario/actions.php index 0fbe96c08..5ee536c4f 100755 --- a/modules/partitario/actions.php +++ b/modules/partitario/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/partitario/add_conto.php b/modules/partitario/add_conto.php index f822b390d..15d1ef001 100755 --- a/modules/partitario/add_conto.php +++ b/modules/partitario/add_conto.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/partitario/aggiorna_reddito.php b/modules/partitario/aggiorna_reddito.php index 309414210..1317dd791 100644 --- a/modules/partitario/aggiorna_reddito.php +++ b/modules/partitario/aggiorna_reddito.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/partitario/ajax/select.php b/modules/partitario/ajax/select.php index 8e6a5dc92..d360732ed 100755 --- a/modules/partitario/ajax/select.php +++ b/modules/partitario/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/partitario/dettagli_conto.php b/modules/partitario/dettagli_conto.php index 6c4f62614..463eda2c8 100755 --- a/modules/partitario/dettagli_conto.php +++ b/modules/partitario/dettagli_conto.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/partitario/edit.php b/modules/partitario/edit.php index 783ef8aaa..1ca136f5d 100755 --- a/modules/partitario/edit.php +++ b/modules/partitario/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/partitario/edit_conto.php b/modules/partitario/edit_conto.php index fb3504f28..13a78b87b 100755 --- a/modules/partitario/edit_conto.php +++ b/modules/partitario/edit_conto.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/porti/actions.php b/modules/porti/actions.php index 7095ef2f2..1087ec6fd 100755 --- a/modules/porti/actions.php +++ b/modules/porti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/porti/add.php b/modules/porti/add.php index c8c446c62..c289b3336 100755 --- a/modules/porti/add.php +++ b/modules/porti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/porti/edit.php b/modules/porti/edit.php index 4a7623283..ec86aad1b 100755 --- a/modules/porti/edit.php +++ b/modules/porti/edit.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; ?> diff --git a/modules/porti/init.php b/modules/porti/init.php index 9666e08f7..c439ca738 100755 --- a/modules/porti/init.php +++ b/modules/porti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/actions.php b/modules/preventivi/actions.php index 2bee19e75..299e8d042 100755 --- a/modules/preventivi/actions.php +++ b/modules/preventivi/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/add.php b/modules/preventivi/add.php index e8526c63e..8303b1100 100755 --- a/modules/preventivi/add.php +++ b/modules/preventivi/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/ajax.php b/modules/preventivi/ajax.php index edf62b5d7..64b9a607b 100755 --- a/modules/preventivi/ajax.php +++ b/modules/preventivi/ajax.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/ajax/search.php b/modules/preventivi/ajax/search.php index 45d7fbc08..68815958a 100755 --- a/modules/preventivi/ajax/search.php +++ b/modules/preventivi/ajax/search.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/preventivi/ajax/select.php b/modules/preventivi/ajax/select.php index 4d7a51600..d815aaa2e 100755 --- a/modules/preventivi/ajax/select.php +++ b/modules/preventivi/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/preventivi/bulk.php b/modules/preventivi/bulk.php index 56e4d7485..f1ee78107 100755 --- a/modules/preventivi/bulk.php +++ b/modules/preventivi/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/buttons.php b/modules/preventivi/buttons.php index 95a0dbb8b..5fa6b67fd 100644 --- a/modules/preventivi/buttons.php +++ b/modules/preventivi/buttons.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/crea_documento.php b/modules/preventivi/crea_documento.php index e634302de..c4ded5979 100644 --- a/modules/preventivi/crea_documento.php +++ b/modules/preventivi/crea_documento.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/edit.php b/modules/preventivi/edit.php index 6e9ad3270..67ad43573 100755 --- a/modules/preventivi/edit.php +++ b/modules/preventivi/edit.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; $block_edit = $record['is_completato']; diff --git a/modules/preventivi/init.php b/modules/preventivi/init.php index 480d77119..cbcab63da 100755 --- a/modules/preventivi/init.php +++ b/modules/preventivi/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/modutil.php b/modules/preventivi/modutil.php index 5090d1dce..322e000fb 100755 --- a/modules/preventivi/modutil.php +++ b/modules/preventivi/modutil.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/plugins/preventivi.consuntivo.php b/modules/preventivi/plugins/preventivi.consuntivo.php index e3d438d71..83b570221 100755 --- a/modules/preventivi/plugins/preventivi.consuntivo.php +++ b/modules/preventivi/plugins/preventivi.consuntivo.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/preventivi/row-add.php b/modules/preventivi/row-add.php index 5018c203d..02061b40c 100755 --- a/modules/preventivi/row-add.php +++ b/modules/preventivi/row-add.php @@ -1,4 +1,21 @@ . + */ use Modules\Preventivi\Preventivo; diff --git a/modules/preventivi/row-edit.php b/modules/preventivi/row-edit.php index edcbeb682..643e3f99e 100755 --- a/modules/preventivi/row-edit.php +++ b/modules/preventivi/row-edit.php @@ -1,4 +1,21 @@ . + */ use Modules\Preventivi\Preventivo; diff --git a/modules/preventivi/row-list.php b/modules/preventivi/row-list.php index 03913fccc..1be523b8d 100755 --- a/modules/preventivi/row-list.php +++ b/modules/preventivi/row-list.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/preventivi/src/Components/Articolo.php b/modules/preventivi/src/Components/Articolo.php index 89f109d28..647879739 100755 --- a/modules/preventivi/src/Components/Articolo.php +++ b/modules/preventivi/src/Components/Articolo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Preventivi\Components; diff --git a/modules/preventivi/src/Components/Descrizione.php b/modules/preventivi/src/Components/Descrizione.php index c0301a796..4f8320183 100755 --- a/modules/preventivi/src/Components/Descrizione.php +++ b/modules/preventivi/src/Components/Descrizione.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Preventivi\Components; diff --git a/modules/preventivi/src/Components/RelationTrait.php b/modules/preventivi/src/Components/RelationTrait.php index 64826346a..f0a75d56d 100755 --- a/modules/preventivi/src/Components/RelationTrait.php +++ b/modules/preventivi/src/Components/RelationTrait.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Preventivi\Components; diff --git a/modules/preventivi/src/Components/Riga.php b/modules/preventivi/src/Components/Riga.php index ed6406042..41f4c1a5f 100755 --- a/modules/preventivi/src/Components/Riga.php +++ b/modules/preventivi/src/Components/Riga.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Preventivi\Components; diff --git a/modules/preventivi/src/Components/Sconto.php b/modules/preventivi/src/Components/Sconto.php index 7f30887e1..91796eebc 100755 --- a/modules/preventivi/src/Components/Sconto.php +++ b/modules/preventivi/src/Components/Sconto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Preventivi\Components; diff --git a/modules/preventivi/src/Preventivo.php b/modules/preventivi/src/Preventivo.php index 5b9cfe8dd..7e15fa5dc 100755 --- a/modules/preventivi/src/Preventivo.php +++ b/modules/preventivi/src/Preventivo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Preventivi; diff --git a/modules/preventivi/src/Stato.php b/modules/preventivi/src/Stato.php index 2b0c40002..901b71548 100755 --- a/modules/preventivi/src/Stato.php +++ b/modules/preventivi/src/Stato.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Preventivi; diff --git a/modules/preventivi/variables.php b/modules/preventivi/variables.php index 58dfdfb90..10ead8a6d 100755 --- a/modules/preventivi/variables.php +++ b/modules/preventivi/variables.php @@ -1,4 +1,21 @@ . + */ $r = $dbo->fetchOne('SELECT *, an_anagrafiche.ragione_sociale, diff --git a/modules/preventivi/widgets/preventivi.dashboard.php b/modules/preventivi/widgets/preventivi.dashboard.php index 4bc9c95a3..552da03fe 100755 --- a/modules/preventivi/widgets/preventivi.dashboard.php +++ b/modules/preventivi/widgets/preventivi.dashboard.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/primanota/actions.php b/modules/primanota/actions.php index ec8f4c4bb..81470a5ed 100755 --- a/modules/primanota/actions.php +++ b/modules/primanota/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/primanota/add.php b/modules/primanota/add.php index 5d2684c75..0a8deb379 100755 --- a/modules/primanota/add.php +++ b/modules/primanota/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/primanota/ajax/complete.php b/modules/primanota/ajax/complete.php index 98a1f75a4..b966ac5fc 100755 --- a/modules/primanota/ajax/complete.php +++ b/modules/primanota/ajax/complete.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/primanota/edit.php b/modules/primanota/edit.php index f586f24a8..437a24305 100755 --- a/modules/primanota/edit.php +++ b/modules/primanota/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/primanota/init.php b/modules/primanota/init.php index adbe0885c..4f721e72b 100755 --- a/modules/primanota/init.php +++ b/modules/primanota/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/primanota/movimenti.php b/modules/primanota/movimenti.php index a09b75684..64313e41f 100755 --- a/modules/primanota/movimenti.php +++ b/modules/primanota/movimenti.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/primanota/src/Mastrino.php b/modules/primanota/src/Mastrino.php index 99cfc22fc..ecd03fa0f 100755 --- a/modules/primanota/src/Mastrino.php +++ b/modules/primanota/src/Mastrino.php @@ -1,4 +1,21 @@ . + */ namespace Modules\PrimaNota; diff --git a/modules/primanota/src/Movimento.php b/modules/primanota/src/Movimento.php index ac02d74a2..5277ce0f8 100755 --- a/modules/primanota/src/Movimento.php +++ b/modules/primanota/src/Movimento.php @@ -1,4 +1,21 @@ . + */ namespace Modules\PrimaNota; diff --git a/modules/relazioni_anagrafiche/actions.php b/modules/relazioni_anagrafiche/actions.php index eb50cd53b..0d5f005ab 100755 --- a/modules/relazioni_anagrafiche/actions.php +++ b/modules/relazioni_anagrafiche/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/relazioni_anagrafiche/add.php b/modules/relazioni_anagrafiche/add.php index a5bc9726e..0f07f4cbd 100755 --- a/modules/relazioni_anagrafiche/add.php +++ b/modules/relazioni_anagrafiche/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/relazioni_anagrafiche/edit.php b/modules/relazioni_anagrafiche/edit.php index 789d93311..5462d61b1 100755 --- a/modules/relazioni_anagrafiche/edit.php +++ b/modules/relazioni_anagrafiche/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/relazioni_anagrafiche/init.php b/modules/relazioni_anagrafiche/init.php index 820c0a54e..1d10aaa04 100755 --- a/modules/relazioni_anagrafiche/init.php +++ b/modules/relazioni_anagrafiche/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute/actions.php b/modules/ritenute/actions.php index 8254c9333..38e214f98 100755 --- a/modules/ritenute/actions.php +++ b/modules/ritenute/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute/add.php b/modules/ritenute/add.php index 81e3a8388..9af010bfb 100755 --- a/modules/ritenute/add.php +++ b/modules/ritenute/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute/edit.php b/modules/ritenute/edit.php index 880024df0..32630a1c9 100755 --- a/modules/ritenute/edit.php +++ b/modules/ritenute/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute/init.php b/modules/ritenute/init.php index b2a106ed6..8ee97f8c3 100755 --- a/modules/ritenute/init.php +++ b/modules/ritenute/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute/src/RitenutaAcconto.php b/modules/ritenute/src/RitenutaAcconto.php index 6cd66ba51..d14ededf9 100755 --- a/modules/ritenute/src/RitenutaAcconto.php +++ b/modules/ritenute/src/RitenutaAcconto.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Ritenute; diff --git a/modules/ritenute_contributi/actions.php b/modules/ritenute_contributi/actions.php index 391e66416..1ae0d53d3 100755 --- a/modules/ritenute_contributi/actions.php +++ b/modules/ritenute_contributi/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute_contributi/add.php b/modules/ritenute_contributi/add.php index 072270a57..2a75bc03e 100755 --- a/modules/ritenute_contributi/add.php +++ b/modules/ritenute_contributi/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute_contributi/edit.php b/modules/ritenute_contributi/edit.php index 880024df0..32630a1c9 100755 --- a/modules/ritenute_contributi/edit.php +++ b/modules/ritenute_contributi/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute_contributi/init.php b/modules/ritenute_contributi/init.php index 8f7ac13ac..867e2b00e 100755 --- a/modules/ritenute_contributi/init.php +++ b/modules/ritenute_contributi/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/ritenute_contributi/src/RitenutaContributi.php b/modules/ritenute_contributi/src/RitenutaContributi.php index 82e9cf7fb..004a680da 100755 --- a/modules/ritenute_contributi/src/RitenutaContributi.php +++ b/modules/ritenute_contributi/src/RitenutaContributi.php @@ -1,4 +1,21 @@ . + */ namespace Modules\RitenuteContributi; diff --git a/modules/rivalse/actions.php b/modules/rivalse/actions.php index 9a8d0b64a..bba2b97b5 100755 --- a/modules/rivalse/actions.php +++ b/modules/rivalse/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/rivalse/add.php b/modules/rivalse/add.php index 6f76ca5d0..ac81e9b75 100755 --- a/modules/rivalse/add.php +++ b/modules/rivalse/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/rivalse/edit.php b/modules/rivalse/edit.php index 437989795..3c6aab14c 100755 --- a/modules/rivalse/edit.php +++ b/modules/rivalse/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/rivalse/init.php b/modules/rivalse/init.php index 1f2bf07b7..96a87cd11 100755 --- a/modules/rivalse/init.php +++ b/modules/rivalse/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/rivalse/src/RivalsaINPS.php b/modules/rivalse/src/RivalsaINPS.php index 2dd8aba60..d1e5e41b5 100755 --- a/modules/rivalse/src/RivalsaINPS.php +++ b/modules/rivalse/src/RivalsaINPS.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Rivalse; diff --git a/modules/scadenzario/actions.php b/modules/scadenzario/actions.php index dc9663d6e..96b992d8f 100755 --- a/modules/scadenzario/actions.php +++ b/modules/scadenzario/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/scadenzario/add.php b/modules/scadenzario/add.php index 49ccdd442..ed18fc6c5 100755 --- a/modules/scadenzario/add.php +++ b/modules/scadenzario/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/scadenzario/bulk.php b/modules/scadenzario/bulk.php index 053250a76..717c797f4 100755 --- a/modules/scadenzario/bulk.php +++ b/modules/scadenzario/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/scadenzario/controller_after.php b/modules/scadenzario/controller_after.php index b185c764b..ce862f2c7 100755 --- a/modules/scadenzario/controller_after.php +++ b/modules/scadenzario/controller_after.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -20,4 +37,4 @@ if (empty($dbo->fetchArray('SELECT * FROM co_scadenziario'))) {
    -
    \ No newline at end of file +
    diff --git a/modules/scadenzario/edit.php b/modules/scadenzario/edit.php index 1c21fa7f5..11344934f 100755 --- a/modules/scadenzario/edit.php +++ b/modules/scadenzario/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/scadenzario/init.php b/modules/scadenzario/init.php index 9bac386bd..8f72b6982 100755 --- a/modules/scadenzario/init.php +++ b/modules/scadenzario/init.php @@ -1,4 +1,21 @@ . + */ use Modules\Fatture\Fattura; diff --git a/modules/scadenzario/src/Scadenza.php b/modules/scadenzario/src/Scadenza.php index 4eefbf2dc..1dfae7e38 100755 --- a/modules/scadenzario/src/Scadenza.php +++ b/modules/scadenzario/src/Scadenza.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Scadenzario; diff --git a/modules/scadenzario/variables.php b/modules/scadenzario/variables.php index fb6e1dfa2..3b7d44395 100755 --- a/modules/scadenzario/variables.php +++ b/modules/scadenzario/variables.php @@ -1,4 +1,21 @@ . + */ $r = $dbo->fetchOne('SELECT co_scadenziario.*, co_documenti.*, an_anagrafiche.email, diff --git a/modules/segmenti/actions.php b/modules/segmenti/actions.php index 095386a0a..5e04cf779 100755 --- a/modules/segmenti/actions.php +++ b/modules/segmenti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/segmenti/add.php b/modules/segmenti/add.php index 0ae3bb283..efd394e3d 100755 --- a/modules/segmenti/add.php +++ b/modules/segmenti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/segmenti/edit.php b/modules/segmenti/edit.php index 923dcfa7f..950bd730c 100755 --- a/modules/segmenti/edit.php +++ b/modules/segmenti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/segmenti/init.php b/modules/segmenti/init.php index a45ec8c64..d6dcd2d48 100755 --- a/modules/segmenti/init.php +++ b/modules/segmenti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/smtp/actions.php b/modules/smtp/actions.php index 5024b314b..5f1d655fc 100755 --- a/modules/smtp/actions.php +++ b/modules/smtp/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/smtp/add.php b/modules/smtp/add.php index 9724ec638..d03082739 100755 --- a/modules/smtp/add.php +++ b/modules/smtp/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/smtp/ajax/select.php b/modules/smtp/ajax/select.php index 764f66ff9..c408bb0b6 100755 --- a/modules/smtp/ajax/select.php +++ b/modules/smtp/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/smtp/buttons.php b/modules/smtp/buttons.php index c341832c4..dce189c14 100755 --- a/modules/smtp/buttons.php +++ b/modules/smtp/buttons.php @@ -1,4 +1,21 @@ . + */ echo '
    - +
    {[ "type": "checkbox", "label": "", "name": "is_completato", "value": "$is_completato$", "help": "", "placeholder": "", "extra": "" ]}
    - +
    {[ "type": "checkbox", "label": "", "name": "is_pianificabile", "value": "$is_pianificabile$", "help": "", "placeholder": "", "extra": "" ]}
    - +
    {[ "type": "checkbox", "label": "", "name": "is_fatturabile", "value": "$is_fatturabile$", "help": "", "placeholder": "", "extra": "" ]}
    @@ -35,4 +52,4 @@ include_once __DIR__.'/../../core.php';
    - \ No newline at end of file + diff --git a/modules/stati_contratto/edit.php b/modules/stati_contratto/edit.php index 6a1655857..b4bc3d5b3 100755 --- a/modules/stati_contratto/edit.php +++ b/modules/stati_contratto/edit.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; if ($record['can_delete']) { @@ -58,4 +76,4 @@ if (!empty($record['can_delete'])) { '; } -?> \ No newline at end of file +?> diff --git a/modules/stati_contratto/init.php b/modules/stati_contratto/init.php index aa32c64e0..e98a56030 100755 --- a/modules/stati_contratto/init.php +++ b/modules/stati_contratto/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stati_contratto/src/API/v1/StatiContratti.php b/modules/stati_contratto/src/API/v1/StatiContratti.php index 10bc80bbf..a4ad72cfe 100755 --- a/modules/stati_contratto/src/API/v1/StatiContratti.php +++ b/modules/stati_contratto/src/API/v1/StatiContratti.php @@ -1,4 +1,21 @@ . + */ namespace Modules\StatiContratto\API\v1; diff --git a/modules/stati_intervento/actions.php b/modules/stati_intervento/actions.php index 96b817cb0..dcc347362 100755 --- a/modules/stati_intervento/actions.php +++ b/modules/stati_intervento/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stati_intervento/add.php b/modules/stati_intervento/add.php index 773186ad5..552920406 100755 --- a/modules/stati_intervento/add.php +++ b/modules/stati_intervento/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stati_intervento/edit.php b/modules/stati_intervento/edit.php index acebaeacd..5a3992ed1 100755 --- a/modules/stati_intervento/edit.php +++ b/modules/stati_intervento/edit.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; if ($record['can_delete']) { diff --git a/modules/stati_intervento/init.php b/modules/stati_intervento/init.php index 56428869f..c3d6a24fb 100755 --- a/modules/stati_intervento/init.php +++ b/modules/stati_intervento/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stati_intervento/src/API/v1/StatiInterventi.php b/modules/stati_intervento/src/API/v1/StatiInterventi.php index 338f2fdbb..bdb4d6710 100755 --- a/modules/stati_intervento/src/API/v1/StatiInterventi.php +++ b/modules/stati_intervento/src/API/v1/StatiInterventi.php @@ -1,4 +1,21 @@ . + */ namespace Modules\StatiIntervento\API\v1; diff --git a/modules/stati_preventivo/actions.php b/modules/stati_preventivo/actions.php index 43a2fc8df..b817afa33 100755 --- a/modules/stati_preventivo/actions.php +++ b/modules/stati_preventivo/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stati_preventivo/add.php b/modules/stati_preventivo/add.php index ef2f8c60c..d028822bd 100755 --- a/modules/stati_preventivo/add.php +++ b/modules/stati_preventivo/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -11,16 +28,16 @@ include_once __DIR__.'/../../core.php'; {[ "type": "text", "label": "", "name": "descrizione", "required": 1 ]}
    - +
    {[ "type": "checkbox", "label": "", "name": "is_completato", "value": "$is_completato$", "help": "", "placeholder": "", "extra": "" ]}
    - +
    {[ "type": "checkbox", "label": "", "name": "is_pianificabile", "value": "$is_pianificabile$", "help": "", "placeholder": "", "extra": "" ]}
    - +
    {[ "type": "checkbox", "label": "", "name": "is_fatturabile", "value": "$is_fatturabile$", "help": "", "placeholder": "", "extra": "" ]}
    @@ -35,4 +52,4 @@ include_once __DIR__.'/../../core.php';
    - \ No newline at end of file + diff --git a/modules/stati_preventivo/edit.php b/modules/stati_preventivo/edit.php index 23c5a7465..5b25f3a1f 100755 --- a/modules/stati_preventivo/edit.php +++ b/modules/stati_preventivo/edit.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; if ($record['can_delete']) { @@ -60,4 +78,4 @@ if (!empty($record['can_delete'])) { '; } -?> \ No newline at end of file +?> diff --git a/modules/stati_preventivo/init.php b/modules/stati_preventivo/init.php index 1d8336f51..514cba581 100755 --- a/modules/stati_preventivo/init.php +++ b/modules/stati_preventivo/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stati_preventivo/src/API/v1/StatiPreventivi.php b/modules/stati_preventivo/src/API/v1/StatiPreventivi.php index bb340a949..f18939b7b 100755 --- a/modules/stati_preventivo/src/API/v1/StatiPreventivi.php +++ b/modules/stati_preventivo/src/API/v1/StatiPreventivi.php @@ -1,4 +1,21 @@ . + */ namespace Modules\StatiPreventivo\API\v1; diff --git a/modules/statistiche/actions.php b/modules/statistiche/actions.php index 6c80528fc..e163c25ca 100755 --- a/modules/statistiche/actions.php +++ b/modules/statistiche/actions.php @@ -1,4 +1,21 @@ . + */ use Modules\Statistiche\Stats; diff --git a/modules/statistiche/edit.php b/modules/statistiche/edit.php index d619e2220..4b87f105b 100755 --- a/modules/statistiche/edit.php +++ b/modules/statistiche/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/statistiche/js/calendar.js b/modules/statistiche/js/calendar.js index 4e0bc7f7b..652af8276 100755 --- a/modules/statistiche/js/calendar.js +++ b/modules/statistiche/js/calendar.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class Calendar { constructor(info, id){ this.info = info; diff --git a/modules/statistiche/js/functions.js b/modules/statistiche/js/functions.js index 16070eee6..0b4f3cf33 100755 --- a/modules/statistiche/js/functions.js +++ b/modules/statistiche/js/functions.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + var manager = manager ? manager : undefined; function remove_calendar(button) { diff --git a/modules/statistiche/js/init.js b/modules/statistiche/js/init.js index 4d44945cd..c903e1a59 100755 --- a/modules/statistiche/js/init.js +++ b/modules/statistiche/js/init.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + // Inzializzazione manager standard var info = { url: local_url, diff --git a/modules/statistiche/js/manager.js b/modules/statistiche/js/manager.js index eabe4d38d..8256cde22 100755 --- a/modules/statistiche/js/manager.js +++ b/modules/statistiche/js/manager.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class Manager { constructor(info) { this.info = info; diff --git a/modules/statistiche/js/stat.js b/modules/statistiche/js/stat.js index ef5a61f89..f1bfbdf22 100755 --- a/modules/statistiche/js/stat.js +++ b/modules/statistiche/js/stat.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class Stat { constructor(calendar, file, data = {}){ this.calendar = calendar; diff --git a/modules/statistiche/js/stats/line_chart.js b/modules/statistiche/js/stats/line_chart.js index f30ce17a3..7b3e38d4c 100755 --- a/modules/statistiche/js/stats/line_chart.js +++ b/modules/statistiche/js/stats/line_chart.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class LineChart extends Stat { constructor(calendar, file, data = {}, chart){ super(calendar, file, data); diff --git a/modules/statistiche/js/stats/table.js b/modules/statistiche/js/stats/table.js index b7de960a4..762df8cad 100755 --- a/modules/statistiche/js/stats/table.js +++ b/modules/statistiche/js/stats/table.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class Table extends Stat { constructor(calendar, file, data = {}, id){ super(calendar, file, data); diff --git a/modules/statistiche/js/stats/widget.js b/modules/statistiche/js/stats/widget.js index e3b0b4163..d06f59ac6 100755 --- a/modules/statistiche/js/stats/widget.js +++ b/modules/statistiche/js/stats/widget.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class Widget extends Table { } diff --git a/modules/statistiche/src/Stats.php b/modules/statistiche/src/Stats.php index 79ad4cca5..4f8f65605 100755 --- a/modules/statistiche/src/Stats.php +++ b/modules/statistiche/src/Stats.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Statistiche; diff --git a/modules/stato_email/actions.php b/modules/stato_email/actions.php index 2b7728ccb..6842a389c 100755 --- a/modules/stato_email/actions.php +++ b/modules/stato_email/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; use Notifications\EmailNotification; diff --git a/modules/stato_email/bulk.php b/modules/stato_email/bulk.php index a3287ad00..06ea9d177 100644 --- a/modules/stato_email/bulk.php +++ b/modules/stato_email/bulk.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stato_email/buttons.php b/modules/stato_email/buttons.php index b607ef216..f5d344d26 100644 --- a/modules/stato_email/buttons.php +++ b/modules/stato_email/buttons.php @@ -1,4 +1,21 @@ . + */ if (($record['attempt'] >= 10) && empty($record['sent_at'])) { echo ' diff --git a/modules/stato_email/edit.php b/modules/stato_email/edit.php index 52f356fcf..155ba9ea5 100755 --- a/modules/stato_email/edit.php +++ b/modules/stato_email/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -8,15 +25,15 @@ echo '

    '.tr('Informazioni').'

    - +
    - +

    '.tr('Template').'

    '.Modules::link('Template email', $mail->template->id, $mail->template->name).'
    - +

    '.tr('Utente').'

    '.Modules::link('Anagrafiche', $mail->user->anagrafica->id, $mail->user->nome_completo).' @@ -26,7 +43,7 @@ echo '

    '.tr('Data di invio').'

    '.($mail->sent_at ? timestampFormat($mail->sent_at) : '-').'
    - +

    '.tr('Ultimo tentativo').'

    '.($mail->processing_at ? timestampFormat($mail->processing_at) : '-').' ('.tr('totale: _TOT_', [ @@ -63,7 +80,7 @@ echo ' '.tr('Indirizzo').' - + '; foreach ($receivers as $receiver) { @@ -91,7 +108,7 @@ echo ' '.tr('Nome').' - + '; foreach ($prints as $print) { @@ -121,7 +138,7 @@ echo ' '.tr('Nome').' - + '; foreach ($uploads as $upload) { diff --git a/modules/stato_email/init.php b/modules/stato_email/init.php index ad0d40654..247245c76 100755 --- a/modules/stato_email/init.php +++ b/modules/stato_email/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stato_servizi/actions.php b/modules/stato_servizi/actions.php index 14caee72a..c3c8c81e0 100755 --- a/modules/stato_servizi/actions.php +++ b/modules/stato_servizi/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/stato_servizi/edit.php b/modules/stato_servizi/edit.php index a12053184..398a5b3ff 100755 --- a/modules/stato_servizi/edit.php +++ b/modules/stato_servizi/edit.php @@ -1,4 +1,21 @@ . + */ // Elenco moduli installati echo ' diff --git a/modules/stato_servizi/modutil.php b/modules/stato_servizi/modutil.php index bbac4db4a..0c445ea1d 100755 --- a/modules/stato_servizi/modutil.php +++ b/modules/stato_servizi/modutil.php @@ -1,4 +1,21 @@ . + */ function submodules($list, $depth = 0) { diff --git a/modules/stato_servizi/src/API/v1/FolderSize.php b/modules/stato_servizi/src/API/v1/FolderSize.php index e339635f1..c17e6f57c 100755 --- a/modules/stato_servizi/src/API/v1/FolderSize.php +++ b/modules/stato_servizi/src/API/v1/FolderSize.php @@ -1,4 +1,21 @@ . + */ namespace Modules\StatoServizi\API\v1; diff --git a/modules/stato_servizi/widgets/spazio_utilizzato.php b/modules/stato_servizi/widgets/spazio_utilizzato.php index 1b46a7195..32f7c3972 100755 --- a/modules/stato_servizi/widgets/spazio_utilizzato.php +++ b/modules/stato_servizi/widgets/spazio_utilizzato.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; @@ -23,7 +40,7 @@ $(document).ready(function() { }, success: function(data) { data = JSON.parse(data); - + crea_grafico(data); } }); @@ -36,7 +53,7 @@ function crea_grafico(values){ $labels = []; values.forEach(function(element) { $data.push(element.size); - + //Segnalazione se sul server sembrano mancare file rispetto a quanto previsto a DB if (element.dbSize!==""){ if (element.size "+diff+" file non trovati sul disco.

    "); - + } } @@ -64,7 +81,7 @@ function crea_grafico(values){ $("#message").append("

    Top 10 allegati:

    "); element.dbExtensions.forEach(function(extension) { - + $("#message").append("
    "+extension["NUM"]+" file con estensione "+extension["EXTENSION"]+".

    "); }); @@ -75,9 +92,9 @@ function crea_grafico(values){ $labels.push(element.description + " (" + element.formattedSize + ")" + " [" + element.count + "]" ) - + }); - + options = { legend: { display: true, @@ -112,7 +129,7 @@ function crea_grafico(values){ displayColors: true } }; - + data = { datasets: [{ data: $data, @@ -133,7 +150,7 @@ function crea_grafico(values){ \'rgba(255, 159, 64, 1)\' ], }], - + labels: $labels, }; diff --git a/modules/tecnici_tariffe/actions.php b/modules/tecnici_tariffe/actions.php index 7b5db3749..7a4593ca4 100755 --- a/modules/tecnici_tariffe/actions.php +++ b/modules/tecnici_tariffe/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tecnici_tariffe/edit.php b/modules/tecnici_tariffe/edit.php index 8ef4ec7a2..f789d74e1 100755 --- a/modules/tecnici_tariffe/edit.php +++ b/modules/tecnici_tariffe/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -6,7 +23,7 @@ echo '
    - +
    @@ -17,12 +34,12 @@ echo '
    - + - + - + '; @@ -56,7 +73,7 @@ echo ' foreach ($tipi_interventi as $tipo_intervento) { echo ' - + - + - + @@ -836,10 +854,10 @@
    - + - +
    '.tr('Attività').' '.tr('Addebito orario').' @@ -48,7 +65,7 @@ echo ' '.tr('Costo diritto ch.').'
    '.$tipo_intervento['descrizione'].' @@ -82,7 +99,7 @@ echo ' {[ "type": "number", "name": "costo_dirittochiamata_tecnico['.$tipo_intervento['id'].']", "required": 1, "value": "'.$tipo_intervento['costo_dirittochiamata_tecnico'].'" ]} diff --git a/modules/tecnici_tariffe/init.php b/modules/tecnici_tariffe/init.php index 271a99bb1..e60a4685b 100755 --- a/modules/tecnici_tariffe/init.php +++ b/modules/tecnici_tariffe/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_anagrafiche/actions.php b/modules/tipi_anagrafiche/actions.php index 0fe0d5d48..5ac681542 100755 --- a/modules/tipi_anagrafiche/actions.php +++ b/modules/tipi_anagrafiche/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_anagrafiche/add.php b/modules/tipi_anagrafiche/add.php index 2fb4edb06..3874ebb6a 100755 --- a/modules/tipi_anagrafiche/add.php +++ b/modules/tipi_anagrafiche/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_anagrafiche/edit.php b/modules/tipi_anagrafiche/edit.php index aa57979b8..83228b0e4 100755 --- a/modules/tipi_anagrafiche/edit.php +++ b/modules/tipi_anagrafiche/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_anagrafiche/init.php b/modules/tipi_anagrafiche/init.php index e9f6711e1..c3ba7dddf 100755 --- a/modules/tipi_anagrafiche/init.php +++ b/modules/tipi_anagrafiche/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_intervento/actions.php b/modules/tipi_intervento/actions.php index 9ed34603f..860635f96 100755 --- a/modules/tipi_intervento/actions.php +++ b/modules/tipi_intervento/actions.php @@ -1,4 +1,21 @@ . + */ use Modules\TipiIntervento\Tipo; diff --git a/modules/tipi_intervento/add.php b/modules/tipi_intervento/add.php index f960d519c..8ab1ee333 100755 --- a/modules/tipi_intervento/add.php +++ b/modules/tipi_intervento/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_intervento/buttons.php b/modules/tipi_intervento/buttons.php index 1459f698b..bcd2a4a5a 100755 --- a/modules/tipi_intervento/buttons.php +++ b/modules/tipi_intervento/buttons.php @@ -1,4 +1,21 @@ . + */ echo ' diff --git a/modules/tipi_intervento/edit.php b/modules/tipi_intervento/edit.php index 19c077363..8f725d369 100755 --- a/modules/tipi_intervento/edit.php +++ b/modules/tipi_intervento/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_intervento/init.php b/modules/tipi_intervento/init.php index 3aff99998..6966b6222 100755 --- a/modules/tipi_intervento/init.php +++ b/modules/tipi_intervento/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; use Modules\TipiIntervento\Tipo; diff --git a/modules/tipi_intervento/src/API/v1/TipiInterventi.php b/modules/tipi_intervento/src/API/v1/TipiInterventi.php index 7e254e41d..935146f7d 100755 --- a/modules/tipi_intervento/src/API/v1/TipiInterventi.php +++ b/modules/tipi_intervento/src/API/v1/TipiInterventi.php @@ -1,4 +1,21 @@ . + */ namespace Modules\TipiIntervento\API\v1; diff --git a/modules/tipi_intervento/src/Tipo.php b/modules/tipi_intervento/src/Tipo.php index efca528b8..e264fe885 100755 --- a/modules/tipi_intervento/src/Tipo.php +++ b/modules/tipi_intervento/src/Tipo.php @@ -1,4 +1,21 @@ . + */ namespace Modules\TipiIntervento; diff --git a/modules/tipi_scadenze/actions.php b/modules/tipi_scadenze/actions.php index c156c7bf0..8a5f938ca 100755 --- a/modules/tipi_scadenze/actions.php +++ b/modules/tipi_scadenze/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/tipi_scadenze/add.php b/modules/tipi_scadenze/add.php index 076009596..40691569a 100755 --- a/modules/tipi_scadenze/add.php +++ b/modules/tipi_scadenze/add.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; ?> @@ -20,4 +38,4 @@ include_once __DIR__.'/../../core.php'; - \ No newline at end of file + diff --git a/modules/tipi_scadenze/ajax/select.php b/modules/tipi_scadenze/ajax/select.php index 97e3dd0fd..17e8e46b6 100755 --- a/modules/tipi_scadenze/ajax/select.php +++ b/modules/tipi_scadenze/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; diff --git a/modules/tipi_scadenze/edit.php b/modules/tipi_scadenze/edit.php index 1c5c2edbc..a0de8201e 100755 --- a/modules/tipi_scadenze/edit.php +++ b/modules/tipi_scadenze/edit.php @@ -1,4 +1,22 @@ . + */ + include_once __DIR__.'/../../core.php'; // Collegamenti con scadenzaio (numerici) diff --git a/modules/tipi_scadenze/init.php b/modules/tipi_scadenze/init.php index c0bdf6d32..5fa3e382a 100755 --- a/modules/tipi_scadenze/init.php +++ b/modules/tipi_scadenze/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/actions.php b/modules/utenti/actions.php index c8725ed56..532f60c02 100755 --- a/modules/utenti/actions.php +++ b/modules/utenti/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/add.php b/modules/utenti/add.php index 0baf40ee3..52865a041 100755 --- a/modules/utenti/add.php +++ b/modules/utenti/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/ajax/select.php b/modules/utenti/ajax/select.php index 077fc0cb8..dca4eee23 100755 --- a/modules/utenti/ajax/select.php +++ b/modules/utenti/ajax/select.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../../core.php'; @@ -48,7 +65,7 @@ switch ($resource) { case 'utenti': $query = "SELECT zz_users.id AS id, if(`an_anagrafiche`.`idanagrafica` IS NOT NULL, CONCAT(`an_anagrafiche`.`ragione_sociale`, ' (', zz_users.username, ')'), zz_users.username) AS descrizione, `an_tipianagrafiche`.`descrizione` AS optgroup - FROM zz_users + FROM zz_users LEFT JOIN `an_anagrafiche` ON `an_anagrafiche`.`idanagrafica` = `zz_users`.`idanagrafica` INNER JOIN `an_tipianagrafiche_anagrafiche` ON `an_anagrafiche`.`idanagrafica`=`an_tipianagrafiche_anagrafiche`.`idanagrafica` INNER JOIN `an_tipianagrafiche` ON `an_tipianagrafiche`.`idtipoanagrafica`=`an_tipianagrafiche_anagrafiche`.`idtipoanagrafica` diff --git a/modules/utenti/components/base.php b/modules/utenti/components/base.php index 111466fd0..ed8b69608 100755 --- a/modules/utenti/components/base.php +++ b/modules/utenti/components/base.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/components/password.php b/modules/utenti/components/password.php index 35dfdb526..7085ea9db 100755 --- a/modules/utenti/components/password.php +++ b/modules/utenti/components/password.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/components/photo.php b/modules/utenti/components/photo.php index 052522951..bf153b2da 100755 --- a/modules/utenti/components/photo.php +++ b/modules/utenti/components/photo.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/edit.php b/modules/utenti/edit.php index 9056c1d4b..e40d02560 100755 --- a/modules/utenti/edit.php +++ b/modules/utenti/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/info.php b/modules/utenti/info.php index 4df4d9d19..fa7314817 100755 --- a/modules/utenti/info.php +++ b/modules/utenti/info.php @@ -1,4 +1,21 @@ . + */ $skip_permissions = true; include_once __DIR__.'/../../core.php'; @@ -29,7 +46,7 @@ echo '

    '.$user['username'].'

    '.$user['gruppo'].'
    - +
    '; $user_photo = $user->photo; @@ -51,7 +68,7 @@ echo ' '.(!empty($anagrafica) ? $anagrafica['ragione_sociale'] : tr('Nessuna')).'
    - +
    - +
    diff --git a/modules/utenti/init.php b/modules/utenti/init.php index 64b686f63..b7d7a0d34 100755 --- a/modules/utenti/init.php +++ b/modules/utenti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/modutil.php b/modules/utenti/modutil.php index 61450c75c..37e4973e1 100755 --- a/modules/utenti/modutil.php +++ b/modules/utenti/modutil.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/self.php b/modules/utenti/self.php index dd8ad2c23..aac10d738 100755 --- a/modules/utenti/self.php +++ b/modules/utenti/self.php @@ -1,4 +1,21 @@ . + */ $skip_permissions = true; include_once __DIR__.'/../../core.php'; diff --git a/modules/utenti/src/API/v1/Login.php b/modules/utenti/src/API/v1/Login.php index a30256bf8..0b75e51c3 100755 --- a/modules/utenti/src/API/v1/Login.php +++ b/modules/utenti/src/API/v1/Login.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Utenti\API\v1; diff --git a/modules/utenti/src/API/v1/Logout.php b/modules/utenti/src/API/v1/Logout.php index 68a8fb95b..c90b20b37 100755 --- a/modules/utenti/src/API/v1/Logout.php +++ b/modules/utenti/src/API/v1/Logout.php @@ -1,4 +1,21 @@ . + */ namespace Modules\Utenti\API\v1; diff --git a/modules/utenti/user.php b/modules/utenti/user.php index c8bbb0373..bee45d8e7 100755 --- a/modules/utenti/user.php +++ b/modules/utenti/user.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -32,7 +49,7 @@ echo '
    - + '; include $structure->filepath('components/photo.php'); @@ -45,13 +62,13 @@ if (!empty($user)) { {[ "type": "checkbox", "label": "'.tr('Cambia password').'", "name": "change_password", "value": "0" ]}
    - + '; diff --git a/plugins/dettagli_articolo/actions.php b/plugins/dettagli_articolo/actions.php index b55462006..68ee0d414 100755 --- a/plugins/dettagli_articolo/actions.php +++ b/plugins/dettagli_articolo/actions.php @@ -1,4 +1,21 @@ . + */ use Modules\Anagrafiche\Anagrafica; use Modules\Articoli\Articolo; diff --git a/plugins/dettagli_articolo/dettaglio_fornitore.php b/plugins/dettagli_articolo/dettaglio_fornitore.php index c260f316c..8735ce221 100644 --- a/plugins/dettagli_articolo/dettaglio_fornitore.php +++ b/plugins/dettagli_articolo/dettaglio_fornitore.php @@ -1,4 +1,21 @@ . + */ use Modules\Anagrafiche\Anagrafica; use Modules\Articoli\Articolo; diff --git a/plugins/dettagli_articolo/dettaglio_prezzi.php b/plugins/dettagli_articolo/dettaglio_prezzi.php index a3808f71f..d18016c23 100644 --- a/plugins/dettagli_articolo/dettaglio_prezzi.php +++ b/plugins/dettagli_articolo/dettaglio_prezzi.php @@ -1,4 +1,21 @@ . + */ use Modules\Anagrafiche\Anagrafica; use Modules\Articoli\Articolo; diff --git a/plugins/dettagli_articolo/edit.php b/plugins/dettagli_articolo/edit.php index 7cbb487d6..9409f5f1a 100755 --- a/plugins/dettagli_articolo/edit.php +++ b/plugins/dettagli_articolo/edit.php @@ -1,4 +1,21 @@ . + */ use Plugins\DettagliArticolo\DettaglioFornitore; use Plugins\DettagliArticolo\DettaglioPrezzo; diff --git a/plugins/dettagli_articolo/src/DettaglioFornitore.php b/plugins/dettagli_articolo/src/DettaglioFornitore.php index 2ff8417e1..207f6181f 100644 --- a/plugins/dettagli_articolo/src/DettaglioFornitore.php +++ b/plugins/dettagli_articolo/src/DettaglioFornitore.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\DettagliArticolo; diff --git a/plugins/dettagli_articolo/src/DettaglioPrezzo.php b/plugins/dettagli_articolo/src/DettaglioPrezzo.php index 149bb6726..dc8733b43 100644 --- a/plugins/dettagli_articolo/src/DettaglioPrezzo.php +++ b/plugins/dettagli_articolo/src/DettaglioPrezzo.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\DettagliArticolo; diff --git a/plugins/dettagli_articolo/src/METEL.php b/plugins/dettagli_articolo/src/METEL.php index 51378239c..4ca9812f6 100644 --- a/plugins/dettagli_articolo/src/METEL.php +++ b/plugins/dettagli_articolo/src/METEL.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\DettagliArticolo; diff --git a/plugins/dichiarazioni_intento/actions.php b/plugins/dichiarazioni_intento/actions.php index b0d3b4bc2..1bfadfdcb 100755 --- a/plugins/dichiarazioni_intento/actions.php +++ b/plugins/dichiarazioni_intento/actions.php @@ -1,4 +1,21 @@ . + */ use Modules\Anagrafiche\Anagrafica; use Plugins\DichiarazioniIntento\Dichiarazione; diff --git a/plugins/dichiarazioni_intento/add.php b/plugins/dichiarazioni_intento/add.php index 7aeac152b..3f229cc14 100755 --- a/plugins/dichiarazioni_intento/add.php +++ b/plugins/dichiarazioni_intento/add.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -16,7 +33,7 @@ echo '
    {[ "type": "text", "label": "'.tr('Numero protocollo').'", "name": "numero_protocollo", "required": 1 ]}
    - +
    {[ "type": "text", "label": "'.tr('Numero progressivo').'", "name": "numero_progressivo", "required": 1 ]}
    @@ -26,21 +43,21 @@ echo '
    {[ "type": "date", "label": "'.tr('Data di inizio').'", "name": "data_inizio", "required": 1 ]}
    - +
    {[ "type": "date", "label": "'.tr('Data di fine').'", "name": "data_fine", "required": 1 ]}
    - +
    {[ "type": "number", "label": "'.tr('Massimale').'", "name": "massimale", "required": 1, "icon-after": "'.currency().'" ]}
    - +
    {[ "type": "date", "label": "'.tr('Data protocollo').'", "name": "data_protocollo" ]}
    - +
    {[ "type": "date", "label": "'.tr('Data di emissione').'", "name": "data_emissione" ]}
    diff --git a/plugins/dichiarazioni_intento/edit.php b/plugins/dichiarazioni_intento/edit.php index 41d0ccdd1..364b633f7 100755 --- a/plugins/dichiarazioni_intento/edit.php +++ b/plugins/dichiarazioni_intento/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -18,7 +35,7 @@ echo '
    {[ "type": "text", "label": "'.tr('Numero protocollo').'", "name": "numero_protocollo", "required": 1, "value": "'.$record['numero_protocollo'].'" ]}
    - +
    {[ "type": "text", "label": "'.tr('Numero progressivo').'", "name": "numero_progressivo", "required": 1, "value": "'.$record['numero_progressivo'].'" ]}
    @@ -28,28 +45,28 @@ echo '
    {[ "type": "date", "label": "'.tr('Data di inizio').'", "name": "data_inizio", "required": 1, "value": "'.$record['data_inizio'].'" ]}
    - +
    {[ "type": "date", "label": "'.tr('Data di fine').'", "name": "data_fine", "required": 1, "value": "'.$record['data_fine'].'" ]}
    - +
    {[ "type": "number", "label": "'.tr('Massimale').'", "name": "massimale", "required": 1, "icon-after": "'.currency().'", "value": "'.$record['massimale'].'" ]}
    - +
    {[ "type": "date", "label": "'.tr('Data protocollo').'", "name": "data_protocollo", "value": "'.$record['data_protocollo'].'" ]}
    - +
    {[ "type": "date", "label": "'.tr('Data di emissione').'", "name": "data_emissione", "value": "'.$record['data_emissione'].'" ]}
    - +

    '.tr('Totale utilizzato').': '.moneyFormat($record['totale']).'

    - +
    diff --git a/plugins/dichiarazioni_intento/init.php b/plugins/dichiarazioni_intento/init.php index 08b7e9e1b..30382a581 100755 --- a/plugins/dichiarazioni_intento/init.php +++ b/plugins/dichiarazioni_intento/init.php @@ -1,4 +1,21 @@ . + */ use Plugins\DichiarazioniIntento\Dichiarazione; diff --git a/plugins/dichiarazioni_intento/src/Dichiarazione.php b/plugins/dichiarazioni_intento/src/Dichiarazione.php index 05018e32a..ec319b0bb 100755 --- a/plugins/dichiarazioni_intento/src/Dichiarazione.php +++ b/plugins/dichiarazioni_intento/src/Dichiarazione.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\DichiarazioniIntento; diff --git a/plugins/exportFE/actions.php b/plugins/exportFE/actions.php index 50d642d6a..dd522e2d4 100755 --- a/plugins/exportFE/actions.php +++ b/plugins/exportFE/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/init.php'; diff --git a/plugins/exportFE/download.php b/plugins/exportFE/download.php index deb4e8fb3..1c79ee42b 100755 --- a/plugins/exportFE/download.php +++ b/plugins/exportFE/download.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/init.php'; diff --git a/plugins/exportFE/edit.php b/plugins/exportFE/edit.php index 873939e24..f324874a4 100755 --- a/plugins/exportFE/edit.php +++ b/plugins/exportFE/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/init.php'; diff --git a/plugins/exportFE/init.php b/plugins/exportFE/init.php index fae8db0f4..26a965d8d 100755 --- a/plugins/exportFE/init.php +++ b/plugins/exportFE/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/plugins/exportFE/src/FatturaElettronica.php b/plugins/exportFE/src/FatturaElettronica.php index 4baa29d53..86de15ae5 100755 --- a/plugins/exportFE/src/FatturaElettronica.php +++ b/plugins/exportFE/src/FatturaElettronica.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\ExportFE; diff --git a/plugins/exportFE/src/Interaction.php b/plugins/exportFE/src/Interaction.php index f4a5137cc..2bc6d9bb3 100755 --- a/plugins/exportFE/src/Interaction.php +++ b/plugins/exportFE/src/Interaction.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\ExportFE; diff --git a/plugins/exportFE/src/InvoiceHook.php b/plugins/exportFE/src/InvoiceHook.php index 2711139f2..e08f627ba 100755 --- a/plugins/exportFE/src/InvoiceHook.php +++ b/plugins/exportFE/src/InvoiceHook.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\ExportFE; diff --git a/plugins/exportFE/src/Validator.php b/plugins/exportFE/src/Validator.php index 50cbfe5d2..f738adcc0 100755 --- a/plugins/exportFE/src/Validator.php +++ b/plugins/exportFE/src/Validator.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\ExportFE; diff --git a/plugins/importFE/actions.php b/plugins/importFE/actions.php index 4039db956..32cf26c8b 100755 --- a/plugins/importFE/actions.php +++ b/plugins/importFE/actions.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/plugins/importFE/buttons.php b/plugins/importFE/buttons.php index ccbab80d4..13ca4d236 100755 --- a/plugins/importFE/buttons.php +++ b/plugins/importFE/buttons.php @@ -1,4 +1,21 @@ . + */ echo '
    - +
    - +
    - +
    '; $statistiche = Modules::get('Statistiche'); @@ -46,7 +63,7 @@ var local_url = "'.str_replace('edit.php', '', $structure->fileurl('edit.php')). function init_calendar(calendar) { var widgets = new Widget(calendar, "info.php", {}, "#widgets"); - + calendar.addElement(widgets); } '; diff --git a/plugins/statistiche_anagrafiche/info.php b/plugins/statistiche_anagrafiche/info.php index f81af1560..83d4cb211 100755 --- a/plugins/statistiche_anagrafiche/info.php +++ b/plugins/statistiche_anagrafiche/info.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/plugins/statistiche_articoli/edit.php b/plugins/statistiche_articoli/edit.php index 71ae4bf14..258b48844 100755 --- a/plugins/statistiche_articoli/edit.php +++ b/plugins/statistiche_articoli/edit.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; @@ -18,9 +35,9 @@ echo ' - +
    - +
    @@ -28,7 +45,7 @@ echo '

    '.tr('Prezzo medio acquisto').'

    - +
    @@ -44,7 +61,7 @@ echo ' - +
    @@ -54,7 +71,7 @@ echo '

    '.tr('Prezzo medio vendita').'

    - +
    @@ -70,7 +87,7 @@ echo ' - +
    @@ -97,7 +114,7 @@ var local_url = "'.str_replace('edit.php', '', $structure->fileurl('edit.php')). function init_calendar(calendar) { var prezzo_acquisto = new Prezzo(calendar, "#prezzi_acquisto", "uscita"); var prezzo_vendita = new Prezzo(calendar, "#prezzi_vendita", "entrata"); - + calendar.addElement(prezzo_acquisto); calendar.addElement(prezzo_vendita); } diff --git a/plugins/statistiche_articoli/js/prezzo.js b/plugins/statistiche_articoli/js/prezzo.js index 97d032b8b..a1dec8dd7 100755 --- a/plugins/statistiche_articoli/js/prezzo.js +++ b/plugins/statistiche_articoli/js/prezzo.js @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + class Prezzo extends Table { constructor(calendar, id, direzione){ super(calendar, "manage_prezzi.php", { diff --git a/plugins/statistiche_articoli/manage_prezzi.php b/plugins/statistiche_articoli/manage_prezzi.php index 868f3cc64..2d99de8bf 100755 --- a/plugins/statistiche_articoli/manage_prezzi.php +++ b/plugins/statistiche_articoli/manage_prezzi.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/plugins/statistiche_articoli/src/Stats.php b/plugins/statistiche_articoli/src/Stats.php index 4856e4533..5591e9c22 100755 --- a/plugins/statistiche_articoli/src/Stats.php +++ b/plugins/statistiche_articoli/src/Stats.php @@ -1,4 +1,21 @@ . + */ namespace Plugins\StatisticheArticoli; diff --git a/plugins/xml/AT.xsl b/plugins/xml/AT.xsl index ef56f4468..bd844b2dd 100755 --- a/plugins/xml/AT.xsl +++ b/plugins/xml/AT.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/DT.xsl b/plugins/xml/DT.xsl index 8a827a7fe..88bb2aec1 100755 --- a/plugins/xml/DT.xsl +++ b/plugins/xml/DT.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/EC.xsl b/plugins/xml/EC.xsl index 36f16f837..8616a3e19 100755 --- a/plugins/xml/EC.xsl +++ b/plugins/xml/EC.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/MC.xsl b/plugins/xml/MC.xsl index 48e7b62bf..54e2a495a 100755 --- a/plugins/xml/MC.xsl +++ b/plugins/xml/MC.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/MT.xsl b/plugins/xml/MT.xsl index d8035c12a..f534cac5a 100755 --- a/plugins/xml/MT.xsl +++ b/plugins/xml/MT.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/NE.xsl b/plugins/xml/NE.xsl index 4287cf944..5a357855b 100755 --- a/plugins/xml/NE.xsl +++ b/plugins/xml/NE.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/NS.xsl b/plugins/xml/NS.xsl index 26534eb0b..b56571db6 100755 --- a/plugins/xml/NS.xsl +++ b/plugins/xml/NS.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/RC.xsl b/plugins/xml/RC.xsl index 8eaee59a2..0a9c509ed 100755 --- a/plugins/xml/RC.xsl +++ b/plugins/xml/RC.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/SE.xsl b/plugins/xml/SE.xsl index a1a627253..b5736f16d 100755 --- a/plugins/xml/SE.xsl +++ b/plugins/xml/SE.xsl @@ -1,4 +1,22 @@ + + diff --git a/plugins/xml/asso-invoice.xsl b/plugins/xml/asso-invoice.xsl index 17199dcb5..cac75e0a8 100755 --- a/plugins/xml/asso-invoice.xsl +++ b/plugins/xml/asso-invoice.xsl @@ -1,4 +1,22 @@ + + - + - + DDT @@ -154,7 +172,7 @@ - + @@ -163,7 +181,7 @@ - + @@ -174,9 +192,9 @@ - + - + @@ -186,15 +204,15 @@ - + - - - + + + - - - + + + @@ -208,10 +226,10 @@ - + - - + + @@ -219,9 +237,9 @@ - - - + + + @@ -235,9 +253,9 @@ - + - + @@ -245,8 +263,8 @@ - - + + @@ -260,10 +278,10 @@ - + - - + + @@ -272,7 +290,7 @@ - + @@ -286,9 +304,9 @@ - + - + @@ -298,7 +316,7 @@ - + @@ -311,9 +329,9 @@ - + - + @@ -323,7 +341,7 @@ - + @@ -385,8 +403,8 @@ - +
    @@ -726,7 +744,7 @@
    @@ -849,7 +867,7 @@
    - + @@ -1156,7 +1174,7 @@ - +
    Denominazione: @@ -1335,7 +1353,7 @@ - +
    @@ -1418,12 +1436,12 @@ - - + +
    - +
    @@ -1441,7 +1459,7 @@
    - +
    - +
    @@ -1753,7 +1771,7 @@
    @@ -1768,12 +1786,12 @@ - + - + @@ -1802,11 +1820,11 @@ Art. 73 - + Imposta bollo - + Numero documento Data documento Codice destinatario @@ -1879,7 +1897,7 @@ fattura per autoconsumo o per cessioni gratuite senza rivalsa - + fattura semplificata @@ -1907,7 +1925,7 @@ - + @@ -2068,7 +2086,7 @@ - - + Arr. @@ -2503,7 +2521,7 @@ - + @@ -2513,9 +2531,9 @@ - - - + + + @@ -2531,8 +2549,8 @@ - - + + @@ -2562,7 +2580,7 @@
    - + @@ -2574,13 +2592,13 @@ - + -
    - + +
    @@ -2701,7 +2719,7 @@
    - + @@ -2714,7 +2732,7 @@
    - + @@ -2868,7 +2886,7 @@ .headBorder { @@ -2932,7 +2950,7 @@ border-collapse: collapse; word-wrap:break-word; } - + table.tbFoglio th { padding-left: 5px; padding-right: 5px; @@ -3065,13 +3083,13 @@ table.tbNoBorder { - border-collapse: collapse; - margin-bottom: 5px; + border-collapse: collapse; + margin-bottom: 5px; font-size:small; text-align:center; width:800px; } - + @@ -3114,4 +3132,4 @@ - \ No newline at end of file + diff --git a/reset.php b/reset.php index 19c6c72e1..bbcd4089d 100755 --- a/reset.php +++ b/reset.php @@ -1,4 +1,21 @@ . + */ $skip_permissions = true; include_once __DIR__.'/core.php'; diff --git a/src/AJAX.php b/src/AJAX.php index 8b3a5b989..826246150 100755 --- a/src/AJAX.php +++ b/src/AJAX.php @@ -1,4 +1,21 @@ . + */ use Util\Query; diff --git a/src/API/App/AppResource.php b/src/API/App/AppResource.php index bae233e58..a711d0f65 100644 --- a/src/API/App/AppResource.php +++ b/src/API/App/AppResource.php @@ -1,4 +1,21 @@ . + */ namespace API\App; diff --git a/src/API/App/v1/AliquoteIva.php b/src/API/App/v1/AliquoteIva.php index 7037a9302..19b1f396d 100644 --- a/src/API/App/v1/AliquoteIva.php +++ b/src/API/App/v1/AliquoteIva.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/AllegatiInterventi.php b/src/API/App/v1/AllegatiInterventi.php index 007981c63..f94df2c66 100644 --- a/src/API/App/v1/AllegatiInterventi.php +++ b/src/API/App/v1/AllegatiInterventi.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Articoli.php b/src/API/App/v1/Articoli.php index 9f9572a18..f9f51815c 100644 --- a/src/API/App/v1/Articoli.php +++ b/src/API/App/v1/Articoli.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Clienti.php b/src/API/App/v1/Clienti.php index ac3974b3c..36f769e06 100644 --- a/src/API/App/v1/Clienti.php +++ b/src/API/App/v1/Clienti.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Contratti.php b/src/API/App/v1/Contratti.php index 3662deac5..a74b2d654 100644 --- a/src/API/App/v1/Contratti.php +++ b/src/API/App/v1/Contratti.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Impianti.php b/src/API/App/v1/Impianti.php index 883d39822..c1b1fa3a2 100644 --- a/src/API/App/v1/Impianti.php +++ b/src/API/App/v1/Impianti.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Impostazioni.php b/src/API/App/v1/Impostazioni.php index 5a6527796..ad92f6e1e 100644 --- a/src/API/App/v1/Impostazioni.php +++ b/src/API/App/v1/Impostazioni.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Interventi.php b/src/API/App/v1/Interventi.php index 868b70483..80c75bf0d 100644 --- a/src/API/App/v1/Interventi.php +++ b/src/API/App/v1/Interventi.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Login.php b/src/API/App/v1/Login.php index 0bfaf974e..74a2c3b7b 100644 --- a/src/API/App/v1/Login.php +++ b/src/API/App/v1/Login.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Preventivi.php b/src/API/App/v1/Preventivi.php index e3058596a..4ca21e6f3 100644 --- a/src/API/App/v1/Preventivi.php +++ b/src/API/App/v1/Preventivi.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/RapportinoIntervento.php b/src/API/App/v1/RapportinoIntervento.php index 4d5468169..a060f449b 100644 --- a/src/API/App/v1/RapportinoIntervento.php +++ b/src/API/App/v1/RapportinoIntervento.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Referenti.php b/src/API/App/v1/Referenti.php index 3347b5bc1..02abbd32a 100644 --- a/src/API/App/v1/Referenti.php +++ b/src/API/App/v1/Referenti.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/RigheInterventi.php b/src/API/App/v1/RigheInterventi.php index c7f255ac6..5ae04de0f 100644 --- a/src/API/App/v1/RigheInterventi.php +++ b/src/API/App/v1/RigheInterventi.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Sedi.php b/src/API/App/v1/Sedi.php index c982403ea..38d6bacfe 100644 --- a/src/API/App/v1/Sedi.php +++ b/src/API/App/v1/Sedi.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/SessioniInterventi.php b/src/API/App/v1/SessioniInterventi.php index 499ea9b8f..3538942da 100644 --- a/src/API/App/v1/SessioniInterventi.php +++ b/src/API/App/v1/SessioniInterventi.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/StatiIntervento.php b/src/API/App/v1/StatiIntervento.php index 9e39f92a1..303754f29 100644 --- a/src/API/App/v1/StatiIntervento.php +++ b/src/API/App/v1/StatiIntervento.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/TariffeContratti.php b/src/API/App/v1/TariffeContratti.php index 57e7dbc05..d8020ff8d 100644 --- a/src/API/App/v1/TariffeContratti.php +++ b/src/API/App/v1/TariffeContratti.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/TariffeTecnici.php b/src/API/App/v1/TariffeTecnici.php index 8cdfa6a9f..78129dd60 100644 --- a/src/API/App/v1/TariffeTecnici.php +++ b/src/API/App/v1/TariffeTecnici.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/Tecnici.php b/src/API/App/v1/Tecnici.php index 06bc862b7..bd4e676c5 100644 --- a/src/API/App/v1/Tecnici.php +++ b/src/API/App/v1/Tecnici.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/App/v1/TipiIntervento.php b/src/API/App/v1/TipiIntervento.php index 7a165dd4f..08c5ed99c 100644 --- a/src/API/App/v1/TipiIntervento.php +++ b/src/API/App/v1/TipiIntervento.php @@ -1,4 +1,21 @@ . + */ namespace API\App\v1; diff --git a/src/API/Common/Allegato.php b/src/API/Common/Allegato.php index 8f85955d0..d76acafb1 100755 --- a/src/API/Common/Allegato.php +++ b/src/API/Common/Allegato.php @@ -1,4 +1,21 @@ . + */ namespace API\Common; diff --git a/src/API/Common/Stampa.php b/src/API/Common/Stampa.php index 1aaad2ae8..4801894a4 100755 --- a/src/API/Common/Stampa.php +++ b/src/API/Common/Stampa.php @@ -1,4 +1,21 @@ . + */ namespace API\Common; diff --git a/src/API/Common/Task.php b/src/API/Common/Task.php index 8dbdc65a9..5548f5bdc 100644 --- a/src/API/Common/Task.php +++ b/src/API/Common/Task.php @@ -1,4 +1,21 @@ . + */ namespace API\Common; diff --git a/src/API/Exceptions/InternalError.php b/src/API/Exceptions/InternalError.php index f852fd388..84c19d377 100755 --- a/src/API/Exceptions/InternalError.php +++ b/src/API/Exceptions/InternalError.php @@ -1,4 +1,21 @@ . + */ namespace API\Exceptions; diff --git a/src/API/Exceptions/ResourceNotFound.php b/src/API/Exceptions/ResourceNotFound.php index a906cda85..4e347330f 100755 --- a/src/API/Exceptions/ResourceNotFound.php +++ b/src/API/Exceptions/ResourceNotFound.php @@ -1,4 +1,21 @@ . + */ namespace API\Exceptions; diff --git a/src/API/Exceptions/ServiceError.php b/src/API/Exceptions/ServiceError.php index 3d0ebdebb..457ac53c7 100755 --- a/src/API/Exceptions/ServiceError.php +++ b/src/API/Exceptions/ServiceError.php @@ -1,4 +1,21 @@ . + */ namespace API\Exceptions; diff --git a/src/API/Exceptions/Unauthorized.php b/src/API/Exceptions/Unauthorized.php index e4353ced6..48ff83cdd 100755 --- a/src/API/Exceptions/Unauthorized.php +++ b/src/API/Exceptions/Unauthorized.php @@ -1,4 +1,21 @@ . + */ namespace API\Exceptions; diff --git a/src/API/Interfaces/CreateInterface.php b/src/API/Interfaces/CreateInterface.php index 716166d9b..eff0f74dd 100755 --- a/src/API/Interfaces/CreateInterface.php +++ b/src/API/Interfaces/CreateInterface.php @@ -1,4 +1,21 @@ . + */ namespace API\Interfaces; diff --git a/src/API/Interfaces/DeleteInterface.php b/src/API/Interfaces/DeleteInterface.php index f57ddb991..391a20f63 100755 --- a/src/API/Interfaces/DeleteInterface.php +++ b/src/API/Interfaces/DeleteInterface.php @@ -1,4 +1,21 @@ . + */ namespace API\Interfaces; diff --git a/src/API/Interfaces/RetrieveInterface.php b/src/API/Interfaces/RetrieveInterface.php index 747b6ffaf..5ddb13c6d 100755 --- a/src/API/Interfaces/RetrieveInterface.php +++ b/src/API/Interfaces/RetrieveInterface.php @@ -1,4 +1,21 @@ . + */ namespace API\Interfaces; diff --git a/src/API/Interfaces/UpdateInterface.php b/src/API/Interfaces/UpdateInterface.php index 0a5bc3272..f4af877b7 100755 --- a/src/API/Interfaces/UpdateInterface.php +++ b/src/API/Interfaces/UpdateInterface.php @@ -1,4 +1,21 @@ . + */ namespace API\Interfaces; diff --git a/src/API/Manager.php b/src/API/Manager.php index dc5e81ed8..ac10101de 100755 --- a/src/API/Manager.php +++ b/src/API/Manager.php @@ -1,4 +1,21 @@ . + */ namespace API; diff --git a/src/API/Resource.php b/src/API/Resource.php index 80ef435c5..86708da6a 100755 --- a/src/API/Resource.php +++ b/src/API/Resource.php @@ -1,4 +1,21 @@ . + */ namespace API; diff --git a/src/API/Response.php b/src/API/Response.php index 27fdbae11..8c5d6b3ae 100755 --- a/src/API/Response.php +++ b/src/API/Response.php @@ -1,4 +1,21 @@ . + */ namespace API; diff --git a/src/API/Services.php b/src/API/Services.php index 6a162cbd0..15fa28907 100755 --- a/src/API/Services.php +++ b/src/API/Services.php @@ -1,4 +1,21 @@ . + */ namespace API; diff --git a/src/App.php b/src/App.php index e6e275d55..50af9661d 100755 --- a/src/App.php +++ b/src/App.php @@ -1,4 +1,21 @@ . + */ /** * Classe per la gestione delle utenze. diff --git a/src/Auth.php b/src/Auth.php index 69cf918a7..9f1109cec 100755 --- a/src/Auth.php +++ b/src/Auth.php @@ -1,4 +1,21 @@ . + */ use API\Response as API; use Models\User; diff --git a/src/Backup.php b/src/Backup.php index 15f9c9c7d..8ba8233f4 100755 --- a/src/Backup.php +++ b/src/Backup.php @@ -1,4 +1,21 @@ . + */ use Ifsnop\Mysqldump\Mysqldump; use Util\Zip; diff --git a/src/Database.php b/src/Database.php index 862108884..d23189f09 100755 --- a/src/Database.php +++ b/src/Database.php @@ -1,4 +1,21 @@ . + */ use Illuminate\Database\Capsule\Manager as Capsule; diff --git a/src/Exporter/CSVExporter.php b/src/Exporter/CSVExporter.php index 18d4f4ff9..638c2b539 100644 --- a/src/Exporter/CSVExporter.php +++ b/src/Exporter/CSVExporter.php @@ -1,4 +1,21 @@ . + */ namespace Exporter; diff --git a/src/Exporter/ExporterInterface.php b/src/Exporter/ExporterInterface.php index 3d7505e90..8f1d78ea0 100644 --- a/src/Exporter/ExporterInterface.php +++ b/src/Exporter/ExporterInterface.php @@ -1,4 +1,21 @@ . + */ namespace Exporter; diff --git a/src/Extensions/EloquentCollector.php b/src/Extensions/EloquentCollector.php index 5b262227e..58584b1ea 100755 --- a/src/Extensions/EloquentCollector.php +++ b/src/Extensions/EloquentCollector.php @@ -1,4 +1,21 @@ . + */ namespace Extensions; diff --git a/src/Extensions/MessageHandler.php b/src/Extensions/MessageHandler.php index 9811556ef..a90d95b97 100755 --- a/src/Extensions/MessageHandler.php +++ b/src/Extensions/MessageHandler.php @@ -1,4 +1,21 @@ . + */ namespace Extensions; diff --git a/src/Filter.php b/src/Filter.php index 57daf6ab3..e62ef2fb9 100755 --- a/src/Filter.php +++ b/src/Filter.php @@ -1,4 +1,21 @@ . + */ /** * Classe per gestire la sanitarizzazione degli input, basata sul framework open-source HTMLPurifier. diff --git a/src/HTMLBuilder/HTMLBuilder.php b/src/HTMLBuilder/HTMLBuilder.php index 6e04a6b60..d37fef186 100755 --- a/src/HTMLBuilder/HTMLBuilder.php +++ b/src/HTMLBuilder/HTMLBuilder.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder; diff --git a/src/HTMLBuilder/Handler/CKEditorHandler.php b/src/HTMLBuilder/Handler/CKEditorHandler.php index 249850291..0fd14fdbe 100755 --- a/src/HTMLBuilder/Handler/CKEditorHandler.php +++ b/src/HTMLBuilder/Handler/CKEditorHandler.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Handler; diff --git a/src/HTMLBuilder/Handler/ChoicesHandler.php b/src/HTMLBuilder/Handler/ChoicesHandler.php index 78108d3fc..e71eee13f 100755 --- a/src/HTMLBuilder/Handler/ChoicesHandler.php +++ b/src/HTMLBuilder/Handler/ChoicesHandler.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Handler; diff --git a/src/HTMLBuilder/Handler/DateHandler.php b/src/HTMLBuilder/Handler/DateHandler.php index 98fa7772e..fbe7b287d 100755 --- a/src/HTMLBuilder/Handler/DateHandler.php +++ b/src/HTMLBuilder/Handler/DateHandler.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Handler; diff --git a/src/HTMLBuilder/Handler/DefaultHandler.php b/src/HTMLBuilder/Handler/DefaultHandler.php index 935371593..8887e47c4 100755 --- a/src/HTMLBuilder/Handler/DefaultHandler.php +++ b/src/HTMLBuilder/Handler/DefaultHandler.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Handler; @@ -100,7 +117,7 @@ class DefaultHandler implements HandlerInterface button.attr("title", "'.tr('Visualizza password').'"); } } - + $(document).ready(function(){ togglePassword_'.$values['id'].'(); }); @@ -109,7 +126,7 @@ class DefaultHandler implements HandlerInterface if (!empty($values['strength'])) { $result .= '
    - + '; diff --git a/src/HTMLBuilder/Handler/HandlerInterface.php b/src/HTMLBuilder/Handler/HandlerInterface.php index af553072b..49a84b0df 100755 --- a/src/HTMLBuilder/Handler/HandlerInterface.php +++ b/src/HTMLBuilder/Handler/HandlerInterface.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Handler; diff --git a/src/HTMLBuilder/Handler/MediaHandler.php b/src/HTMLBuilder/Handler/MediaHandler.php index 4eb0a9cb3..acd9fc4cd 100755 --- a/src/HTMLBuilder/Handler/MediaHandler.php +++ b/src/HTMLBuilder/Handler/MediaHandler.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Handler; diff --git a/src/HTMLBuilder/Handler/SelectHandler.php b/src/HTMLBuilder/Handler/SelectHandler.php index 743777e01..e7531a4d3 100755 --- a/src/HTMLBuilder/Handler/SelectHandler.php +++ b/src/HTMLBuilder/Handler/SelectHandler.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Handler; diff --git a/src/HTMLBuilder/Manager/ButtonManager.php b/src/HTMLBuilder/Manager/ButtonManager.php index 0b9fdbadb..27497b7fe 100755 --- a/src/HTMLBuilder/Manager/ButtonManager.php +++ b/src/HTMLBuilder/Manager/ButtonManager.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Manager; diff --git a/src/HTMLBuilder/Manager/EmailManager.php b/src/HTMLBuilder/Manager/EmailManager.php index 3d5c476a1..32bb61f2b 100755 --- a/src/HTMLBuilder/Manager/EmailManager.php +++ b/src/HTMLBuilder/Manager/EmailManager.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Manager; diff --git a/src/HTMLBuilder/Manager/FieldManager.php b/src/HTMLBuilder/Manager/FieldManager.php index dcbbb56bc..f321871b7 100755 --- a/src/HTMLBuilder/Manager/FieldManager.php +++ b/src/HTMLBuilder/Manager/FieldManager.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Manager; diff --git a/src/HTMLBuilder/Manager/FileManager.php b/src/HTMLBuilder/Manager/FileManager.php index 056c85e42..82d279055 100755 --- a/src/HTMLBuilder/Manager/FileManager.php +++ b/src/HTMLBuilder/Manager/FileManager.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Manager; diff --git a/src/HTMLBuilder/Manager/ManagerInterface.php b/src/HTMLBuilder/Manager/ManagerInterface.php index d94bd382d..c366dc58f 100755 --- a/src/HTMLBuilder/Manager/ManagerInterface.php +++ b/src/HTMLBuilder/Manager/ManagerInterface.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Manager; diff --git a/src/HTMLBuilder/Manager/WidgetManager.php b/src/HTMLBuilder/Manager/WidgetManager.php index bde4169ac..d6f79da5f 100755 --- a/src/HTMLBuilder/Manager/WidgetManager.php +++ b/src/HTMLBuilder/Manager/WidgetManager.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Manager; @@ -170,7 +187,7 @@ class WidgetManager implements ManagerInterface
    '.$title.' - + '.(!empty($widget['help']) ? '' : '').' '; diff --git a/src/HTMLBuilder/Wrapper/HTMLWrapper.php b/src/HTMLBuilder/Wrapper/HTMLWrapper.php index b9c467320..11017455d 100755 --- a/src/HTMLBuilder/Wrapper/HTMLWrapper.php +++ b/src/HTMLBuilder/Wrapper/HTMLWrapper.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Wrapper; diff --git a/src/HTMLBuilder/Wrapper/WrapperInterface.php b/src/HTMLBuilder/Wrapper/WrapperInterface.php index 74b291f87..ca2242a6a 100755 --- a/src/HTMLBuilder/Wrapper/WrapperInterface.php +++ b/src/HTMLBuilder/Wrapper/WrapperInterface.php @@ -1,4 +1,21 @@ . + */ namespace HTMLBuilder\Wrapper; diff --git a/src/Hooks/CachedManager.php b/src/Hooks/CachedManager.php index fc3cabf87..f74debc32 100755 --- a/src/Hooks/CachedManager.php +++ b/src/Hooks/CachedManager.php @@ -1,4 +1,21 @@ . + */ namespace Hooks; diff --git a/src/Hooks/Manager.php b/src/Hooks/Manager.php index 887f741b0..9d76a4189 100755 --- a/src/Hooks/Manager.php +++ b/src/Hooks/Manager.php @@ -1,4 +1,21 @@ . + */ namespace Hooks; diff --git a/src/Importer/CSVImporter.php b/src/Importer/CSVImporter.php index 43d93577a..363ac8020 100644 --- a/src/Importer/CSVImporter.php +++ b/src/Importer/CSVImporter.php @@ -1,4 +1,21 @@ . + */ namespace Importer; diff --git a/src/Importer/ImporterInterface.php b/src/Importer/ImporterInterface.php index 9f18c2c32..9f062d4dc 100644 --- a/src/Importer/ImporterInterface.php +++ b/src/Importer/ImporterInterface.php @@ -1,4 +1,21 @@ . + */ namespace Importer; diff --git a/src/Intl/FileLoader.php b/src/Intl/FileLoader.php index c36b06200..61ea9f932 100755 --- a/src/Intl/FileLoader.php +++ b/src/Intl/FileLoader.php @@ -1,4 +1,21 @@ . + */ namespace Intl; diff --git a/src/Intl/Formatter.php b/src/Intl/Formatter.php index fdb79cff3..62e392c2a 100755 --- a/src/Intl/Formatter.php +++ b/src/Intl/Formatter.php @@ -1,4 +1,21 @@ . + */ namespace Intl; diff --git a/src/Models/ApiResource.php b/src/Models/ApiResource.php index 9e1df3389..7e82ea279 100755 --- a/src/Models/ApiResource.php +++ b/src/Models/ApiResource.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Cache.php b/src/Models/Cache.php index 6348e5e40..a8ad5012f 100755 --- a/src/Models/Cache.php +++ b/src/Models/Cache.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Clause.php b/src/Models/Clause.php index 7ac7c2f18..b6c9fb85f 100755 --- a/src/Models/Clause.php +++ b/src/Models/Clause.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Group.php b/src/Models/Group.php index 04c65eb29..8ccaaeb89 100755 --- a/src/Models/Group.php +++ b/src/Models/Group.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Hook.php b/src/Models/Hook.php index d628a7e53..9e1c60ab7 100755 --- a/src/Models/Hook.php +++ b/src/Models/Hook.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Log.php b/src/Models/Log.php index c9f29e690..b611551fd 100755 --- a/src/Models/Log.php +++ b/src/Models/Log.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Module.php b/src/Models/Module.php index 6d3a3ead9..d93ef52eb 100755 --- a/src/Models/Module.php +++ b/src/Models/Module.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Note.php b/src/Models/Note.php index 308c8ee50..a6fa7b00c 100755 --- a/src/Models/Note.php +++ b/src/Models/Note.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/OperationLog.php b/src/Models/OperationLog.php index d8350b3a9..498402e07 100755 --- a/src/Models/OperationLog.php +++ b/src/Models/OperationLog.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Plugin.php b/src/Models/Plugin.php index 9809f14f0..72c438621 100755 --- a/src/Models/Plugin.php +++ b/src/Models/Plugin.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/PrintTemplate.php b/src/Models/PrintTemplate.php index aa7f38e2a..3d7d7ef20 100755 --- a/src/Models/PrintTemplate.php +++ b/src/Models/PrintTemplate.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Setting.php b/src/Models/Setting.php index e121926d5..05b4033fd 100755 --- a/src/Models/Setting.php +++ b/src/Models/Setting.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/Upload.php b/src/Models/Upload.php index 02bc837a9..a4e520c1d 100755 --- a/src/Models/Upload.php +++ b/src/Models/Upload.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/User.php b/src/Models/User.php index ab54cfa74..669f9990d 100755 --- a/src/Models/User.php +++ b/src/Models/User.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Models/View.php b/src/Models/View.php index a19562a60..8d58dac10 100755 --- a/src/Models/View.php +++ b/src/Models/View.php @@ -1,4 +1,21 @@ . + */ namespace Models; diff --git a/src/Modules.php b/src/Modules.php index 2cca3dd04..b914c57a8 100755 --- a/src/Modules.php +++ b/src/Modules.php @@ -1,4 +1,21 @@ . + */ use Models\Module; diff --git a/src/Notifications/EmailNotification.php b/src/Notifications/EmailNotification.php index 95c710fc4..de5d11eff 100755 --- a/src/Notifications/EmailNotification.php +++ b/src/Notifications/EmailNotification.php @@ -1,4 +1,21 @@ . + */ namespace Notifications; diff --git a/src/Notifications/Notification.php b/src/Notifications/Notification.php index 9988ce3d6..51077c396 100755 --- a/src/Notifications/Notification.php +++ b/src/Notifications/Notification.php @@ -1,4 +1,21 @@ . + */ namespace Notifications; diff --git a/src/Notifications/NotificationInterface.php b/src/Notifications/NotificationInterface.php index d6f309a2f..e4685f9f0 100755 --- a/src/Notifications/NotificationInterface.php +++ b/src/Notifications/NotificationInterface.php @@ -1,4 +1,21 @@ . + */ namespace Notifications; diff --git a/src/Permissions.php b/src/Permissions.php index fdceb51f1..4a229f5ad 100755 --- a/src/Permissions.php +++ b/src/Permissions.php @@ -1,4 +1,21 @@ . + */ /** * Classe per gestire i permessi di accesso alle diverse sezioni del progetto. diff --git a/src/Plugins.php b/src/Plugins.php index 7ae10eb35..9c7e6dd6e 100755 --- a/src/Plugins.php +++ b/src/Plugins.php @@ -1,4 +1,21 @@ . + */ use Models\Plugin; diff --git a/src/Prints.php b/src/Prints.php index d90782d39..da4203923 100755 --- a/src/Prints.php +++ b/src/Prints.php @@ -1,4 +1,21 @@ . + */ /** * Classe per la gestione delle informazioni relative alle stampe installate. diff --git a/src/Settings.php b/src/Settings.php index a6fa04f61..bd135a65a 100755 --- a/src/Settings.php +++ b/src/Settings.php @@ -1,4 +1,21 @@ . + */ use Models\Setting; use Respect\Validation\Validator as v; diff --git a/src/Tasks/Log.php b/src/Tasks/Log.php index a04a93c25..fdb83f4c5 100644 --- a/src/Tasks/Log.php +++ b/src/Tasks/Log.php @@ -1,4 +1,21 @@ . + */ namespace Tasks; diff --git a/src/Tasks/Manager.php b/src/Tasks/Manager.php index b85a77da9..235ab285f 100644 --- a/src/Tasks/Manager.php +++ b/src/Tasks/Manager.php @@ -1,4 +1,21 @@ . + */ namespace Tasks; diff --git a/src/Tasks/Task.php b/src/Tasks/Task.php index 9116cbf56..e96466e8b 100644 --- a/src/Tasks/Task.php +++ b/src/Tasks/Task.php @@ -1,4 +1,21 @@ . + */ namespace Tasks; diff --git a/src/Tasks/TaskInterface.php b/src/Tasks/TaskInterface.php index 516c9b030..56e698e9f 100644 --- a/src/Tasks/TaskInterface.php +++ b/src/Tasks/TaskInterface.php @@ -1,4 +1,21 @@ . + */ namespace Tasks; diff --git a/src/Traits/Components/NoteTrait.php b/src/Traits/Components/NoteTrait.php index 020007c9b..3929da875 100755 --- a/src/Traits/Components/NoteTrait.php +++ b/src/Traits/Components/NoteTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits\Components; diff --git a/src/Traits/Components/UploadTrait.php b/src/Traits/Components/UploadTrait.php index 8738122f4..90278211f 100755 --- a/src/Traits/Components/UploadTrait.php +++ b/src/Traits/Components/UploadTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits\Components; diff --git a/src/Traits/HierarchyTrait.php b/src/Traits/HierarchyTrait.php index ef786bea0..0304906eb 100755 --- a/src/Traits/HierarchyTrait.php +++ b/src/Traits/HierarchyTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits; diff --git a/src/Traits/ManagerTrait.php b/src/Traits/ManagerTrait.php index 89144d1ef..a60611fb2 100755 --- a/src/Traits/ManagerTrait.php +++ b/src/Traits/ManagerTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits; diff --git a/src/Traits/PathTrait.php b/src/Traits/PathTrait.php index dcb81ed45..2f6d66295 100755 --- a/src/Traits/PathTrait.php +++ b/src/Traits/PathTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits; diff --git a/src/Traits/RecordTrait.php b/src/Traits/RecordTrait.php index c59cd3110..265e1b950 100755 --- a/src/Traits/RecordTrait.php +++ b/src/Traits/RecordTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits; diff --git a/src/Traits/ReferenceTrait.php b/src/Traits/ReferenceTrait.php index a1d28d67c..1eab63ece 100755 --- a/src/Traits/ReferenceTrait.php +++ b/src/Traits/ReferenceTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits; diff --git a/src/Traits/StoreTrait.php b/src/Traits/StoreTrait.php index 74eff4dd5..8e344dedb 100755 --- a/src/Traits/StoreTrait.php +++ b/src/Traits/StoreTrait.php @@ -1,4 +1,21 @@ . + */ namespace Traits; diff --git a/src/Translator.php b/src/Translator.php index 11f7f1b4c..57b0b6ad2 100755 --- a/src/Translator.php +++ b/src/Translator.php @@ -1,4 +1,21 @@ . + */ use Carbon\Carbon; use Carbon\CarbonInterval; diff --git a/src/Update.php b/src/Update.php index fbe41d860..c6ab323ad 100755 --- a/src/Update.php +++ b/src/Update.php @@ -1,4 +1,21 @@ . + */ /** * Classe dedicata alla gestione delle procedure di aggiornamento del database del progetto. diff --git a/src/Uploads.php b/src/Uploads.php index 581b5cf68..ad2ccfd5b 100755 --- a/src/Uploads.php +++ b/src/Uploads.php @@ -1,4 +1,21 @@ . + */ /** * Classe per la gestione degli upload del progetto. diff --git a/src/Util/Autofill.php b/src/Util/Autofill.php index 5d003a9c6..ad4211521 100755 --- a/src/Util/Autofill.php +++ b/src/Util/Autofill.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/FileSystem.php b/src/Util/FileSystem.php index de8ae5aa4..541caf7c2 100755 --- a/src/Util/FileSystem.php +++ b/src/Util/FileSystem.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/Generator.php b/src/Util/Generator.php index e660c2a86..a789f57ee 100755 --- a/src/Util/Generator.php +++ b/src/Util/Generator.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/Ini.php b/src/Util/Ini.php index 9fef7c561..482a993ff 100755 --- a/src/Util/Ini.php +++ b/src/Util/Ini.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/Messages.php b/src/Util/Messages.php index c508cdd08..bfdf0358b 100755 --- a/src/Util/Messages.php +++ b/src/Util/Messages.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/Query.php b/src/Util/Query.php index cea2e5948..ccf92f7f3 100755 --- a/src/Util/Query.php +++ b/src/Util/Query.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/Singleton.php b/src/Util/Singleton.php index 4a2a8e924..cec1825f6 100755 --- a/src/Util/Singleton.php +++ b/src/Util/Singleton.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/XML.php b/src/Util/XML.php index 96897429d..49f2f3e65 100755 --- a/src/Util/XML.php +++ b/src/Util/XML.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Util/Zip.php b/src/Util/Zip.php index ab2bbb036..f4ae715ac 100755 --- a/src/Util/Zip.php +++ b/src/Util/Zip.php @@ -1,4 +1,21 @@ . + */ namespace Util; diff --git a/src/Validate.php b/src/Validate.php index 376eb7cf2..3db76d32f 100755 --- a/src/Validate.php +++ b/src/Validate.php @@ -1,4 +1,21 @@ . + */ use API\Services; use Mpociot\VatCalculator\Exceptions\VATCheckUnavailableException; diff --git a/templates/barcode/body.php b/templates/barcode/body.php index 5fa91637b..9c22410d4 100755 --- a/templates/barcode/body.php +++ b/templates/barcode/body.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/barcode/footer.php b/templates/barcode/footer.php index 0a7702b4b..160c814fa 100755 --- a/templates/barcode/footer.php +++ b/templates/barcode/footer.php @@ -1,4 +1,21 @@ . + */ echo ' '; diff --git a/templates/barcode/header.php b/templates/barcode/header.php index 0a7702b4b..160c814fa 100755 --- a/templates/barcode/header.php +++ b/templates/barcode/header.php @@ -1,4 +1,21 @@ . + */ echo ' '; diff --git a/templates/barcode/init.php b/templates/barcode/init.php index e9e41165b..7876abb65 100755 --- a/templates/barcode/init.php +++ b/templates/barcode/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/base/bootstrap.css b/templates/base/bootstrap.css index f1230975a..90c5f758d 100755 --- a/templates/base/bootstrap.css +++ b/templates/base/bootstrap.css @@ -1,7 +1,19 @@ -/*! - * Bootstrap v3.3.7 (http://getbootstrap.com) - * Copyright 2011-2017 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ diff --git a/templates/base/footer.php b/templates/base/footer.php index ec03018b1..ef1d7d6d0 100755 --- a/templates/base/footer.php +++ b/templates/base/footer.php @@ -1,4 +1,21 @@ . + */ /** * Footer di default. diff --git a/templates/base/header.php b/templates/base/header.php index 347d76b1f..e75f66b50 100755 --- a/templates/base/header.php +++ b/templates/base/header.php @@ -1,4 +1,21 @@ . + */ /** * Header di default. diff --git a/templates/base/settings.php b/templates/base/settings.php index 8cce1dc92..a820e21fc 100755 --- a/templates/base/settings.php +++ b/templates/base/settings.php @@ -1,4 +1,21 @@ . + */ $settings = [ 'orientation' => 'P', diff --git a/templates/base/style.css b/templates/base/style.css index f244c25ba..17bc92f37 100755 --- a/templates/base/style.css +++ b/templates/base/style.css @@ -1,3 +1,21 @@ +/* + * OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione + * Copyright (C) DevCode s.n.c. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + body { background-color: white; color: black; diff --git a/templates/contratti/body.php b/templates/contratti/body.php index 89818db4a..8430f28f1 100755 --- a/templates/contratti/body.php +++ b/templates/contratti/body.php @@ -1,4 +1,21 @@ . + */ use Carbon\CarbonInterval; diff --git a/templates/contratti/footer.php b/templates/contratti/footer.php index b11e39c48..52597b2e5 100755 --- a/templates/contratti/footer.php +++ b/templates/contratti/footer.php @@ -1,4 +1,21 @@ . + */ if (!$is_last_page) { return; diff --git a/templates/contratti/init.php b/templates/contratti/init.php index 4fb95a6ba..db5ca360d 100755 --- a/templates/contratti/init.php +++ b/templates/contratti/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/contratti/settings.php b/templates/contratti/settings.php index 0f521bee5..58d388897 100755 --- a/templates/contratti/settings.php +++ b/templates/contratti/settings.php @@ -1,4 +1,21 @@ . + */ return [ 'footer-height' => 35, diff --git a/templates/contratti_cons/bottom.php b/templates/contratti_cons/bottom.php index 195b14081..dfe394e29 100755 --- a/templates/contratti_cons/bottom.php +++ b/templates/contratti_cons/bottom.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../riepilogo_interventi/bottom.php'; diff --git a/templates/contratti_cons/init.php b/templates/contratti_cons/init.php index 6b468cbf7..5db73659f 100755 --- a/templates/contratti_cons/init.php +++ b/templates/contratti_cons/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/contratti_cons/piece.php b/templates/contratti_cons/piece.php index 0036b57c1..bd834a869 100755 --- a/templates/contratti_cons/piece.php +++ b/templates/contratti_cons/piece.php @@ -1,3 +1,20 @@ . + */ include __DIR__.'/../riepilogo_interventi/piece.php'; diff --git a/templates/contratti_cons/top.php b/templates/contratti_cons/top.php index 6e6acdea1..f3f0effdc 100755 --- a/templates/contratti_cons/top.php +++ b/templates/contratti_cons/top.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/dashboard/body.php b/templates/dashboard/body.php index 5c782ab67..0140bbf92 100755 --- a/templates/dashboard/body.php +++ b/templates/dashboard/body.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/dashboard/header.php b/templates/dashboard/header.php index 2a7ce287a..9d47e98c4 100755 --- a/templates/dashboard/header.php +++ b/templates/dashboard/header.php @@ -1,4 +1,21 @@ . + */ echo ' diff --git a/templates/dashboard/settings.php b/templates/dashboard/settings.php index 94cd5d61a..544c13f70 100755 --- a/templates/dashboard/settings.php +++ b/templates/dashboard/settings.php @@ -1,4 +1,21 @@ . + */ $format = (isset($_SESSION['dashboard']['format'])) ? $_SESSION['dashboard']['format'] : 'A4'; $orientation = (isset($_SESSION['dashboard']['orientation'])) ? $_SESSION['dashboard']['orientation'] : 'L'; diff --git a/templates/ddt/body.php b/templates/ddt/body.php index bf3159401..6a3dd6b2c 100755 --- a/templates/ddt/body.php +++ b/templates/ddt/body.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/ddt/footer.php b/templates/ddt/footer.php index b891bdfa4..28cc2ae9a 100755 --- a/templates/ddt/footer.php +++ b/templates/ddt/footer.php @@ -1,4 +1,21 @@ . + */ if (!empty($options['last-page-footer']) && !$is_last_page) { return; diff --git a/templates/ddt/header.php b/templates/ddt/header.php index 4a1fe6125..69db5864a 100755 --- a/templates/ddt/header.php +++ b/templates/ddt/header.php @@ -1,4 +1,21 @@ . + */ echo ' @@ -33,14 +50,14 @@ $default_header$

    {PAGENO}/{nb}

    - +

    '.tr('Pagamento', [], ['upper' => true]).'

    $pagamento$

    - +

    '.tr('Partita IVA', [], ['upper' => true]).'

    diff --git a/templates/ddt/init.php b/templates/ddt/init.php index 3eedacd6e..270c7b138 100755 --- a/templates/ddt/init.php +++ b/templates/ddt/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/fatturato/body.php b/templates/fatturato/body.php index 0ca73e9dd..8732e3180 100755 --- a/templates/fatturato/body.php +++ b/templates/fatturato/body.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/fatturato/init.php b/templates/fatturato/init.php index 057752753..82b6a3e2a 100755 --- a/templates/fatturato/init.php +++ b/templates/fatturato/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/fatture/body.php b/templates/fatture/body.php index 867fb7863..0a64287bb 100755 --- a/templates/fatture/body.php +++ b/templates/fatture/body.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/fatture/footer.php b/templates/fatture/footer.php index 2fec7ef14..ac210b9fa 100755 --- a/templates/fatture/footer.php +++ b/templates/fatture/footer.php @@ -1,4 +1,21 @@ . + */ if (!empty($options['last-page-footer']) && !$is_last_page) { return; diff --git a/templates/fatture/header.php b/templates/fatture/header.php index f47495cd0..ede7a84b1 100755 --- a/templates/fatture/header.php +++ b/templates/fatture/header.php @@ -1,4 +1,21 @@ . + */ if ($options['hide_header']) { echo ' diff --git a/templates/fatture/init.php b/templates/fatture/init.php index 8379430e9..ce64b1619 100755 --- a/templates/fatture/init.php +++ b/templates/fatture/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/info.php b/templates/info.php index be055e36e..5aa17d3fb 100755 --- a/templates/info.php +++ b/templates/info.php @@ -1,4 +1,21 @@ . + */ $replaces = []; diff --git a/templates/interventi/body.php b/templates/interventi/body.php index f07050620..a12846bf9 100755 --- a/templates/interventi/body.php +++ b/templates/interventi/body.php @@ -1,4 +1,21 @@ . + */ use Carbon\Carbon; diff --git a/templates/interventi/init.php b/templates/interventi/init.php index e62814639..5a27a98b1 100755 --- a/templates/interventi/init.php +++ b/templates/interventi/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/magazzino_inventario/body.php b/templates/magazzino_inventario/body.php index 07a9e79e5..cfbaf1db2 100755 --- a/templates/magazzino_inventario/body.php +++ b/templates/magazzino_inventario/body.php @@ -1,4 +1,21 @@ . + */ use Util\Query; diff --git a/templates/magazzino_inventario/settings.php b/templates/magazzino_inventario/settings.php index 793edc9bf..ee359be1f 100755 --- a/templates/magazzino_inventario/settings.php +++ b/templates/magazzino_inventario/settings.php @@ -1,4 +1,21 @@ . + */ return [ 'orientation' => 'L', diff --git a/templates/ordini/body.php b/templates/ordini/body.php index 6de609db8..f8e4cf0a9 100755 --- a/templates/ordini/body.php +++ b/templates/ordini/body.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/ordini/header.php b/templates/ordini/header.php index 891dc801a..89292e2cc 100755 --- a/templates/ordini/header.php +++ b/templates/ordini/header.php @@ -1,4 +1,21 @@ . + */ echo ' $default_header$ diff --git a/templates/ordini/init.php b/templates/ordini/init.php index b8b50ada4..526c968da 100755 --- a/templates/ordini/init.php +++ b/templates/ordini/init.php @@ -1,4 +1,21 @@ . + */ include_once __DIR__.'/../../core.php'; diff --git a/templates/partitario_mastrino/partitario.html b/templates/partitario_mastrino/partitario.html index 2da07083b..1b0be845a 100755 --- a/templates/partitario_mastrino/partitario.html +++ b/templates/partitario_mastrino/partitario.html @@ -1,3 +1,21 @@ + +