Fix: [ bug #662 ] Bad aplication of Localtax2 for suppliers if country
is Spain
This commit is contained in:
parent
32b19802b1
commit
c639d80372
@ -1069,12 +1069,12 @@ if (! empty($object->id))
|
||||
if ($mysoc->country_code=='ES')
|
||||
{
|
||||
if($mysoc->localtax1_assuj=="1") $nbrow++;
|
||||
if($mysoc->localtax2_assuj=="1") $nbrow++;
|
||||
if($object->thirdparty->localtax2_assuj=="1") $nbrow++;
|
||||
}
|
||||
else
|
||||
{
|
||||
if($mysoc->localtax1_assuj=="1") $nbrow++;
|
||||
if($object->thirdparty->localtax2_assuj=="1") $nbrow++;
|
||||
if($mysoc->localtax2_assuj=="1") $nbrow++;
|
||||
}
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user