1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-22 21:28:08 +01:00

Fix nome colonna 'Cliente' ddt vendita e acquisto

This commit is contained in:
Luca 2018-11-20 12:51:35 +01:00
parent cba6190b3e
commit d4c54770ed
2 changed files with 4 additions and 1 deletions

View File

@ -98,7 +98,7 @@ if ($module['name'] == 'Ddt di vendita') {
</div>
<div class="col-md-3">
{[ "type": "select", "label": "<?php echo tr('Destinazione merce'); ?>", "name": "idsede", "values": "query=SELECT id, CONCAT_WS(', ', nomesede, citta) AS descrizione FROM an_sedi WHERE (idanagrafica='$idanagrafica$' OR idanagrafica=(SELECT valore FROM zz_settings WHERE nome='Azienda predefinita')) UNION SELECT '0' AS id, 'Sede legale' AS descrizione ORDER BY descrizione", "value": "$idsede$", "readonly": "<?php echo $record['flag_completato']; ?>" ]}
{[ "type": "select", "label": "<?php echo tr('Destinazione merce'); ?>", "name": "idsede", "ajax-source": "sedi", "value": "$idsede$", "readonly": "<?php echo $record['flag_completato']; ?>" ]}
</div>
</div>

3
update/2_4_3.sql Normal file
View File

@ -0,0 +1,3 @@
-- Fix nome colonna 'Cliente' ddt vendita e acquisto
UPDATE `zz_views` SET `name` = 'Ragione sociale' WHERE `zz_views`.`id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Ddt di vendita') AND name = 'Cliente';
UPDATE `zz_views` SET `name` = 'Ragione sociale' WHERE `zz_views`.`id_module` = (SELECT `id` FROM `zz_modules` WHERE `name` = 'Ddt di acquisto') AND name = 'Cliente';