Patch level : 10.0 patch 767
Files correlati : ve0.exe Ricompilazione Demo : [ ] Commento : Utilizzate le lettere d'intento solo se il codice IVA ha la gestione plafond Dalla versione 3.2 git-svn-id: svn://10.65.10.50/trunk@20599 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
41b73860de
commit
a105e76eec
@ -318,6 +318,7 @@ void TDocumento::check_modules()
|
||||
|
||||
void TDocumento::set_variables(TExpression * e) const
|
||||
{
|
||||
CHECK(e, "Null expression");
|
||||
const int items = e->numvar();
|
||||
for (int i = 0; i < items; i++)
|
||||
{
|
||||
@ -3019,6 +3020,10 @@ int TDocumento::tipo_riclassificato() const
|
||||
const TString& TDocumento::codesiva() const
|
||||
{
|
||||
TCli_for& c = clifor();
|
||||
const TString4 codiva(c.vendite().get(CFV_ASSFIS));
|
||||
TCodiceIVA i(codiva);
|
||||
const bool plafond = i.get_int("S3") > 0;
|
||||
|
||||
if (!c.use_lettere() || c.read_lettera(get_date(DOC_DATADOC)))
|
||||
return c.vendite().get(CFV_ASSFIS);
|
||||
return EMPTY_STRING;
|
||||
|
Loading…
x
Reference in New Issue
Block a user