Compare commits

...

2 Commits

Author SHA1 Message Date
el Mau 76df7a62e5 Fix for exempted tax 2023-03-02 21:46:46 -06:00
el Mau bf5192ed8e Fix for exempted tax 2023-03-02 21:46:16 -06:00
1 changed files with 5 additions and 2 deletions

View File

@ -613,9 +613,12 @@ class DataToDict():
'Base': data[i + 1],
'Impuesto': data[i + 2],
'TipoFactor': data[i + 3],
'TasaOCuota': data[i + 4],
'Importe': data[i + 5],
}
if data[i + 4]:
tax['TasaOCuota'] : data[i + 4]
if data[i + 5]:
tax['Importe'] : data[i + 5]
if type_tax == self.TRASLADO:
traslados.append(tax)
elif type_tax == self.RETENCION: