Patch level : 12.0 1096
Files correlati : li0.exe Commento : Corretta la ricostruzione plafond.
This commit is contained in:
parent
0f5687a928
commit
3d906254a0
@ -441,7 +441,7 @@ bool TReport_doc::print(const TRecordset& doc, TReport_book& book, bool definiti
|
||||
}
|
||||
}
|
||||
|
||||
printed = book.add(*this, false);
|
||||
printed = book.add(*this, _export_printer, false);
|
||||
if (!printed)
|
||||
break;
|
||||
}
|
||||
|
@ -1623,7 +1623,7 @@ int TDocumento::write_rewrite(TBaseisamfile & f, bool re) const
|
||||
} // Almeno una riga aperta -> doc aperto
|
||||
|
||||
// Aggiunte per il controllo plafond
|
||||
((TDocumento &)*this).plafond().write_rewrite((TDocumento &)*this, re);
|
||||
myself.plafond(true).write_rewrite((TDocumento &)*this, re);
|
||||
if (tipo().auto_evasione())
|
||||
{
|
||||
FOR_EACH_SELF_PHYSICAL_RDOC(i, rdoc)
|
||||
@ -1744,7 +1744,7 @@ int TDocumento::remove(TBaseisamfile& f) const
|
||||
#endif
|
||||
if (_has_provv && tipo().provvigioni())
|
||||
myself.update_provvigioni(true);
|
||||
myself.plafond().remove(myself);
|
||||
myself.plafond(true).remove(myself);
|
||||
myself.auto_evasione();
|
||||
}
|
||||
return TMultiple_rectype::remove(f);
|
||||
@ -2808,7 +2808,7 @@ const real TDocumento::importo_plafond(bool diff) const
|
||||
|
||||
FOR_EACH_SELF_RDOC( r, rdoc)
|
||||
// Se l'iva del documento è diversa non mi interessa
|
||||
if (!rdoc->is_descrizione() && !rdoc->is_descrizione())
|
||||
if (!rdoc->is_descrizione() && !rdoc->is_omaggio())
|
||||
{
|
||||
const TString & codiva = rdoc->iva().codice();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user