Corretto MI2003 liquidazione
git-svn-id: svn://10.65.10.50/trunk@709 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b04fedfea8
commit
3195e247e2
@ -71,7 +71,7 @@ bool TLiquidazione_app::recalc_all()
|
||||
|
||||
TApplication::set_firm(__firm);
|
||||
delete _prind; _prind = NULL;
|
||||
|
||||
|
||||
return !canc;
|
||||
}
|
||||
|
||||
|
@ -218,7 +218,7 @@ bool TLiquidazione_app::look_lim(int m, bool create)
|
||||
|
||||
bool TLiquidazione_app::look_pla(const char* a, bool create)
|
||||
{
|
||||
bool ok = FALSE;
|
||||
bool ok = FALSE;
|
||||
_pla_r->zero();
|
||||
|
||||
// forza il tipoatt a 1
|
||||
|
@ -105,10 +105,9 @@ void TLiquidazione_app::recalc_corrispettivi(int month, const char* codatt)
|
||||
// ricalcolo della malefica ventilazione
|
||||
void TLiquidazione_app::recalc_ventilation(int month, const char* codatt)
|
||||
{
|
||||
if (_vend_arr.items() == 0) return;
|
||||
if (!_isvent || _vend_arr.items() == 0) return;
|
||||
|
||||
TString att(codatt);
|
||||
_isvent = TRUE;
|
||||
|
||||
// 1) ricalcola i pim dei mesi dal primo al corrente se necessario
|
||||
for (int m = 1; m < month; m++)
|
||||
|
@ -154,7 +154,9 @@ void TLiquidazione_app::describe_plafond(int month, const char* codatt)
|
||||
}
|
||||
|
||||
void TLiquidazione_app::describe_ventilation(int month, const char* codatt)
|
||||
{
|
||||
{
|
||||
if (!_isvent) return;
|
||||
|
||||
if (_isriepilogo || _isannual) month = 12;
|
||||
|
||||
_DescrItem* d = new _DescrItem(VENTILA);
|
||||
|
Loading…
x
Reference in New Issue
Block a user