From f7fa2d6f526eee72a873705dd424d07e36573321 Mon Sep 17 00:00:00 2001 From: Beppe Date: Wed, 6 Nov 2024 12:07:30 +0100 Subject: [PATCH] Fix: Correzione selettore pagamento al cambio cliente nei preventivi --- modules/preventivi/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/preventivi/edit.php b/modules/preventivi/edit.php index 214eca33f..396ef1663 100755 --- a/modules/preventivi/edit.php +++ b/modules/preventivi/edit.php @@ -133,7 +133,7 @@ echo ' echo Modules::link('Pagamenti', $record['idpagamento'], null, null, 'class="pull-right"'); } ?> - {[ "type": "select", "label": "", "name": "idpagamento", "values": "query=SELECT `co_pagamenti`.`id`, `title` AS descrizione FROM `co_pagamenti` LEFT JOIN `co_pagamenti_lang` ON (`co_pagamenti`.`id` = `co_pagamenti_lang`.`id_record` AND `co_pagamenti_lang`.`id_lang` = id); ?>) GROUP BY `title` ORDER BY `title`", "value": "$idpagamento$" ]} + {[ "type": "select", "label": "", "name": "idpagamento", "ajax-source": "pagamenti", "value": "$idpagamento$" ]}