Aggiunto metodo sospeso
git-svn-id: svn://10.65.10.50/trunk@596 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3ef2246377
commit
e10d4efad8
@ -39,6 +39,7 @@ public:
|
||||
int tipo() const;
|
||||
TipoIVA iva() const;
|
||||
bool corrispettivi() const;
|
||||
bool sospeso() const { return _rec.get_bool("B1");}
|
||||
const TString& name() const;
|
||||
int year() const;
|
||||
TDate last_reg() const { return _rec.get_date("D2"); }
|
||||
|
@ -171,6 +171,7 @@ bool TBill::read(TRectype &r)
|
||||
r = pcon.curr();
|
||||
_tipo_cr = r.get_int("TIPOSPRIC");
|
||||
_descrizione = r.get("DESCR");
|
||||
_sospeso = r.get_bool("SOSPESO");
|
||||
}
|
||||
else
|
||||
r.zero();
|
||||
|
@ -16,7 +16,8 @@ class TBill : public TSortable
|
||||
long _sottoconto; // Sottoconto, codice cliente o fornitore
|
||||
TString80 _descrizione; // Vuota fino alla chiamata di describe
|
||||
int _tipo_cr; // Tipo costo/ricavo
|
||||
|
||||
bool _sospeso;
|
||||
|
||||
protected:
|
||||
virtual int compare(const TSortable& s) const;
|
||||
virtual const char* class_name() const { return "Conto"; }
|
||||
@ -51,7 +52,8 @@ public:
|
||||
|
||||
int tipo_att();
|
||||
bool read(TRectype& r);
|
||||
|
||||
bool sospeso() const { return _sospeso;} // _sospeso e' letto nella read()
|
||||
|
||||
const char* string(int mode = 0);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user