You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{[ "type": "select", "label": "<?phpechotr('Moduli'); ?>", "multiple": "1", "name": "id_moduli[]", "required": 1 , "values": "query=SELECT `zz_modules`.`id`, `title` AS descrizione FROM `zz_modules` LEFT JOIN `zz_modules_lang` ON (`zz_modules`.`id` = `zz_modules_lang`.`id_record` AND `zz_modules_lang`.`id_lang` = <?phpechoprepare(Models\Locale::getDefault()->id); ?>) WHERE name IN('Fatture di vendita', 'Fatture di acquisto', 'Ddt in uscita', 'Ddt in entrata', 'Interventi', 'Ordini fornitore', 'Ordini cliente', 'Preventivi', 'Contratti') AND `enabled` = 1 ORDER BY `title` ASC" ]}
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
5
+
* Copyright (C) DevCode s.r.l.
6
+
*
7
+
* This program is free software: you can redistribute it and/or modify
8
+
* it under the terms of the GNU General Public License as published by
9
+
* the Free Software Foundation, either version 3 of the License, or
10
+
* (at your option) any later version.
11
+
*
12
+
* This program is distributed in the hope that it will be useful,
13
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+
* GNU General Public License for more details.
16
+
*
17
+
* You should have received a copy of the GNU General Public License
18
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
*/
20
+
21
+
include_once__DIR__.'/../../../core.php';
22
+
23
+
switch ($resource) {
24
+
case'descrizioni_predefinite':
25
+
$query = 'SELECT `zz_default_description`.`id`, `zz_default_description`.`name` as descrizione, `zz_default_description`.`descrizione` AS `descrizione_predefinita` FROM `zz_default_description` LEFT JOIN `zz_default_description_module` ON `zz_default_description`.`id` = `zz_default_description_module`.`id_description` |where| ORDER BY `name` ASC';
{[ "type": "select", "label": "<?phpechotr('Moduli'); ?>", "multiple": "1", "name": "id_moduli[]", "value": "<?phpecho$id_moduli; ?>", "required": 1 , "values": "query=SELECT `zz_modules`.`id`, `title` AS descrizione FROM `zz_modules` LEFT JOIN `zz_modules_lang` ON (`zz_modules`.`id` = `zz_modules_lang`.`id_record` AND `zz_modules_lang`.`id_lang` = <?phpechoprepare(Models\Locale::getDefault()->id); ?>) WHERE name IN('Fatture di vendita', 'Fatture di acquisto', 'Ddt in uscita', 'Ddt in entrata', 'Interventi', 'Ordini fornitore', 'Ordini cliente', 'Preventivi', 'Contratti') AND `enabled` = 1 ORDER BY `title` ASC" ]}
0 commit comments