Commit 3cff4a7c9e5a025165b19772421309955c10c94b
Exists in
master
Merge branch 'develop' into 'master'
Develop See merge request !22
Showing
1 changed file
Show diff stats
src/js/controller.js
... | ... | @@ -238,9 +238,11 @@ angular.module('focaModalFactura') |
238 | 238 | facturas.forEach(function(factura) { |
239 | 239 | if (factura.TCO === 'CI' || |
240 | 240 | factura.TCO === 'FT' || |
241 | - factura.TCO === 'ND'){ | |
241 | + factura.TCO === 'ND' || | |
242 | + factura.TCO === 'RE' ) | |
243 | + { | |
242 | 244 | factura.IPA = factura.IPA * -1; |
243 | - }else{ | |
245 | + } else { | |
244 | 246 | factura.IPA = factura.IPA; |
245 | 247 | } |
246 | 248 | saldo += factura.IPA; |