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$" ]}