Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/branches/R_10_00@21465 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2011-01-18 14:35:08 +00:00
parent f41c5cb7fd
commit 590fef4e9e
2 changed files with 10 additions and 10 deletions

View File

@ -566,12 +566,12 @@ CODCMS =
FASCMS =
NAVP =
[Mastri]
[Parametri]
CLI_GRUPPO = 4
CLI_CONTO = 101
FOR_GRUPPO = 5
FOR_CONTO = 601
GRUPPI_MOV = 7|8
GRUPPI_MOV = 3|6|7|8
IVA_ESENTE = 999
// parametri generali della maschera (dns user password)

View File

@ -151,16 +151,16 @@ void THardy_movimenti::conto2campo(const TString& hd_tipoc, const TString& hd_ke
case 'C':
{
tipoc = "C";
gr = ini.get_int("CLI_GRUPPO", "Mastri");
co = ini.get_int("CLI_CONTO", "Mastri");
gr = ini.get_int("CLI_GRUPPO", "Parametri");
co = ini.get_int("CLI_CONTO", "Parametri");
so = hd_key2cli(hd_key);
}
break;
case 'F':
{
tipoc = "F";
gr = ini.get_int("FOR_GRUPPO", "Mastri");
co = ini.get_int("FOR_CONTO", "Mastri");
gr = ini.get_int("FOR_GRUPPO", "Parametri");
co = ini.get_int("FOR_CONTO", "Parametri");
so = hd_key2forn(hd_key);
}
break;
@ -173,8 +173,8 @@ void THardy_movimenti::conto2campo(const TString& hd_tipoc, const TString& hd_ke
bool THardy_movimenti::conto_is_costoricavo(const int gr)
{
TConfig& ini = config();
const int costi = ini.get_int("COSTI_GRUPPO", "Mastri");
const int ricavi = ini.get_int("RICAVI_GRUPPO", "Mastri");
const int costi = ini.get_int("COSTI_GRUPPO", "Parametri");
const int ricavi = ini.get_int("RICAVI_GRUPPO", "Parametri");
return ((gr == costi) || (gr == ricavi));
}
@ -350,8 +350,8 @@ bool THardy_movimenti::scrivi_righe()
TString paragraph;
int nrigai = 1; // contatore righe iva
TConfig& ini = config();
TString8 ivaesente = ini.get("IVA_ESENTE", "Mastri");
TToken_string gruppi_mov = ini.get("GRUPPI_MOV", "Mastri");
TString8 ivaesente = ini.get("IVA_ESENTE", "Parametri");
TToken_string gruppi_mov = ini.get("GRUPPI_MOV", "Parametri");
// se è un movimento iva metto in atto il meccanismo di ricerca per assegnare le aliquote ai conti
if (_righeiva->items()>0)
{