Skip to content

Commit 5dedf5e

Browse files
committed
fix: source anagrafiche in ddt
1 parent 0aedd51 commit 5dedf5e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

modules/anagrafiche/ajax/select.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@
381381
'id' => $r['id'],
382382
'text' => $r['descrizione'],
383383
'descrizione' => $r['descrizione'],
384+
'link' => 'module:Anagrafiche',
384385
];
385386
}
386387

modules/ddt/edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
<!-- RIGA 1 -->
137137
<div class="row">
138138
<div class="col-md-3">
139-
{[ "type": "select", "label": "'.($dir == 'uscita' ? tr('Mittente') : tr('Destinatario')).'", "name": "idanagrafica", "required": 1, "value": "$idanagrafica$", "ajax-source": "clienti" ]}
139+
{[ "type": "select", "label": "'.($dir == 'uscita' ? tr('Mittente') : tr('Destinatario')).'", "name": "idanagrafica", "required": 1, "value": "$idanagrafica$", "ajax-source": "clienti_fornitori" ]}
140140
</div>';
141141
if ($dir == 'entrata') {
142142
echo '

0 commit comments

Comments
 (0)