Patch level : 4.0 708
Files correlati : ve0.exe ve1.exe ve5.exe ve6.exe Ricompilazione Demo : [ ] Commento Se aggiungo una riga di sconto la tabella IVA non viene più calcolata git-svn-id: svn://10.65.10.50/trunk@15347 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c011f45084
commit
1dc5518419
@ -1756,6 +1756,7 @@ void TDocumento::calc_iva_fattura_commerciale()
|
|||||||
|
|
||||||
void TDocumento::update_tabella_iva(bool solo_imponibili)
|
void TDocumento::update_tabella_iva(bool solo_imponibili)
|
||||||
{
|
{
|
||||||
|
static bool __solo_imponibili = false;
|
||||||
const int items = rows();
|
const int items = rows();
|
||||||
TAssoc_array & table = _tabella_iva;
|
TAssoc_array & table = _tabella_iva;
|
||||||
|
|
||||||
@ -1764,6 +1765,11 @@ void TDocumento::update_tabella_iva(bool solo_imponibili)
|
|||||||
table.destroy();
|
table.destroy();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (__solo_imponibili != solo_imponibili)
|
||||||
|
{
|
||||||
|
table.destroy();
|
||||||
|
__solo_imponibili = solo_imponibili;
|
||||||
|
}
|
||||||
|
|
||||||
if (table.items() > 0)
|
if (table.items() > 0)
|
||||||
{
|
{
|
||||||
@ -2643,4 +2649,4 @@ int TDocumento::tipo_riclassificato() const
|
|||||||
tipo_riclassificato = TTipo_documento::_fattura;
|
tipo_riclassificato = TTipo_documento::_fattura;
|
||||||
}
|
}
|
||||||
return tipo_riclassificato;
|
return tipo_riclassificato;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user