Patch level : 10.0 504
Files correlati : ve1.exe Ricompilazione Demo : [ ] Commento Bug 0001489 Immettere un filtro sulla stampa dei documenti che mi permetta di stampare solo i non stampati La stampa definitiva ora stampa solo i documenti non stampati mentre quella provvisoria li stampa tutti git-svn-id: svn://10.65.10.50/trunk@19581 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d59ad4f401
commit
b1f2cb998f
@ -298,10 +298,13 @@ bool TReport_doc::print(const TRecordset& doc, TReport_book& book, bool definiti
|
|||||||
const TString old_query = recordset()->query_text();
|
const TString old_query = recordset()->query_text();
|
||||||
|
|
||||||
TDoc_recordset* rs = new TDoc_recordset(doc, old_query);
|
TDoc_recordset* rs = new TDoc_recordset(doc, old_query);
|
||||||
set_recordset(rs);
|
|
||||||
|
if (definitive && !rs->doc().stampabile())
|
||||||
|
return true;
|
||||||
|
set_recordset(rs);
|
||||||
|
|
||||||
bool printed = false;
|
bool printed = false;
|
||||||
|
|
||||||
for (int c = 1; c <= copie; c++)
|
for (int c = 1; c <= copie; c++)
|
||||||
{
|
{
|
||||||
set_copy(c, copie);
|
set_copy(c, copie);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user