Commit e1d75b56f2d877005dfb1ae9cb6e8464691042e3
Exists in
master
Merge branch 'develop' of http://git.focasoftware.com/npm/foca-crear-factura
Showing
4 changed files
Show diff stats
package.json
... | ... | @@ -4,6 +4,7 @@ |
4 | 4 | "description": "", |
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | + "frefresh": "gulp uglify && cp tmp/foca-crear-factura.js ../wrapper-facturador/node_modules/foca-crear-factura/dist/foca-crear-factura.min.js", | |
7 | 8 | "refresh": "gulp uglify && cp tmp/foca-crear-factura.js ../wrapper-demo/node_modules/foca-crear-factura/dist/foca-crear-factura.min.js", |
8 | 9 | "test": "echo \"Error: no test specified\" && exit 1", |
9 | 10 | "compile": "gulp uglify", |
src/js/controller.js
... | ... | @@ -259,7 +259,12 @@ angular.module('focaCrearFactura').controller('facturaController', [ |
259 | 259 | controller: 'focaModalEstadoCuentaController', |
260 | 260 | size: 'lg', |
261 | 261 | resolve: { |
262 | - parametros: function () { return { idCliente: cliente.cod }; }, | |
262 | + parametros: function () { | |
263 | + return { | |
264 | + idCliente: cliente.cod, | |
265 | + nombreCliente: cliente.nom | |
266 | + }; | |
267 | + }, | |
263 | 268 | } |
264 | 269 | } |
265 | 270 | ); |
src/js/controllerEstadoCuenta.js
src/views/modal-estado-cuenta.html
... | ... | @@ -13,15 +13,17 @@ |
13 | 13 | <p class="m-0">Autorizado</p> |
14 | 14 | <p class="h5 m-0" ng-bind="estadoCuenta.autorizado | currency"></p> |
15 | 15 | </div> |
16 | - </div> | |
17 | - <div class="row border-top mb-2"> | |
18 | - <div class="col text-center"> | |
19 | - <p class="m-0">Extracciones</p> | |
20 | - <p class="h5 m-0" ng-bind="estadoCuenta.extracciones | currency"></p> | |
21 | - </div> | |
22 | 16 | </div> --> |
23 | 17 | <div class="row mb-2"> |
24 | 18 | <div class="col text-center"> |
19 | + <p class="m-0">Cliente</p> | |
20 | + <label class="h5" ng-bind="cliente.idCliente"></label> | |
21 | + <label class="h5"> - </label> | |
22 | + <label class="h5" ng-bind="cliente.nombreCliente"></label> | |
23 | + </div> | |
24 | + </div> | |
25 | + <div class="row border-top mb-2"> | |
26 | + <div class="col text-center"> | |
25 | 27 | <p class="m-0">Saldo</p> |
26 | 28 | <p class="h5 m-0" ng-bind="estadoCuenta.saldo | currency"></p> |
27 | 29 | </div> |