Commit 06fee1aa7d27b365b1799f4f000777232407a9c5
1 parent
23b2f20bbc
Exists in
master
Arreglo en la cabecera cuando se crea un remito a partir de una nota de pedido.
Showing
1 changed file
with
1 additions
and
14 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -132,20 +132,6 @@ angular.module('focaCrearRemito').controller('remitoController', |
| 132 | 132 | }); |
| 133 | 133 | $scope.cabeceras = [ |
| 134 | 134 | { |
| 135 | - label: 'Moneda:', | |
| 136 | - valor: notaPedido.cotizacion.moneda.DETALLE | |
| 137 | - }, | |
| 138 | - { | |
| 139 | - label: 'Fecha cotizacion:', | |
| 140 | - valor: $filter('date')(notaPedido.cotizacion.FECHA, | |
| 141 | - 'dd/MM/yyyy') | |
| 142 | - }, | |
| 143 | - { | |
| 144 | - label: 'Cotizacion:', | |
| 145 | - valor: $filter('number')(notaPedido.cotizacion.VENDEDOR, | |
| 146 | - '2') | |
| 147 | - }, | |
| 148 | - { | |
| 149 | 135 | label: 'Cliente:', |
| 150 | 136 | valor: $filter('rellenarDigitos')(notaPedido.cliente.COD, 3) + |
| 151 | 137 | ' - ' + notaPedido.cliente.NOM |
| ... | ... | @@ -179,6 +165,7 @@ angular.module('focaCrearRemito').controller('remitoController', |
| 179 | 165 | getCabeceraPuntoDescarga(puntosDescarga)) |
| 180 | 166 | } |
| 181 | 167 | ]; |
| 168 | + actualizarCabeceraMoneda(notaPedido.cotizacion); | |
| 182 | 169 | valorPrecioCondicion(); |
| 183 | 170 | // Seteo checked en cabeceras |
| 184 | 171 | $filter('filter')($scope.botonera, |