Patch level : 12.0 550
Files correlati : bs Commento : Clienti: - Sistemati campi civico e località - Se il comune non lo trova lo mette nella località - L'addebito bolli è solo per i clienti - Disabilitate note git-svn-id: svn://10.65.10.50/branches/R_10_00@24443 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b009f1a47f
commit
165325eb3b
@ -821,7 +821,8 @@ void TSknet_sync::load_clifo(const char tipocf)
|
||||
}
|
||||
|
||||
clifo.put(CLI_INDCF, ind.left(50));
|
||||
clifo.put(CLI_CAPCF, civ);
|
||||
clifo.put(CLI_CIVCF, civ);
|
||||
clifo.put(CLI_LOCCF, loc);
|
||||
clifo.put(CLI_CAPCF, odbc.get("Cap").as_string());
|
||||
|
||||
// Stato
|
||||
@ -867,7 +868,10 @@ void TSknet_sync::load_clifo(const char tipocf)
|
||||
errComuni = isamComuni.read(_isequal);
|
||||
comune = errComuni == NOERR ? isamComuni.get("COM") : "";
|
||||
}
|
||||
clifo.put(CLI_COMCF, comune);
|
||||
if(comune.blank())
|
||||
clifo.put(CLI_LOCCF, odbc.get("Citta").as_string());
|
||||
else
|
||||
clifo.put(CLI_COMCF, comune);
|
||||
|
||||
|
||||
split_phone(odbc, "Telefono", clifo, CLI_PTEL, CLI_TEL);
|
||||
@ -963,7 +967,7 @@ void TSknet_sync::load_clifo(const char tipocf)
|
||||
|
||||
// Always true
|
||||
cfv.put(CFV_RAGGEFF, true);
|
||||
cfv.put(CFV_ADDBOLLI, true);
|
||||
cfv.put(CFV_ADDBOLLI, tipocf == 'C');
|
||||
|
||||
// Non ho capito se alla fine mi passa qua i dati o nel campo NOTE
|
||||
cfv.put(CFV_ASSFIS, tipocf == 'C' ? odbc.get("Cli_CodIva").as_string() : odbc.get("For_CodIva").as_string());
|
||||
@ -1049,7 +1053,8 @@ void TSknet_sync::load_clifo(const char tipocf)
|
||||
{
|
||||
if (!token.blank())
|
||||
{
|
||||
cfv.put(CFV_CODNOTE, clifo_add_note(cfv, token));
|
||||
// Han chiesto di disabilitarlo
|
||||
//cfv.put(CFV_CODNOTE, clifo_add_note(cfv, token));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user