mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-14 00:24:28 +01:00
Correzione widget valore magazzino
This commit is contained in:
parent
40bdbbb7fb
commit
876dd2dfed
@ -29,4 +29,7 @@ INSERT INTO `zz_views` (`id`, `id_module`, `name`, `query`, `order`, `search`, `
|
||||
|
||||
-- Aggiunta opzione formattazione HTML nelle viste per la gestione dei campi CKeditor
|
||||
ALTER TABLE `zz_views` ADD `html_format` TINYINT NOT NULL DEFAULT '1' AFTER `format`;
|
||||
UPDATE `zz_views` SET `html_format` = '1';
|
||||
UPDATE `zz_views` SET `html_format` = '1';
|
||||
|
||||
-- Correzione widget valore magazzino
|
||||
UPDATE `zz_widgets` SET `query` = 'SELECT CONCAT_WS(\" \", REPLACE(REPLACE(REPLACE(FORMAT(SUM(prezzo_acquisto*qta),2), \",\", \"#\"), \".\", \",\"), \"#\", \".\"), \"€\") AS dato FROM mg_articoli WHERE qta>0 AND deleted_at IS NULL AND servizio=0' WHERE `zz_widgets`.`name` = 'Valore magazzino';
|
Loading…
Reference in New Issue
Block a user