Corretti errori MI1155 e MI0215
git-svn-id: svn://10.65.10.50/trunk@726 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3126db7e32
commit
6108f38f67
@ -1291,9 +1291,16 @@ void TMastrini_application::ricerca_dati_ditta()
|
||||
_comuni->setkey(1);
|
||||
_comuni->curr().zero();
|
||||
_comuni->curr().put(COM_COM,_comulc);
|
||||
_comuni->read();
|
||||
_com=_comuni->curr().get(COM_DENCOM);
|
||||
_prov=_comuni->curr().get(COM_PROVCOM);
|
||||
if (_comuni->read() == NOERR)
|
||||
{
|
||||
_com=_comuni->curr().get(COM_DENCOM);
|
||||
_prov=_comuni->curr().get(COM_PROVCOM);
|
||||
}
|
||||
else
|
||||
{
|
||||
_com="";
|
||||
_prov="";
|
||||
}
|
||||
}
|
||||
|
||||
// Crea l'intestazione per la stampa a 132 e a 198 caratteri
|
||||
@ -1667,6 +1674,7 @@ void TMastrini_application::ricerca_clifo()
|
||||
paiv = clifo.get(CLI_PAIV);
|
||||
cofi = clifo.get(CLI_COFI);
|
||||
indcf = clifo.get(CLI_INDCF);
|
||||
indcf << " " << clifo.get(CLI_CIVCF);
|
||||
capcf = clifo.get(CLI_CAPCF);
|
||||
ptel = clifo.get(CLI_PTEL);
|
||||
tel = clifo.get(CLI_TEL);
|
||||
@ -1677,9 +1685,16 @@ void TMastrini_application::ricerca_clifo()
|
||||
_comuni->curr().zero();
|
||||
_comuni->curr().put(COM_STATO, statocf);
|
||||
_comuni->curr().put(COM_COM, comcf);
|
||||
_comuni->read();
|
||||
dencom = _comuni->curr().get(COM_DENCOM);
|
||||
provcom = _comuni->curr().get(COM_PROVCOM);
|
||||
if (_comuni->read() == NOERR)
|
||||
{
|
||||
dencom = _comuni->curr().get(COM_DENCOM);
|
||||
provcom = _comuni->curr().get(COM_PROVCOM);
|
||||
}
|
||||
else
|
||||
{
|
||||
dencom = "";
|
||||
provcom = "";
|
||||
}
|
||||
|
||||
pconti.setkey(1);
|
||||
pconti.zero();
|
||||
@ -1735,19 +1750,28 @@ void TMastrini_application::ricerca_clifo()
|
||||
set_header (5, "Comp. da@9g%s", (const char*) dataini);
|
||||
set_header (5, "@20ga@22g%s", (const char*) datafine);
|
||||
}
|
||||
TParagraph_string s(indcf), s1(dencom);
|
||||
|
||||
|
||||
set_header (5, "@33gP.I.@37g%-11s",(const char*) paiv);
|
||||
set_header (5, "@49gCF@52g%-16s",(const char*) cofi);
|
||||
set_header (5, "@69g%-25s",(const char*) indcf);
|
||||
set_header (5, "@69g%-25s", s.get());
|
||||
set_header (5, "@95g%-5s",(const char*) capcf);
|
||||
set_header (5, "@101g%-24s",(const char*) dencom);
|
||||
set_header (5,"@126g%-5s",(const char*) provcom);
|
||||
set_header (5, "@101g%-25s", s1.get());
|
||||
set_header (5,"@127g%-5s",(const char*) provcom);
|
||||
|
||||
if (_numcarat == 2)
|
||||
{
|
||||
set_header (5,"@134g%-4s",(const char*) ptel);
|
||||
set_header (5,"@138g/@139g%-10s",(const char*) tel);
|
||||
}
|
||||
const char * p = s.get();
|
||||
|
||||
if (p != NULL)
|
||||
set_header (5, "@69g%-25s", p);
|
||||
p = s1.get();
|
||||
if (p != NULL)
|
||||
set_header (5, "@101g%-25s", p);
|
||||
}
|
||||
|
||||
// Se la ricerca selezionata sulla maschera e' per gruppo, conto, sottoconto
|
||||
|
Loading…
x
Reference in New Issue
Block a user