Corretti MI2377, sulla liquidazione annuale per ditta trimestrale.
e MI2382 sulla considerazione fatture in ritardo in annuale con tipo costo ricavo = 1. git-svn-id: svn://10.65.10.50/trunk@5623 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6fff731225
commit
bd18333632
@ -399,7 +399,7 @@ bool TLiquidazione_app::update_att(int month, const char* codatt,
|
||||
// Ricalcolo ventilazione:
|
||||
// - tutti i mesi se e' mensile
|
||||
// - nei mesi 3,6,9,12 se trimestrale
|
||||
if (_freqviva == "M" || (_freqviva == "T" && is_trim(month)))
|
||||
if (_freqviva == "M" || (_freqviva == "T" && (is_trim(month) || month == 13)))
|
||||
recalc_ventilation(month, codatt);
|
||||
recalc_corrispettivi(month, codatt);
|
||||
}
|
||||
@ -705,12 +705,14 @@ void TLiquidazione_app::recalc_att(int month, const char* codatt)
|
||||
vssp_imp += vsimp_imp;
|
||||
vssp_iva += vsimp_iva;
|
||||
}
|
||||
else if (fattrit)
|
||||
else if (fattrit) // Possono essere solo acquisti
|
||||
{
|
||||
rit_imp = imponibile;
|
||||
rit_iva = imposta;
|
||||
}
|
||||
else if (!fattrit || (fattrit && _isagricolo && _month == 13)) // normale
|
||||
|
||||
// Le fatture in ritardo non vanno considerate nel periodo ma solo nell'annuale
|
||||
if (!fattrit || (fattrit /*&& _isagricolo*/ && _month == 13)) // normale
|
||||
{
|
||||
|
||||
// *****************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user