Patch level : 12.0 938
Files correlati : fp0.exe Commento : Sistemata fatturazione con ritenute e casse professionali
This commit is contained in:
parent
f04781d289
commit
eebd1e94a1
@ -941,6 +941,7 @@ public:
|
|||||||
real basesconto() const;
|
real basesconto() const;
|
||||||
real spese() const;
|
real spese() const;
|
||||||
real spese(const TString & tipo_spesa) const;
|
real spese(const TString & tipo_spesa) const;
|
||||||
|
real prestazioni() const;
|
||||||
real ritenute(const char tipo = '\0', bool lordo = false, int ndec = AUTO_DECIMALS) const;
|
real ritenute(const char tipo = '\0', bool lordo = false, int ndec = AUTO_DECIMALS) const;
|
||||||
real provvigione(bool first = true, int ndec = AUTO_DECIMALS) const;
|
real provvigione(bool first = true, int ndec = AUTO_DECIMALS) const;
|
||||||
real valore(bool totale, bool lordo = false, int ndec = AUTO_DECIMALS) const;
|
real valore(bool totale, bool lordo = false, int ndec = AUTO_DECIMALS) const;
|
||||||
|
@ -2581,6 +2581,16 @@ real TDocumento::spese(const TString & tipo_spesa) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
real TDocumento::prestazioni() const
|
||||||
|
{
|
||||||
|
real r = ZERO;
|
||||||
|
|
||||||
|
FOR_EACH_PHYSICAL_RDOC(*this, i, rdoc)
|
||||||
|
if (rdoc->is_prestazione())
|
||||||
|
r += rdoc->imponibile();
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
real TDocumento::ritenute(const char tipo, bool lordo, int ndec) const
|
real TDocumento::ritenute(const char tipo, bool lordo, int ndec) const
|
||||||
{
|
{
|
||||||
real val;
|
real val;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user