Corretta formattazione
git-svn-id: svn://10.65.10.50/trunk@1405 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2a1027fb60
commit
4ca8e85e3b
@ -65,19 +65,19 @@ void TAgg_opintra::look_mov()
|
||||
const TString16 codcaus(mov.get(MOV_CODCAUS));
|
||||
if (codcaus.not_empty())
|
||||
{
|
||||
caus.setkey(1);
|
||||
caus.put(CAU_CODCAUS, codcaus);
|
||||
if (caus.read() == NOERR)
|
||||
{
|
||||
bool intra = caus.get_bool(CAU_INTRACOM);
|
||||
bool ok = rel.is_first_match(LF_RMOVIVA);
|
||||
while (ok)
|
||||
{
|
||||
rmoviva.put(RMI_INTRA, intra);
|
||||
rmoviva.rewrite();
|
||||
ok = rel.next_match(LF_RMOVIVA);
|
||||
}
|
||||
}
|
||||
caus.setkey(1);
|
||||
caus.put(CAU_CODCAUS, codcaus);
|
||||
if (caus.read() == NOERR)
|
||||
{
|
||||
bool intra = caus.get_bool(CAU_INTRACOM);
|
||||
bool ok = rel.is_first_match(LF_RMOVIVA);
|
||||
while (ok)
|
||||
{
|
||||
rmoviva.put(RMI_INTRA, intra);
|
||||
rmoviva.rewrite();
|
||||
ok = rel.next_match(LF_RMOVIVA);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ bool TAgg_tconto::preprocess_page(int file,int counter)
|
||||
tc.read(pcon);
|
||||
if (!pcon.empty())
|
||||
if (pcon.get_char("TMCF") != '\0')
|
||||
return FALSE;
|
||||
return FALSE;
|
||||
|
||||
tc.set(gruppo,conto,sottoconto);
|
||||
tc.read(pcon);
|
||||
|
@ -93,9 +93,9 @@ int TAgg_nprot::rinumera_prot()
|
||||
if (protiva != _prot && uprotiva != _prot) continue;
|
||||
else
|
||||
{
|
||||
if (uprotiva != 0l)
|
||||
_prot = uprotiva;
|
||||
break;
|
||||
if (uprotiva != 0l)
|
||||
_prot = uprotiva;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -141,7 +141,7 @@ int TAgg_nprot::rinumera_prot()
|
||||
{
|
||||
delete p;
|
||||
return error_box("Impossibile leggere il registro %s anno %s",
|
||||
(const char*)_reg, (const char*)_anno);
|
||||
(const char*)_reg, (const char*)_anno);
|
||||
}
|
||||
delete p;
|
||||
return message_box("Rinumerazione numero protocollo completata");
|
||||
|
Loading…
x
Reference in New Issue
Block a user