Commit 92ac450412781de529faa359bed5550a041b6a88

Authored by Eric Fernandez
Exists in master

Merge branch 'develop' into 'master'

Develop

See merge request !6
src/js/controller.js
... ... @@ -129,7 +129,7 @@ angular.module('focaModalCobranza')
129 129 $scope.getTotalCobrado = function(cobros) {
130 130 var total = 0;
131 131 for (var i = 0; i < cobros.length; i++) {
132   - total += cobros[i].importe;
  132 + total += cobros[i].IMP;
133 133 }
134 134 return parseFloat(total.toFixed(2));
135 135 };
src/views/foca-modal-cobranza.html
... ... @@ -97,9 +97,9 @@
97 97 <tr class="selectable"
98 98 ng-repeat="(key, cobranza) in currentPageCobranzas"
99 99 ng-click="select(cobranza)">
100   - <td ng-bind="cobranza.fecha | date : 'dd/MM/yyyy'"></td>
  100 + <td ng-bind="cobranza.FEC | date : 'dd/MM/yyyy'"></td>
101 101 <td ng-bind="cobranza.cliente.NOM"></td>
102   - <td ng-bind="[cobranza.puntoVenta, cobranza.numeroRecibo] | comprobante"></td>
  102 + <td ng-bind="[cobranza.PVE, cobranza.NCO] | comprobante"></td>
103 103 <td ng-bind="getTotalCobrado(cobranza.cobros) | number: 2"></td>
104 104 <td>
105 105 <button