Skip to content

Commit b274d1c

Browse files
committed
fix: campo collega a fatture pro-forma in import fe
1 parent 3e5093c commit b274d1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/importFE/generate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ function cleanup(){
336336
{[ "type": "select", "label": "'.tr('Fattura collegata').'", "name": "ref_fattura", "required": 0, "values": "query='.$query.'" ]}
337337
</div>';
338338
} elseif ($dati_generali['TipoDocumento'] == 'TD06') {
339-
$query .= 'AND `co_documenti`.`id_segment` = (SELECT `zz_segments`.`id` FROM `zz_segments` WHERE `zz_segments`.`name` = "Fatture pro-forma" AND `id_module` = '.prepare($id_module).')';
339+
$query .= 'AND `co_documenti`.`id_segment` = (SELECT `zz_segments`.`id` FROM `zz_segments` WHERE `zz_segments`.`name` = \"Fatture pro-forma\" AND `id_module` = '.prepare($id_module).')';
340340

341341
echo '
342342
<div class="col-md-3">

0 commit comments

Comments
 (0)