Fix grafico interventi

This commit is contained in:
valentina 2024-10-02 09:54:10 +02:00
parent ebcaf0aad5
commit edfc4db7b3
1 changed files with 6 additions and 3 deletions

View File

@ -93,14 +93,17 @@ echo '
</div>
</div>
<!-- RIGA 2 -->
<div class="row">';
<div class="row">
<div class="col-md-3">';
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 '
<div class="col-md-3">
{[ "type": "select", "label": "'.tr('Agente').'", "name": "idagente", "ajax-source": "agenti", "select-options": {"idanagrafica": '.$record['idanagrafica'].'}, "value": "$idagente$" ]}
</div>
<div class="col-md-3">';
echo !empty($record['idpagamento']) ? Modules::link('Pagamenti', $record['idpagamento'], null, null, 'class="pull-right"') : '';
echo '