Fix grafico interventi

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

View File

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