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,10 +1291,17 @@ void TMastrini_application::ricerca_dati_ditta()
|
|||||||
_comuni->setkey(1);
|
_comuni->setkey(1);
|
||||||
_comuni->curr().zero();
|
_comuni->curr().zero();
|
||||||
_comuni->curr().put(COM_COM,_comulc);
|
_comuni->curr().put(COM_COM,_comulc);
|
||||||
_comuni->read();
|
if (_comuni->read() == NOERR)
|
||||||
|
{
|
||||||
_com=_comuni->curr().get(COM_DENCOM);
|
_com=_comuni->curr().get(COM_DENCOM);
|
||||||
_prov=_comuni->curr().get(COM_PROVCOM);
|
_prov=_comuni->curr().get(COM_PROVCOM);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_com="";
|
||||||
|
_prov="";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Crea l'intestazione per la stampa a 132 e a 198 caratteri
|
// 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);
|
paiv = clifo.get(CLI_PAIV);
|
||||||
cofi = clifo.get(CLI_COFI);
|
cofi = clifo.get(CLI_COFI);
|
||||||
indcf = clifo.get(CLI_INDCF);
|
indcf = clifo.get(CLI_INDCF);
|
||||||
|
indcf << " " << clifo.get(CLI_CIVCF);
|
||||||
capcf = clifo.get(CLI_CAPCF);
|
capcf = clifo.get(CLI_CAPCF);
|
||||||
ptel = clifo.get(CLI_PTEL);
|
ptel = clifo.get(CLI_PTEL);
|
||||||
tel = clifo.get(CLI_TEL);
|
tel = clifo.get(CLI_TEL);
|
||||||
@ -1677,9 +1685,16 @@ void TMastrini_application::ricerca_clifo()
|
|||||||
_comuni->curr().zero();
|
_comuni->curr().zero();
|
||||||
_comuni->curr().put(COM_STATO, statocf);
|
_comuni->curr().put(COM_STATO, statocf);
|
||||||
_comuni->curr().put(COM_COM, comcf);
|
_comuni->curr().put(COM_COM, comcf);
|
||||||
_comuni->read();
|
if (_comuni->read() == NOERR)
|
||||||
|
{
|
||||||
dencom = _comuni->curr().get(COM_DENCOM);
|
dencom = _comuni->curr().get(COM_DENCOM);
|
||||||
provcom = _comuni->curr().get(COM_PROVCOM);
|
provcom = _comuni->curr().get(COM_PROVCOM);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dencom = "";
|
||||||
|
provcom = "";
|
||||||
|
}
|
||||||
|
|
||||||
pconti.setkey(1);
|
pconti.setkey(1);
|
||||||
pconti.zero();
|
pconti.zero();
|
||||||
@ -1735,19 +1750,28 @@ void TMastrini_application::ricerca_clifo()
|
|||||||
set_header (5, "Comp. da@9g%s", (const char*) dataini);
|
set_header (5, "Comp. da@9g%s", (const char*) dataini);
|
||||||
set_header (5, "@20ga@22g%s", (const char*) datafine);
|
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, "@33gP.I.@37g%-11s",(const char*) paiv);
|
||||||
set_header (5, "@49gCF@52g%-16s",(const char*) cofi);
|
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, "@95g%-5s",(const char*) capcf);
|
||||||
set_header (5, "@101g%-24s",(const char*) dencom);
|
set_header (5, "@101g%-25s", s1.get());
|
||||||
set_header (5,"@126g%-5s",(const char*) provcom);
|
set_header (5,"@127g%-5s",(const char*) provcom);
|
||||||
|
|
||||||
if (_numcarat == 2)
|
if (_numcarat == 2)
|
||||||
{
|
{
|
||||||
set_header (5,"@134g%-4s",(const char*) ptel);
|
set_header (5,"@134g%-4s",(const char*) ptel);
|
||||||
set_header (5,"@138g/@139g%-10s",(const char*) tel);
|
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
|
// Se la ricerca selezionata sulla maschera e' per gruppo, conto, sottoconto
|
||||||
|
Loading…
x
Reference in New Issue
Block a user