Fix multi VAT deposit when special lines are in origin document

This commit is contained in:
Maxime Kohlhaas 2017-11-11 16:10:06 +01:00
parent 6eb2204c2b
commit 22a3721dda

View File

@ -1075,6 +1075,7 @@ if (empty($reshook))
$TTotalByTva = array();
foreach ($srcobject->lines as &$line)
{
if(! empty($line->special_code)) continue;
$TTotalByTva[$line->tva_tx] += $line->total_ttc ;
}