Patch level : 12.0 766
Files correlati : fp Commento : Corretto calcolo ritenuta
This commit is contained in:
parent
1255aac8a5
commit
5857997e5b
@ -1267,9 +1267,7 @@ void TDoc_fp::add_ritenuta(const TDocumentoEsteso& doc, const TSpesa_prest& sp,
|
||||
paf0700f.set("P7_TIPORITENUTA", _rec_clifo.get_char(CLI_TIPOPERS) == 'F' ? "RT01" : "RT02");
|
||||
TString doc_imponibile = doc.imponibile().string();
|
||||
|
||||
const real imponibile = doc.ritenute();
|
||||
|
||||
paf0700f.set("P7_IMPORTORIT", converti_prezzo(imponibile * sp.perc() / CENTO));
|
||||
paf0700f.set("P7_IMPORTORIT", converti_prezzo(doc.ritenute()));
|
||||
paf0700f.set("P7_ALIQUOTARIT", sp.perc());
|
||||
static TString caus_la; caus_la.cut(0);
|
||||
caus_la << sp.get("S14");
|
||||
|
Loading…
x
Reference in New Issue
Block a user