mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 08:56:48 +01:00
Fix parziale commit d5a129d (scheda Anagrafiche)
This commit is contained in:
parent
5ed9bc9efa
commit
9e2ff37d39
@ -38,7 +38,7 @@
|
|||||||
"ifsnop/mysqldump-php": "^2.3",
|
"ifsnop/mysqldump-php": "^2.3",
|
||||||
"illuminate/database": "^6.0",
|
"illuminate/database": "^6.0",
|
||||||
"intervention/image": "^2.3",
|
"intervention/image": "^2.3",
|
||||||
"league/csv": "^8.2",
|
"league/csv": "9.5.0",
|
||||||
"league/oauth2-client": "^2.6",
|
"league/oauth2-client": "^2.6",
|
||||||
"league/oauth2-google": "^3.0",
|
"league/oauth2-google": "^3.0",
|
||||||
"maximebf/debugbar": "^1.15",
|
"maximebf/debugbar": "^1.15",
|
||||||
|
@ -25,6 +25,9 @@ echo '
|
|||||||
<input type="hidden" name="backto" value="record-edit">
|
<input type="hidden" name="backto" value="record-edit">
|
||||||
<input type="hidden" name="op" value="add">
|
<input type="hidden" name="op" value="add">
|
||||||
|
|
||||||
|
<!-- Fix creazione da Anagrafica -->
|
||||||
|
<input type="hidden" name="id_record" value="">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
@ -25,6 +25,9 @@ echo '
|
|||||||
<input type="hidden" name="backto" value="record-edit">
|
<input type="hidden" name="backto" value="record-edit">
|
||||||
<input type="hidden" name="op" value="addreferente">
|
<input type="hidden" name="op" value="addreferente">
|
||||||
|
|
||||||
|
<!-- Fix creazione da Anagrafica -->
|
||||||
|
<input type="hidden" name="id_record" value="">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
{[ "type": "text", "label": "'.tr('Nominativo').'", "name": "nome", "required": 1 ]}
|
{[ "type": "text", "label": "'.tr('Nominativo').'", "name": "nome", "required": 1 ]}
|
||||||
|
@ -25,6 +25,9 @@ echo '
|
|||||||
<input type="hidden" name="backto" value="record-edit">
|
<input type="hidden" name="backto" value="record-edit">
|
||||||
<input type="hidden" name="op" value="addsede">
|
<input type="hidden" name="op" value="addsede">
|
||||||
|
|
||||||
|
<!-- Fix creazione da Anagrafica -->
|
||||||
|
<input type="hidden" name="id_record" value="">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
{[ "type": "select", "label": "'.tr('Anagrafica').'", "name": "id_anagrafica", "required": "1", "value": "'.$id_parent.'", "ajax-source": "anagrafiche", "disabled": 1 ]}
|
{[ "type": "select", "label": "'.tr('Anagrafica').'", "name": "id_anagrafica", "required": "1", "value": "'.$id_parent.'", "ajax-source": "anagrafiche", "disabled": 1 ]}
|
||||||
|
@ -70,7 +70,7 @@ INSERT INTO `zz_segments` (`id`, `id_module`, `name`, `clause`, `position`, `pat
|
|||||||
(NULL, (SELECT `id` FROM `zz_modules` WHERE `name` = 'Articoli'), 'Solo attivi', 'attivo=1', 'WHR', '####', '', 0, 0, 0, 0);
|
(NULL, (SELECT `id` FROM `zz_modules` WHERE `name` = 'Articoli'), 'Solo attivi', 'attivo=1', 'WHR', '####', '', 0, 0, 0, 0);
|
||||||
|
|
||||||
-- Correzione widget articoli in magazzino
|
-- Correzione widget articoli in magazzino
|
||||||
UPDATE `zz_widgets` SET `query` = 'SELECT CONCAT_WS(\" \", REPLACE(REPLACE(REPLACE(FORMAT(SUM(qta),2), \",\", \"#\"), \".\", \",\"), \"#\", \".\"), \"unità\") AS dato FROM mg_articoli WHERE qta>0 AND deleted_at IS NULL AND servizio=0 AND 1=1' WHERE `zz_widgets`.`name` = 'Articoli in magazzino', `help` = 'Articoli a magazzino (tutti o solo attivi secondo il segmento)';
|
UPDATE `zz_widgets` SET `query` = 'SELECT CONCAT_WS(\" \", REPLACE(REPLACE(REPLACE(FORMAT(SUM(qta),2), \",\", \"#\"), \".\", \",\"), \"#\", \".\"), \"unità\") AS dato FROM mg_articoli WHERE qta>0 AND deleted_at IS NULL AND servizio=0 AND 1=1', `help` = 'Articoli a magazzino (tutti o solo attivi secondo il segmento)' WHERE `zz_widgets`.`name` = 'Articoli in magazzino';
|
||||||
|
|
||||||
-- Aggiunta colonna "Servizio" per vista Articoli
|
-- Aggiunta colonna "Servizio" per vista Articoli
|
||||||
INSERT INTO `zz_views` (`id`, `id_module`, `name`, `query`, `order`, `visible`, `format`, `default`) VALUES
|
INSERT INTO `zz_views` (`id`, `id_module`, `name`, `query`, `order`, `visible`, `format`, `default`) VALUES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user