Commit 0762513fbfe3e3f63b5eff7e7035812a7f7cf297
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !8
Showing
1 changed file
Show diff stats
src/js/osm-directive.js
... | ... | @@ -26,6 +26,10 @@ angular.module('focaAdminSeguimiento').directive('osm', function() { |
26 | 26 | marcador.notaPedido.vendedor.NomVen : |
27 | 27 | '' |
28 | 28 | ) + '<br/>'; |
29 | + | |
30 | + if (!$scope.parametros.individual) { | |
31 | + observacion += '<b>Ultima Nota de Pedido</b><br/>'; | |
32 | + } | |
29 | 33 | observacion += 'Fecha: ' + |
30 | 34 | $filter('date')(marcador.fecha.slice(0,10), 'dd/MM/yyyy') + ' ' + |
31 | 35 | marcador.fecha.slice(11,19) + '<br/>'; |
... | ... | @@ -86,13 +90,19 @@ angular.module('focaAdminSeguimiento').directive('osm', function() { |
86 | 90 | marcador.remito.hojaRuta.transportista.NOM + '<br/>'; |
87 | 91 | observacion += 'Chofer: ' + |
88 | 92 | marcador.remito.hojaRuta.chofer.nombre + '<br/>'; |
89 | - observacion += 'Fecha: ' + | |
90 | - $filter('date')(marcador.fecha.slice(0,10), 'dd/MM/yyyy') + ' ' + | |
91 | - marcador.fecha.slice(11,19) + '<br/>'; | |
92 | 93 | observacion += 'Hoja de ruta: ' + $filter('comprobante')([ |
93 | 94 | marcador.remito.hojaRuta.sucursal, |
94 | 95 | marcador.remito.hojaRuta.numeroHojaRuta |
95 | 96 | ]) + '<br/>'; |
97 | + | |
98 | + if (!$scope.parametros.individual) { | |
99 | + observacion += '<b>Ultimo Remito</b><br/>'; | |
100 | + } | |
101 | + | |
102 | + observacion += 'Fecha: ' + | |
103 | + $filter('date')(marcador.fecha.slice(0,10), 'dd/MM/yyyy') + ' ' + | |
104 | + marcador.fecha.slice(11,19) + '<br/>'; | |
105 | + | |
96 | 106 | observacion += 'Remito: ' + $filter('comprobante')([ |
97 | 107 | marcador.remito.sucursal, |
98 | 108 | marcador.remito.numeroRemito |