Patch level : 12.0 998

Files correlati     : cg4.exe
Commento            :

Nella stampa registri la variabile agenzie di viagio non ere inizializzata per cui poteva considerare agenzie di viaggio per l'IVA per cassa anche ditte che non lo erano.

Nella liquidazione IVA la restore status non funzionava più. Questo aveva efftto per i trimestrali che cacolano 3 mesi e stampano sul terzo che non veniva mai esaminato.
This commit is contained in:
Alessandro Bonazzi 2020-09-30 23:59:41 +02:00
parent 2ecadc5c4a
commit 6b5e71e756

View File

@ -382,7 +382,8 @@ void TRelation::restore_status()
_status.get(_files.items()*3 - 1); // mi riposiziono prima di tutti i first_match
for (i = 0; i < _reldefs.items(); i++)
{
const bool first_match = _status.get_int() ? TRUE : FALSE;
const bool first_match = _status.get()[0] == 'X';
reldef(i)._first_match = first_match;
}
}