Nuovi metodi calcolo pagamento
git-svn-id: svn://10.65.10.50/trunk@1700 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2b25310552
commit
8444247f6a
2969
cg/pagament.cpp
2969
cg/pagament.cpp
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,9 @@ class TPagamento : public TObject
|
|||||||
real _secndr; // importo da distribuire
|
real _secndr; // importo da distribuire
|
||||||
|
|
||||||
int _fixd[3]; // giorni scadenza fissa, se desiderati
|
int _fixd[3]; // giorni scadenza fissa, se desiderati
|
||||||
|
int _round; // decimali arrotondamento importo
|
||||||
|
int _int_rate;
|
||||||
|
|
||||||
int _rata_ifield(int n, int f) const;
|
int _rata_ifield(int n, int f) const;
|
||||||
real _rata_rfield(int n, int f) const;
|
real _rata_rfield(int n, int f) const;
|
||||||
TDate _rata_dfield(int n, int f) const;
|
TDate _rata_dfield(int n, int f) const;
|
||||||
@ -79,7 +81,8 @@ public:
|
|||||||
bool mese_commerciale() const { return _mcomm; }
|
bool mese_commerciale() const { return _mcomm; }
|
||||||
bool rate_differenziate() const { return _rdiff; }
|
bool rate_differenziate() const { return _rdiff; }
|
||||||
int tipo_prima_rata() const { return _tpr; }
|
int tipo_prima_rata() const { return _tpr; }
|
||||||
|
int decs() const { return _round; }
|
||||||
|
|
||||||
// mi scuso per la mancanza di underscore, ma mi piaceva cosi'
|
// mi scuso per la mancanza di underscore, ma mi piaceva cosi'
|
||||||
bool ratapagata(int n);
|
bool ratapagata(int n);
|
||||||
|
|
||||||
@ -101,8 +104,9 @@ public:
|
|||||||
void set_numero_rate(int n, int sscad = -1);
|
void set_numero_rate(int n, int sscad = -1);
|
||||||
|
|
||||||
void set_inizio_scadenza(char v) { _inscad = v; }
|
void set_inizio_scadenza(char v) { _inscad = v; }
|
||||||
void set_code(const char* c) { _code = c; }
|
void set_code(const char* c) { _code = c; }
|
||||||
|
void set_round(int n) { _round = n; }
|
||||||
|
|
||||||
// check consistency: returns word with errors flagged, 0 if ok
|
// check consistency: returns word with errors flagged, 0 if ok
|
||||||
word validate() const;
|
word validate() const;
|
||||||
void strerr(word err, TString& s);
|
void strerr(word err, TString& s);
|
||||||
@ -161,6 +165,7 @@ public:
|
|||||||
virtual ~TPagamento() {}
|
virtual ~TPagamento() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#ifndef __PARTITE_H
|
#ifndef __PARTITE_H
|
||||||
#include <partite.h>
|
#include <partite.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user