Commit 56d70c8ef3fe9d1da5439cf16554d0863a6cc81b
Exists in
master
Merge branch 'master' into 'develop'
Master(efernandez) See merge request !21
Showing
1 changed file
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; |