Patch level : 12.0 998
Files correlati : cf4.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:
parent
9f30fe3e29
commit
2ecadc5c4a
@ -1415,7 +1415,7 @@ void TLiquidazione_app::set_firm(_DescrItem& d)
|
||||
else
|
||||
{
|
||||
if (d._s2 == "T")
|
||||
tim_title << format(FR(" del %d° Trimestre %s"), d._f1/3, (const char*) _year);
|
||||
tim_title << format(FR(" del %d° Trimestre %s"), (d._f1 - 1) / 3 + 1, (const char*) _year);
|
||||
else
|
||||
if (_is_liq_acconto)
|
||||
tim_title << format(FR(" al %d %s %s"), _ver->giorno_acc(), itom(d._f1), (const char*)_year);
|
||||
@ -1479,7 +1479,7 @@ void TLiquidazione_app::set_att(_DescrItem& d)
|
||||
else
|
||||
{
|
||||
if (d._s4 == "T")
|
||||
tim_title << format(FR(" del %d° Trimestre %s"), d._f1 / 3, (const char*)_year);
|
||||
tim_title << format(FR(" del %d° Trimestre %s"), (d._f1 - 1) / 3 + 1, (const char*)_year);
|
||||
else
|
||||
if (_is_liq_acconto)
|
||||
tim_title << format(FR(" al %d %s %s"), _ver->giorno_acc(), itom(d._f1), (const char*)_year);
|
||||
|
@ -2095,10 +2095,10 @@ bool TStampa_registri_app::print_IVAxCassa(int da_month, int a_month)
|
||||
print_real(riga, importo, 70);
|
||||
print_real(riga, imponibile, 85);
|
||||
riga.put(rec.get(ID_CODIVA), 102);
|
||||
print_real(riga, imposta, 107);
|
||||
print_real(riga, imposta, 107);
|
||||
riga.put(rec.get_int(ID_NUMPRO) >= 999 ? "X" : "", 123);
|
||||
if (_tipo_stampa == prova)
|
||||
riga.put(format("%6ld", rec.get_long(MOV_NUMREG)), 125);
|
||||
riga.put(format("%6ld", rec.get_long(MOV_NUMREG)), 125);
|
||||
pr.print(riga);
|
||||
|
||||
if(!id.get(ID_INDETR).as_bool())
|
||||
|
@ -151,7 +151,8 @@ public:
|
||||
virtual void preprocess_footer();
|
||||
virtual void on_page_printed(int file);
|
||||
|
||||
TStampa_registri_app() : TPrintapp(), _ditte(NULL), _nomiditte(100), _test(false), _stampa_acconto(false) {}
|
||||
TStampa_registri_app() : TPrintapp(), _ditte(NULL), _nomiditte(100),
|
||||
_isviaggio(false), _test(false), _stampa_acconto(false) {}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user