Skip to content

Commit cc52cb4

Browse files
committed
fix: #1604 Sezionale in base al tipo documento in add fatture di acquisto
1 parent 33317b6 commit cc52cb4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

modules/fatture/add.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,13 @@
255255
});
256256
})
257257
</script>';
258+
} else {
259+
echo '
260+
<script>
261+
$(document).ready(function () {
262+
input("idtipodocumento_add").change(function () {
263+
$("#id_segment_add").selectSetNew($(this).selectData().id_segment, $(this).selectData().name_segment);
264+
});
265+
})
266+
</script>';
258267
}

0 commit comments

Comments
 (0)