Commit d1c62217eba8afc356eabe938a6f1e3fd1801a1e
1 parent
9e483702bf
Exists in
master
and in
2 other branches
observaciones para entraga de hoja ruta
Showing
2 changed files
with
12 additions
and
17 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -45,15 +45,9 @@ angular.module('focaHojaRuta') |
45 | 45 | // Al guardar los datos del producto entregado logueamos la |
46 | 46 | // actividad para su seguimiento. |
47 | 47 | focaSeguimientoService.guardarPosicion( |
48 | - $scope.hojasRuta.remito[0].id, | |
48 | + $scope.hojasRuta.remitos[0].id, | |
49 | 49 | 'Entrega de producto', |
50 | - 'Hoja de ruta: ' + $filter('comprobante')([ | |
51 | - $scope.hojasRuta.sucursal, | |
52 | - $scope.hojasRuta.numeroHojaRuta | |
53 | - ]) + '<br/>' + | |
54 | - 'Remito: ' + parametros.remito + '<br/>' + | |
55 | - 'Producto: ' + parametros.producto + '<br/>' + | |
56 | - 'Cantidad entregada: ' + parametros.litrosDescargados | |
50 | + parametros.observaciones | |
57 | 51 | ); |
58 | 52 | }); |
59 | 53 | }; |
src/views/lista-hoja-ruta.html
... | ... | @@ -61,19 +61,20 @@ |
61 | 61 | </div> |
62 | 62 | <div class="col-12 col-md-10 col-lg-8 offset-md-1 offset-lg-2"> |
63 | 63 | <div class="row grilla-articulo"> |
64 | - <table class="table tabla-articulo table-reponsive table-striped table-sm table-dark"> | |
64 | + <table class="table tabla-articulo table-responsive table-striped table-sm table-dark"> | |
65 | 65 | <thead> |
66 | - <tr class="d-flex"> | |
67 | - <th class="col-auto">#</th> | |
68 | - <th class="col">Número</th> | |
69 | - <th class="col">Razon Social</th> | |
70 | - <th class="col">Domicilio</th> | |
71 | - <th class="col text-right">Cantidad</th> | |
66 | + <tr> | |
67 | + <th>#</th> | |
68 | + <th>Número</th> | |
69 | + <th>Razon Social</th> | |
70 | + <th>Domicilio</th> | |
71 | + <th class="text-right">Cantidad</th> | |
72 | 72 | <th style="width: 50px"> </th> |
73 | 73 | </tr> |
74 | 74 | </thead> |
75 | 75 | <tbody class="tabla-articulo-body"> |
76 | 76 | <tr |
77 | + | |
77 | 78 | ng-repeat="(key, remito) in hojasRuta.remitos" |
78 | 79 | > |
79 | 80 | <td ng-bind="key + 1"></td> |
... | ... | @@ -82,8 +83,8 @@ |
82 | 83 | ></td> |
83 | 84 | <td ng-bind="remito.nombreCliente"></td> |
84 | 85 | <td ng-bind="remito.domicilioStamp"></td> |
85 | - <td ng-bind="remito.carga"></td> | |
86 | - <td > | |
86 | + <td class="text-right" ng-bind="remito.carga"></td> | |
87 | + <td style="width: 50px"> | |
87 | 88 | <button |
88 | 89 | class="btn btn-secondary" |
89 | 90 | type="button" |