MOdifichette per scadenzario
git-svn-id: svn://10.65.10.50/trunk@1145 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5f59076287
commit
2e7da1d997
@ -6,8 +6,8 @@
|
||||
#endif
|
||||
|
||||
#include <assoc.h>
|
||||
#include "conto.h"
|
||||
#include "cg2103.h" // per TCausale
|
||||
#include "../cg/conto.h"
|
||||
#include "../cg/cg2103.h" // per TCausale
|
||||
|
||||
|
||||
class TCaus : public TCausale
|
||||
|
@ -842,7 +842,7 @@ void TPagamento::set_rate_auto()
|
||||
|
||||
|
||||
|
||||
void TPagamento::set_total(real& imponibile, real& imposta, real& spese)
|
||||
void TPagamento::set_total(const real& imponibile, const real& imposta, const real& spese)
|
||||
{
|
||||
_imponibile = imponibile;
|
||||
_imposta = imposta;
|
||||
|
@ -42,7 +42,8 @@ class TPagamento : public TObject
|
||||
const char* _rata_sfield(int n, int f) const;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
// pregasi notare la straordinaria dovizia di const
|
||||
int n_rate() const { return _rate.items(); }
|
||||
bool is_new() const { return _new; }
|
||||
bool dirty() const { return _dirty; }
|
||||
@ -61,6 +62,7 @@ public:
|
||||
bool mese_commerciale() const { return _mcomm; }
|
||||
bool rate_differenziate() const { return _rdiff; }
|
||||
int tipo_prima_rata() const { return _tpr; }
|
||||
|
||||
// mi scuso per la mancanza di underscore, ma mi piaceva cosi'
|
||||
bool ratapagata(int n);
|
||||
|
||||
@ -80,6 +82,7 @@ public:
|
||||
|
||||
void set_inizio_scadenza(char v) { _inscad = v; }
|
||||
void set_code(const char* c) { _code = c; }
|
||||
|
||||
// check consistency: returns word with errors flagged, 0 if ok
|
||||
word validate() const;
|
||||
void strerr(word err, TString& s);
|
||||
@ -112,7 +115,7 @@ public:
|
||||
void set_imprata(int i, real r);
|
||||
|
||||
// slicer interface
|
||||
void set_total(real& ib, real& im, real& sp);
|
||||
void set_total(const real& ib, const real& im, const real& sp);
|
||||
|
||||
// istanzia uno sheet field come diobue comanda
|
||||
void set_sheet(TSheet_field& sf, int sscad = -1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user