Patch level : 2.1 102
Files correlati : ve0.exe ve6.exe Ricompilazione Demo : [ ] Commento : La contabilizzazione non raggruppa correttamente le bolle nel caso sia spuntato il raggruppamento per banca e la banca non sia compilata git-svn-id: svn://10.65.10.50/trunk@12282 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2f54cc7611
commit
35edd36139
@ -1464,8 +1464,16 @@ bool TDocumento::raggruppabile(const TDocumento& doc, TToken_string& campi) cons
|
||||
TString campo;
|
||||
for (const char* c = campi.get(0); c && ok; c = campi.get())
|
||||
{
|
||||
campo = get(c);
|
||||
ok &= campo == doc.get(c);
|
||||
if (strncmp(c, "CODABI", 6) == 0 || strncmp(c, "CODCAB", 6) == 0)
|
||||
{
|
||||
long cod = get_long(c);
|
||||
ok &= (cod == doc.get_long(c));
|
||||
}
|
||||
else
|
||||
{
|
||||
campo = get(c);
|
||||
ok &= campo == doc.get(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
return ok;
|
||||
@ -1477,7 +1485,6 @@ void TDocumento::set_fields(TAuto_variable_rectype & rec)
|
||||
{
|
||||
TTipo_documento & tipo_doc = (TTipo_documento &) tipo();
|
||||
const TString& tot_doc = tipo_doc.totale_doc();
|
||||
// const TString& tot_provv = tipo_doc.totprovv();
|
||||
|
||||
for (const TFormula_documento* f = tipo_doc.first_formula(); f; f = tipo_doc.succ_formula())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user