Commit bd44a8d7182ca547930937af49ea695ff6a2226f
1 parent
d0d10b7095
Exists in
master
and in
1 other branch
dislexia
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -239,9 +239,10 @@ angular.module('focaModalFactura') |
| 239 | 239 | if (factura.TCO === 'CI' || |
| 240 | 240 | factura.TCO === 'FT' || |
| 241 | 241 | factura.TCO === 'ND' || |
| 242 | - factura.TCO === 'RT'){ | |
| 242 | + factura.TCO === 'RE' ) | |
| 243 | + { | |
| 243 | 244 | factura.IPA = factura.IPA * -1; |
| 244 | - }else{ | |
| 245 | + } else { | |
| 245 | 246 | factura.IPA = factura.IPA; |
| 246 | 247 | } |
| 247 | 248 | saldo += factura.IPA; |