visualizzate note in dettaglio ordine esportato

This commit is contained in:
2022-06-07 12:44:31 +02:00
parent 3e4b9e0770
commit 4f8e7740d5
4 changed files with 12 additions and 2 deletions

View File

@@ -11,5 +11,10 @@
<option name="enabled" value="true" />
</CommitMessageValidationOverride>
</option>
<option name="commitMessageValidationEnabledOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
</component>
</project>

3
.idea/php.xml generated
View File

@@ -5,4 +5,7 @@
<skipped_path path="$PROJECT_DIR$/../PVM" />
</skipped_paths>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.0">
<option name="suggestChangeDefaultLanguageLevel" value="false" />
</component>
</project>

View File

@@ -269,6 +269,8 @@ class big_query{
wdtb_ordt.rif_ord,
wdtb_ordt.term_cons,
wdtb_ordt.tot_imponib,
wdtb_ordt.cod_paga,
wdtb_ordt.descrizione_paga,
wdtb_ordt.tot_iva,
vtb_clie.flag_td
FROM wdtb_ordr,
@@ -296,7 +298,7 @@ class big_query{
wdtb_new_cli_ord.cap,wdtb_new_cli_ord.citta,wdtb_new_cli_ord.prov,wdtb_new_cli_ord.destinatario,wdtb_new_cli_ord.rag_soc2,
wdtb_new_cli_ord.e_mail,wdtb_new_cli_ord.indirizzo_des,wdtb_new_cli_ord.cap_des,wdtb_new_cli_ord.citta_des, wdtb_new_cli_ord.prov_des,
wdtb_new_cli_ord.cod_anag, wdtb_new_cli_ord.cod_vdes,wdtb_new_cli_ord.part_iva, wdtb_new_cli_ord.data_ord, wdtb_ordt.note,
wdtb_ordt.tot_iva,wdtb_ordt.tot_imponib,wdtb_ordt.sconto1, wdtb_ordt.sconto2, wdtb_ordt.sconto3, wdtb_ordt.sconto4";
wdtb_ordt.tot_iva,wdtb_ordt.tot_imponib, wdtb_ordt.cod_paga, wdtb_ordt.descrizione_paga,wdtb_ordt.sconto1, wdtb_ordt.sconto2, wdtb_ordt.sconto3, wdtb_ordt.sconto4";
return str_replace("%DATA_ORD%", $data_ord, str_replace("%NUM_ORD%", $num_ord, str_replace("%SERIE%", $serie, $sql)));
}

View File

@@ -245,7 +245,7 @@ if ($db->next_record()) {
?>
<div class="dettOrd"><b>Modalità di pagamento</b>: <?= $cod_paga.(strlen(trim($descr_paga)) >0 ? " - ".$descr_paga : "") ?></div><?
}
if (strlen(trim($note_ord)) > 0 && !$dtb) {
if (strlen(trim($note_ord)) > 0) {
?>
<div class="dettOrd"><b>Note</b>: <?= $note_ord ?></div><? } ?>