Commit c0b6367ab613c2998e6daa5825f9fe5a3310db40
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !2
Showing
2 changed files
Show diff stats
src/js/controller.js
| ... | ... | @@ -5,12 +5,10 @@ angular.module('focaModalFacturaDetalle') |
| 5 | 5 | '$uibModalInstance', |
| 6 | 6 | 'focaModalFacturaDetalleService', |
| 7 | 7 | 'factura', |
| 8 | - 'cliente', | |
| 9 | 8 | function($scope, $uibModalInstance, |
| 10 | - focaModalFacturaDetalleService, factura, cliente | |
| 9 | + focaModalFacturaDetalleService, factura | |
| 11 | 10 | ) { |
| 12 | 11 | $scope.factura = factura; |
| 13 | - $scope.cliente = cliente; | |
| 14 | 12 | $scope.detalles = []; |
| 15 | 13 | focaModalFacturaDetalleService |
| 16 | 14 | .getFacturasDetalleByNCO(factura.NCO) |
src/views/foca-modal-factura-detalle.html
| ... | ... | @@ -14,9 +14,9 @@ |
| 14 | 14 | <div class="modal-body" id="modal-body"> |
| 15 | 15 | <div class="row"> |
| 16 | 16 | <div class="col-12"> |
| 17 | - <small><strong>({{cliente.COD | rellenarDigitos: 5: 0}}) {{cliente.NOM}}</strong></small> | |
| 18 | - <small><br><strong>{{factura.DOMICILIO_CLIENTE}}, {{factura.LOCALIDAD}}, {{factura.PROVINCIA}}</strong></small> | |
| 19 | - <small><br><strong>PAGO: {{factura.formaPago.NOMBRE}}</strong><strong class="float-right">Items: {{detalles.length}}</strong></small> | |
| 17 | + <small><strong>({{factura.cliente.COD | rellenarDigitos: 5: 0}}) {{factura.cliente.NOM}}</strong></small> | |
| 18 | + <br><small><strong>{{factura.cliente.DOM}}, {{factura.cliente.LOC}}, {{factura.cliente.PCI}}</strong></small> | |
| 19 | + <br><small><strong>PAGO: {{factura.formaPago.NOMBRE}}</strong><strong class="float-right">Items: {{detalles.length}}</strong></small> | |
| 20 | 20 | </div> |
| 21 | 21 | </div> |
| 22 | 22 | <div class="row"> |