Skip to content

Commit 479535c

Browse files
committed
fix: modifica numero ddt in entrata
1 parent 764723a commit 479535c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

modules/ddt/actions.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
$idrivalsainps = post('id_rivalsa_inps');
7575
$idritenutaacconto = post('id_ritenuta_acconto');
7676
$bollo = post('bollo');
77+
78+
$numero = post('numero');
79+
if (!empty($numero)) {
80+
$ddt->numero = $numero;
81+
}
7782
} else {
7883
$idrivalsainps = 0;
7984
$idritenutaacconto = 0;

modules/ddt/edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
if ($dir == 'uscita') {
167167
echo '
168168
<div class="col-md-2">
169-
{[ "type": "span", "label": "'.tr('Numero ddt').'", "class": "text-center", "value": "$numero$" ]}
169+
{[ "type": "text", "label": "'.tr('Numero ddt').'", "name": "numero", "class": "text-center", "value": "$numero$" ]}
170170
</div>';
171171
}
172172
?>

0 commit comments

Comments
 (0)