From 885ec40e0380e531d773a53bc530dd95e87aa4de Mon Sep 17 00:00:00 2001 From: valentina Date: Wed, 2 Oct 2024 09:54:10 +0200 Subject: [PATCH] Fix grafico interventi --- modules/interventi/edit.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/interventi/edit.php b/modules/interventi/edit.php index fd6ee812a..4eaed746e 100755 --- a/modules/interventi/edit.php +++ b/modules/interventi/edit.php @@ -93,14 +93,17 @@ echo ' -
'; +
+
'; if ($record['idagente'] != 0) { - echo Modules::link('Anagrafiche', $record['idagente'], null, null, 'class="pull-right"'); + echo Modules::link('Anagrafiche', $record['idagente'], null, null, 'class="pull-right"'); } echo ' -
+ {[ "type": "select", "label": "'.tr('Agente').'", "name": "idagente", "ajax-source": "agenti", "select-options": {"idanagrafica": '.$record['idanagrafica'].'}, "value": "$idagente$" ]}
+ +
'; echo !empty($record['idpagamento']) ? Modules::link('Pagamenti', $record['idpagamento'], null, null, 'class="pull-right"') : ''; echo '