Patch level : 10.0 no patch
Files correlati : Ricompilazione Demo : [ ] Commento : Aggiunti metodi fisrt_um e is _first_um() usati per ora nella stampa kg delle lavanderie git-svn-id: svn://10.65.10.50/trunk@19981 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
690ca2fc36
commit
f588484f0c
@ -120,7 +120,10 @@ public:
|
||||
int find_um(const char * um, int from = 0) const;
|
||||
int find_deslin(const char * deslin, int from = 0) const;
|
||||
int find_codcorr(const char * codcorr, int from = 0) const;
|
||||
|
||||
|
||||
bool is_first_um(const char * ums) const { return um().rows() > 0 ? find_um(ums) == 1: false; }
|
||||
const char * first_um() const { return um().rows() > 0 ? um()[1].get(UMART_UM) : ""; }
|
||||
|
||||
static void round_um(real& v, const char* to_um);
|
||||
real convert_to_um(const real& v, const char* to_um, const char* from_um = NULL, bool arrotonda = true);
|
||||
|
||||
@ -128,7 +131,7 @@ public:
|
||||
TRecord_array & deslin() const { return body(LF_DESLIN); }
|
||||
TRecord_array & codcorr() const { return body(LF_CODCORR); }
|
||||
|
||||
TArticolo(const char* codice = NULL);
|
||||
TArticolo(const char* codice = NULL);
|
||||
TArticolo(const TRectype& rec);
|
||||
virtual ~TArticolo() {}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user