Commit 4880965f3ed0b3204e75ee06502afe7d3b27c918
1 parent
3808c08118
Exists in
master
and in
1 other branch
Correccion en comparador.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -23,7 +23,7 @@ angular.module('focaModalResumenCuenta') |
| 23 | 23 | .getResumenCuenta(cliente.COD, $scope.fechaDesde) |
| 24 | 24 | .then(function (res) { |
| 25 | 25 | res.data.facturas = res.data.facturas.filter(function(factura){ |
| 26 | - return factura.TCO != "RC" && factura.TCO != "RE" | |
| 26 | + return factura.TCO !== "RC" && factura.TCO !== "RE" | |
| 27 | 27 | }) |
| 28 | 28 | res.data.facturas = calcularSaldos(res.data.facturas); |
| 29 | 29 | $scope.generado = true; |