diff --git a/lv/lv2500.cpp b/lv/lv2500.cpp index 4e63a43c0..e1fd2e00c 100755 --- a/lv/lv2500.cpp +++ b/lv/lv2500.cpp @@ -298,8 +298,13 @@ void TFatturazione_lavanderie::post_process(TLista_documenti& doc_out, TLista_do bool elcons = contr.get_bool(LVCONDV_ELCONS); bool rifbol = contr.get_bool(LVCONDV_RIFBOL); bool riftest = ini_get_bool(CONFIG_DITTA, "lv", "RifTest"); + bool liqdiff = doc.clifor().get_int(CLI_ALLEG) == 7 && doc.clifor().vendite().get_bool(CFV_FATTSOSP); TAssoc_array nolo_computed; + if (liqdiff) + doc.put(DOC_LIQDIFF, "X"); + else + doc.zero(DOC_LIQDIFF); if (doc.physical_rows() > 0 && doc[1].is_descrizione()) { if (elcons)