Patch level : 12.0 no-patch
Files correlati : Commento : Corretto invio bolle Major
This commit is contained in:
parent
383c56648f
commit
7381e397aa
@ -98,18 +98,23 @@ void TFlexform_xml_ddt::export_docs(const TString & codnum, long codcli, int yea
|
|||||||
TLista_documenti docs;
|
TLista_documenti docs;
|
||||||
TString header("Esportazione ddt");
|
TString header("Esportazione ddt");
|
||||||
TCodice_numerazione num_ddt(codnum);
|
TCodice_numerazione num_ddt(codnum);
|
||||||
TToken_string tipi = num_ddt.tipi_doc();
|
TToken_string tipi("*"); // = num_ddt.tipi_doc();
|
||||||
TToken_string stati("1|2|3|4|5|6|7|8|9");
|
const int items = tipi.items();
|
||||||
|
TToken_string stati("*");
|
||||||
const int ndocs = docs.read('D', 'C', codcli, year, tipi, stati, nulldate, nulldate, codnum, from, to);
|
const int ndocs = docs.read('D', 'C', codcli, year, tipi, stati, nulldate, nulldate, codnum, from, to);
|
||||||
TProgress_monitor bar(ndocs, header);
|
|
||||||
|
if (ndocs > 0)
|
||||||
for (int n = 0; n < ndocs && bar.add_status(); n++)
|
|
||||||
{
|
{
|
||||||
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)
|
TFlexform_xml_ddt::TFlexform_xml_ddt(const char* xml_name) : TEsa_xml(xml_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user