Patch level : 12.0 no-patch

Files correlati     :
Commento            :

Corretto invio bolle Major
This commit is contained in:
Alessandro Bonazzi 2020-12-11 07:12:44 +01:00
parent 383c56648f
commit 7381e397aa

View File

@ -98,18 +98,23 @@ void TFlexform_xml_ddt::export_docs(const TString & codnum, long codcli, int yea
TLista_documenti docs;
TString header("Esportazione ddt");
TCodice_numerazione num_ddt(codnum);
TToken_string tipi = num_ddt.tipi_doc();
TToken_string stati("1|2|3|4|5|6|7|8|9");
TToken_string tipi("*"); // = num_ddt.tipi_doc();
const int items = tipi.items();
TToken_string stati("*");
const int ndocs = docs.read('D', 'C', codcli, year, tipi, stati, nulldate, nulldate, codnum, from, to);
TProgress_monitor bar(ndocs, header);
for (int n = 0; n < ndocs && bar.add_status(); n++)
if (ndocs > 0)
{
const TDocumento & doc = docs[n];
TProgress_monitor bar(ndocs, header);
add_doc(doc, log);
for (int n = 0; n < ndocs && bar.add_status(); n++)
{
const TDocumento & doc = docs[n];
add_doc(doc, log);
}
export_doc();
}
export_doc();
}
TFlexform_xml_ddt::TFlexform_xml_ddt(const char* xml_name) : TEsa_xml(xml_name)