Compare commits
2 Commits
81776dfe56
...
9544ff1b5d
Author | SHA1 | Date |
---|---|---|
valentina | 9544ff1b5d | |
valentina | 0068a01108 |
|
@ -50,8 +50,8 @@ $info = $dbo->fetchOne($query);
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 <?php echo intval($lvl != 3) ? 'hidden' : ''; ?>">
|
<div class="col-md-4 <?php echo $lvl != 3 ? 'hidden' : ''; ?>">
|
||||||
{[ "type": "number", "decimals": 0, "label": "<?php echo tr('Percentuale deducibile'); ?>", "name": "percentuale_deducibile", "value": "<?php echo $info['percentuale_deducibile']; ?>", "icon-after": "<i class="fa fa-percent"></i>", "max-value": "100", "min-value": "0" ]}
|
{[ "type": "number", "decimals": 0, "label": "<?php echo tr('Percentuale deducibile'); ?>", "name": "percentuale_deducibile", "value": "<?php echo $info['percentuale_deducibile']; ?>", "icon-after": "%", "max-value": "100", "min-value": "0" ]}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4 <?php echo intval($lvl != 2) ? 'hidden' : ''; ?>">
|
<div class="col-md-4 <?php echo intval($lvl != 2) ? 'hidden' : ''; ?>">
|
||||||
|
|
|
@ -4,14 +4,12 @@ ALTER TABLE `mg_articoli` ADD `id_marchio` INT NULL DEFAULT NULL;
|
||||||
CREATE TABLE `mg_marchi` (
|
CREATE TABLE `mg_marchi` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`nome` varchar(255) NOT NULL,
|
`nome` varchar(255) NOT NULL,
|
||||||
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
||||||
`deleted_at` timestamp NULL DEFAULT NULL,
|
`deleted_at` timestamp NULL DEFAULT NULL,
|
||||||
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
||||||
PRIMARY KEY (`id`)) ENGINE = InnoDB;
|
PRIMARY KEY (`id`)) ENGINE = InnoDB;
|
||||||
|
|
||||||
INSERT INTO `zz_modules` (`id`, `name`, `directory`, `options`, `options2`, `icon`, `version`, `compatibility`, `order`, `parent`, `default`, `enabled`, `use_notes`, `use_checklists`) VALUES (NULL, 'Marchi', 'marchi', 'SELECT |select| FROM `mg_marchi` WHERE 1=1 HAVING 2=2 ORDER BY `mg_marchi`.`nome`', '', 'fa fa-angle-right', '2.5.6', '2.5.6', '7', (SELECT `id` FROM `zz_modules` AS `t` WHERE `name` = 'Articoli'), '1', '1', '1', '1');
|
INSERT INTO `zz_modules` (`name`, `directory`, `options`, `options2`, `icon`, `version`, `compatibility`, `order`, `parent`, `default`, `enabled`, `use_notes`, `use_checklists`) VALUES ('Marchi', 'marchi', 'SELECT |select| FROM `mg_marchi` WHERE 1=1 HAVING 2=2 ORDER BY `mg_marchi`.`nome`', '', 'fa fa-angle-right', '2.5.6', '2.5.6', '7', (SELECT `id` FROM `zz_modules` AS `t` WHERE `name` = 'Articoli'), '1', '1', '1', '1');
|
||||||
|
|
||||||
INSERT INTO `zz_modules_lang` (`id`, `id_lang`, `id_record`, `title`) VALUES (NULL, '1', (SELECT `id` FROM `zz_modules` WHERE `name` = 'Marchi'), 'Marchi');
|
INSERT INTO `zz_modules_lang` (`id_lang`, `id_record`, `title`) VALUES ('1', (SELECT `id` FROM `zz_modules` WHERE `name` = 'Marchi'), 'Marchi');
|
||||||
|
|
||||||
INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `html_format`, `search_inside`, `order_by`, `visible`, `summable`, `default`) VALUES
|
INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `html_format`, `search_inside`, `order_by`, `visible`, `summable`, `default`) VALUES
|
||||||
((SELECT `id` FROM `zz_modules` WHERE `name` = 'Marchi'), 'id', 'mg_marchi.id', '0', '0', '0', '0', '0', '', '', '0', '0', '0'),
|
((SELECT `id` FROM `zz_modules` WHERE `name` = 'Marchi'), 'id', 'mg_marchi.id', '0', '0', '0', '0', '0', '', '', '0', '0', '0'),
|
||||||
|
|
|
@ -131,6 +131,7 @@ return [
|
||||||
'mg_causali_movimenti_lang',
|
'mg_causali_movimenti_lang',
|
||||||
'mg_listini',
|
'mg_listini',
|
||||||
'mg_listini_articoli',
|
'mg_listini_articoli',
|
||||||
|
'mg_marchi',
|
||||||
'mg_piani_sconto',
|
'mg_piani_sconto',
|
||||||
'mg_prezzi_articoli',
|
'mg_prezzi_articoli',
|
||||||
'mg_movimenti',
|
'mg_movimenti',
|
||||||
|
|
Loading…
Reference in New Issue