Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


corretta stampa pharmatex


git-svn-id: svn://10.65.10.50/trunk@19544 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2009-10-29 15:08:32 +00:00
parent 1f55a0ce24
commit 53ef9da7c0

View File

@ -782,7 +782,7 @@ void TProspettoScadenze::print_totali_rows(int nriga, bool what)
rw = ""; rw = "";
if (_sinfasce) if (_sinfasce)
{ {
for (int i = _sfasce; i >= 0; i--) for (int i = _sfasce; i > 0; i--)
{ {
if (v._s[i] != ZERO) if (v._s[i] != ZERO)
{ {
@ -914,7 +914,7 @@ void TProspettoScadenze::export_totali_rows()
if (_sinfasce) if (_sinfasce)
{ {
for (int i = _sfasce; i >= 0; i--) for (int i = _sfasce - 1; i > 0; i--)
{ {
_recset->set(_colnames.row(col++), v._s[i]); _recset->set(_colnames.row(col++), v._s[i]);
tot += v._s[i]; tot += v._s[i];
@ -936,7 +936,7 @@ void TProspettoScadenze::export_totali_rows()
} }
else else
{ {
_recset->set(_colnames.row(col++), v._ns[0]); _recset->set(_colnames.row(col), v._ns[0]);
tot += v._ns[0]; tot += v._ns[0];
col++; col++;
} }
@ -1011,7 +1011,7 @@ void TProspettoScadenze::print_header()
{ {
rw << format("@%dg >%3d gg", pos, _slimiti[_sfasce - 1] * 30); rw << format("@%dg >%3d gg", pos, _slimiti[_sfasce - 1] * 30);
pos += 12; pos += 12;
for (int i = _sfasce -1 ; i >= 0; i--) for (int i = _sfasce -1 ; i > 0; i--)
{ {
rw << format("@%dg <= %3d gg", pos, _slimiti[i] * 30); rw << format("@%dg <= %3d gg", pos, _slimiti[i] * 30);
pos += 12; pos += 12;