Commit 121af689d8758ee514751f7fb20aec3168db5975

Authored by Eric Fernandez
Exists in master

Merge branch 'master' of http://git.focasoftware.com/npm/foca-crear-cobranza

src/js/controller.js
... ... @@ -11,7 +11,7 @@ angular.module('focaCrearCobranza') .controller('cobranzaController',
11 11 $scope.botonera = [
12 12 {texto: 'Cliente', accion: function() {$scope.seleccionarCliente();}},
13 13 {texto: 'Cobrador', accion: function() {$scope.seleccionarCobrador();}},
14   - {texto: 'Deuda', accion: function() {$scope.swichDeuda();}},
  14 + {texto: 'Comprobantes', accion: function() {$scope.swichDeuda();}},
15 15 {texto: 'Cobros', accion: function() {$scope.swichCobro();}},
16 16 {texto: 'Moneda', accion: function() {$scope.seleccionarMoneda();}},
17 17 {texto: '', accion: function() {}},
src/views/cobranza.html
... ... @@ -6,7 +6,7 @@
6 6 <div class="col-12">
7 7 <div class="row">
8 8 <div class="col-12 col-sm-4 nota-pedido">
9   - <strong>Cobranza</strong>
  9 + <strong>RECIBO DE COBRANZA</strong>
10 10 </div>
11 11 <div class="col-5 col-sm-4 numero-pedido"
12 12 >Nº {{puntoVenta}}-{{comprobante}}
... ... @@ -88,8 +88,7 @@
88 88 <thead>
89 89 <tr class="d-flex">
90 90 <th class="col-auto">#</th>
91   - <th class="col">Factura</th>
92   - <th class="col">Cliente</th>
  91 + <th class="col">Comprobante</th>
93 92 <th class="col">Fecha</th>
94 93 <th class="col">Importe</th>
95 94 <th class="col-auto">
... ... @@ -125,7 +124,6 @@
125 124 "(factura.TCO + '-' + factura.TIP + '-' +
126 125 factura.SUC + '-' + factura.NCO)"
127 126 ></td>
128   - <td class="col" ng-bind="factura.cliente.NOM"></td>
129 127 <td class="col" ng-bind="factura.FEP | date : 'dd/MM/yyyy'"></td>
130 128 <td
131 129 class="col"
... ... @@ -147,7 +145,7 @@
147 145 <a
148 146 class="form-control form-control-sm btn btn-secondary"
149 147 ng-click="seleccionarFactura()"
150   - >Factura</a>
  148 + >Pendientes</a>
151 149 </td>
152 150 </tr>
153 151 <tr class="d-flex">
... ... @@ -156,7 +154,7 @@
156 154 <a ng-bind="facturaTabla.length"></a>
157 155 </td>
158 156 <td class="text-right ml-auto table-celda-total no-border-top">
159   - <strong>Total Deuda:</strong>
  157 + <strong>Cancela:</strong>
160 158 </td>
161 159 <td class="table-celda-total text-right no-border-top">
162 160 <strong>{{(getTotalDeuda() / cobranza.cotizacion.VENDEDOR) |