Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento : aggiunto modulo CT (tracciabilità cup-cig) modifiche alle librerie per poterlo usare git-svn-id: svn://10.65.10.50/branches/R_10_00@21442 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4268496bc1
commit
97d8da52e1
@ -1,5 +1,5 @@
|
||||
ba Base
|
||||
74
|
||||
ct Tracciabilita' CUP
|
||||
75
|
||||
76
|
||||
77 Gestione Percipienti
|
||||
|
@ -854,9 +854,9 @@ word TDongle::module_name2code(const char* mod) const
|
||||
if (real::is_natural(mod))
|
||||
{
|
||||
i = atoi(mod);
|
||||
// Trasforma i numeri da 74 a 77 nei codici da M74AUT a M77AUT
|
||||
if (i >= 74 && i <= 77)
|
||||
i += M74AUT-74;
|
||||
// Trasforma il numero 77 nel codice M77AUT
|
||||
if (i == 77)
|
||||
i = M77AUT;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define __MODAUT_H
|
||||
|
||||
#define BAAUT 0
|
||||
#define M74AUT 1
|
||||
#define CTAUT 1
|
||||
#define M75AUT 2
|
||||
#define M76AUT 3
|
||||
#define M77AUT 4
|
||||
|
@ -646,7 +646,12 @@ void TRecordset::parsed_text(TString& sql) const
|
||||
sql.cut(pos);
|
||||
|
||||
if (var.type() == _datefld)
|
||||
s.format("%ld", var.as_date().date2ansi());
|
||||
{
|
||||
if (var.is_empty())
|
||||
s.cut(0) << *apici << *apici;
|
||||
else
|
||||
s.format("%ld", var.as_date().date2ansi());
|
||||
}
|
||||
else
|
||||
{
|
||||
s = var.as_string();
|
||||
|
Loading…
x
Reference in New Issue
Block a user