Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento :D/A nei giroconti git-svn-id: svn://10.65.10.50/trunk@16473 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
75130d5756
commit
14e048d343
@ -840,14 +840,24 @@ F=IMF*/
|
||||
sezione_normale = 'A';
|
||||
else
|
||||
sezione_normale = 'D';
|
||||
}
|
||||
else
|
||||
{
|
||||
if (indbil == 1 || indbil == 3) //attivita' e costi sono in DARE
|
||||
sezione_normale = 'D';
|
||||
else //passivita' e ricavi sono in AVERE
|
||||
sezione_normale = 'A';
|
||||
}
|
||||
}
|
||||
else
|
||||
{ //iva errata -> non ha causali -> cerca di capire se cliente o fornitore
|
||||
if (newdoc != NULL && newdoc->get_char(DOC_TIPOCF) == 'C')
|
||||
sezione_normale = 'A';
|
||||
else
|
||||
sezione_normale = 'D';
|
||||
if (newdoc != NULL)
|
||||
{
|
||||
if (newdoc->get_char(DOC_TIPOCF) == 'C')
|
||||
sezione_normale = 'A';
|
||||
else
|
||||
sezione_normale = 'D';
|
||||
}
|
||||
}
|
||||
|
||||
imp.normalize(sezione_normale);
|
||||
|
Loading…
x
Reference in New Issue
Block a user