1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 05:54:03 +01:00
This commit is contained in:
Thomas Zilio 2020-04-27 10:26:40 +02:00
parent 429cb7267a
commit 35fba8672e
3 changed files with 27 additions and 20 deletions

View File

@ -1,8 +1,10 @@
<?php
use Models\Module;
include_once __DIR__.'/../../core.php';
use Models\Module;
$enable_readonly = !setting('Modifica Viste di default');
echo '
<form action="" method="post" role="form">

5
update/2_4_15.sql Normal file
View File

@ -0,0 +1,5 @@
-- Aggiunta del campo per permettere la modifica delle Viste di default
INSERT INTO `zz_settings` (`nome`, `valore`, `tipo`, `editable`, `sezione`) VALUES ('Modifica Viste di default', '0', 'boolean', 0, 'Generali');
-- Retrofix
UPDATE `mg_articoli` SET `id_categoria` = NULL WHERE `codice` = 'DELETED';