Patch level : 12.0 656

Files correlati     : ve
Commento            : Aggiunta nuova funzione imp_orig() che ritorna il valore non per reference, così posso usarlo in oggetti const
This commit is contained in:
Mattia Tollari 2018-12-10 14:29:37 +01:00
parent 00048f0239
commit d16464a1cb

View File

@ -700,6 +700,8 @@ public:
real imponibile(bool spese = true) const { return _imp + (spese ? _imp_spese : ZERO); } // Imponibile
real imposta(bool spese = true) const { return _iva + (spese ? _iva_spese : ZERO); } // Iva
real& imp() { return _imp; }
// Creata per essere utilizzata in un const TRiepilogo_iva
real imp_orig() const { return _imp_orig; }
real& imp_orig() { return _imp_orig; }
real& imp_spese() { return _imp_spese; }
real& imp_spese_row() { return _imp_spese_row; }