Commit e5d647d913ed9d58a8d87430c18e5c9ba3c27ec6
Exists in
master
and in
2 other branches
Merge branch 'develop' into 'master'
Develop See merge request !29
Showing
1 changed file
Show diff stats
src/views/foca-admin-seguimiento.html
| 1 | <div class="foca-admin-seguimiento"> | 1 | <div class="foca-admin-seguimiento"> |
| 2 | <div class="row"> | 2 | <div class="row"> |
| 3 | <foca-cabecera-facturador | 3 | <foca-cabecera-facturador |
| 4 | titulo="titulo" | 4 | titulo="titulo" |
| 5 | fecha="now" | 5 | fecha="now" |
| 6 | class="mb-0 col-lg-12" | 6 | class="mb-0 col-lg-12" |
| 7 | ></foca-cabecera-facturador> | 7 | ></foca-cabecera-facturador> |
| 8 | </div> | 8 | </div> |
| 9 | <div class="row"> | 9 | <div class="row"> |
| 10 | <div class="col-10"> | 10 | <div class="col-10"> |
| 11 | <osm | 11 | <osm |
| 12 | latitud="-34.7152975" | 12 | latitud="-34.7152975" |
| 13 | longitud="-65.9053867" | 13 | longitud="-65.9053867" |
| 14 | zoom="6" | 14 | zoom="6" |
| 15 | marcadores="marcadores" | 15 | marcadores="marcadores" |
| 16 | parametros= "datosBuscados" | 16 | parametros= "datosBuscados" |
| 17 | /> | 17 | /> |
| 18 | </div> | 18 | </div> |
| 19 | <div class="col-2 pl-0"> | 19 | <div class="col-2 pl-0"> |
| 20 | <input | 20 | <input |
| 21 | type="text" | 21 | type="text" |
| 22 | ng-model="now" | 22 | ng-model="now" |
| 23 | class="btn col-12 my-1" | 23 | class="btn col-12 my-1" |
| 24 | ng-blur="fecha()" | 24 | ng-blur="fecha()" |
| 25 | uib-datepicker-popup="dd/MM/yyyy" | 25 | uib-datepicker-popup="dd/MM/yyyy" |
| 26 | show-button-bar="false" | 26 | show-button-bar="false" |
| 27 | is-open="datepickerOpen" | 27 | is-open="datepickerOpen" |
| 28 | on-open-focus="false" | 28 | on-open-focus="false" |
| 29 | ng-focus="datepickerOpen = true" | 29 | ng-focus="datepickerOpen = true" |
| 30 | datepicker-options="dateOptions" | 30 | datepicker-options="dateOptions" |
| 31 | /> | 31 | /> |
| 32 | <button | 32 | <button |
| 33 | type="button" | 33 | type="button" |
| 34 | ng-class="{'active': idUsuario == 0}" | 34 | ng-class="{'active': idUsuario == 0}" |
| 35 | class="btn col-12 my-1" | 35 | class="btn col-12 my-1" |
| 36 | ng-click="general()" | 36 | ng-click="general()" |
| 37 | >General</button> | 37 | >General</button> |
| 38 | <button | 38 | <button |
| 39 | type="button" | 39 | type="button" |
| 40 | ng-class="{'active': idUsuario != 0}" | 40 | ng-class="{'active': idUsuario != 0}" |
| 41 | class="btn col-12 my-1" | 41 | class="btn col-12 my-1" |
| 42 | ng-click="individual()" | 42 | ng-click="individual()" |
| 43 | >Individual</button> | 43 | >Individual</button> |
| 44 | <div class="form-group my-1" ng-show="idUsuario != 0"> | 44 | <div class="form-group my-1" ng-show="idUsuario != 0"> |
| 45 | <input | 45 | <input |
| 46 | type="text" | 46 | type="text" |
| 47 | placeholder="Vendedor" | 47 | placeholder="Vendedor" |
| 48 | class="form-control" | 48 | class="form-control" |
| 49 | ng-model="idUsuarioInput" | 49 | ng-model="idUsuarioInput" |
| 50 | ng-keypress="search($event.keyCode)" | 50 | ng-keypress="search($event.keyCode)" |
| 51 | foca-focus="idUsuario == -1" | 51 | foca-focus="idUsuario == -1" |
| 52 | ng-show="actividad == 'Nota de pedido'" | 52 | ng-show="actividad == 'Nota de pedido'" |
| 53 | teclado-virtual | ||
| 53 | > | 54 | > |
| 54 | <input | 55 | <input |
| 55 | type="text" | 56 | type="text" |
| 56 | placeholder="Vehiculo" | 57 | placeholder="Vehiculo" |
| 57 | class="form-control" | 58 | class="form-control" |
| 58 | ng-model="idUsuarioInput" | 59 | ng-model="idUsuarioInput" |
| 59 | ng-keypress="search($event.keyCode)" | 60 | ng-keypress="search($event.keyCode)" |
| 60 | foca-focus="idUsuario == -1" | 61 | foca-focus="idUsuario == -1" |
| 61 | ng-show="actividad == 'Entrega de producto'" | 62 | ng-show="actividad == 'Entrega de producto'" |
| 63 | teclado-virtual | ||
| 62 | > | 64 | > |
| 63 | <input | 65 | <input |
| 64 | type="text" | 66 | type="text" |
| 65 | placeholder="Cobrador" | 67 | placeholder="Cobrador" |
| 66 | class="form-control" | 68 | class="form-control" |
| 67 | ng-model="idUsuarioInput" | 69 | ng-model="idUsuarioInput" |
| 68 | ng-keypress="search($event.keyCode)" | 70 | ng-keypress="search($event.keyCode)" |
| 69 | foca-focus="idUsuario == -1" | 71 | foca-focus="idUsuario == -1" |
| 70 | ng-show="actividad == 'Cobranza'" | 72 | ng-show="actividad == 'Cobranza'" |
| 73 | teclado-virtual | ||
| 71 | > | 74 | > |
| 72 | </div> | 75 | </div> |
| 73 | <button | 76 | <button |
| 74 | type="button" | 77 | type="button" |
| 75 | class="btn col-12 my-1" | 78 | class="btn col-12 my-1" |
| 76 | ng-show="marcadores.length > 0 && idUsuario > 0" | 79 | ng-show="marcadores.length > 0 && idUsuario > 0" |
| 77 | ng-click="showMarcadores()" | 80 | ng-click="showMarcadores()" |
| 78 | >Listar marcadores</button> | 81 | >Listar marcadores</button> |
| 79 | <div ng-show="actividad === 'Entrega de producto' && idUsuario != 0"> | 82 | <div ng-show="actividad === 'Entrega de producto' && idUsuario != 0"> |
| 80 | <div class="custom-control custom-radio"> | 83 | <div class="custom-control custom-radio"> |
| 81 | <input | 84 | <input |
| 82 | type="radio" | 85 | type="radio" |
| 83 | class="custom-control-input" | 86 | class="custom-control-input" |
| 84 | id="idTodos" | 87 | id="idTodos" |
| 85 | name="filtro" | 88 | name="filtro" |
| 86 | ng-model="filtroEstado" | 89 | ng-model="filtroEstado" |
| 87 | ng-change="search(13)" | 90 | ng-change="search(13)" |
| 88 | checked> | 91 | checked> |
| 89 | <label class="custom-control-label pb-3" for="idTodos"></label> | 92 | <label class="custom-control-label pb-3" for="idTodos"></label> |
| 90 | <img src="img/marker-icon-grey.png"> | 93 | <img src="img/marker-icon-grey.png"> |
| 91 | <strong>Todos</strong> | 94 | <strong>Todos</strong> |
| 92 | </div> | 95 | </div> |
| 93 | <div class="custom-control custom-radio"> | 96 | <div class="custom-control custom-radio"> |
| 94 | <input | 97 | <input |
| 95 | type="radio" | 98 | type="radio" |
| 96 | class="custom-control-input" | 99 | class="custom-control-input" |
| 97 | id="entregado" | 100 | id="entregado" |
| 98 | name="filtro" | 101 | name="filtro" |
| 99 | ng-model="filtroEstado" | 102 | ng-model="filtroEstado" |
| 100 | ng-change="search(13)" | 103 | ng-change="search(13)" |
| 101 | ng-value="true"> | 104 | ng-value="true"> |
| 102 | <label class="custom-control-label pb-3" for="entregado"></label> | 105 | <label class="custom-control-label pb-3" for="entregado"></label> |
| 103 | <img src="img/marker-icon-green.png"> | 106 | <img src="img/marker-icon-green.png"> |
| 104 | <strong>Entregado</strong> | 107 | <strong>Entregado</strong> |
| 105 | </div> | 108 | </div> |
| 106 | <div class="custom-control custom-radio"> | 109 | <div class="custom-control custom-radio"> |
| 107 | <input | 110 | <input |
| 108 | type="radio" | 111 | type="radio" |
| 109 | class="custom-control-input" | 112 | class="custom-control-input" |
| 110 | id="noEntregado" | 113 | id="noEntregado" |
| 111 | name="filtro" | 114 | name="filtro" |
| 112 | ng-model="filtroEstado" | 115 | ng-model="filtroEstado" |
| 113 | ng-change="search(13)" | 116 | ng-change="search(13)" |
| 114 | ng-value="false"> | 117 | ng-value="false"> |
| 115 | <label class="custom-control-label pb-3" for="noEntregado"></label> | 118 | <label class="custom-control-label pb-3" for="noEntregado"></label> |
| 116 | <img src="img/marker-icon-yellow.png"> | 119 | <img src="img/marker-icon-yellow.png"> |
| 117 | <strong>No entregado</strong> | 120 | <strong>No entregado</strong> |
| 118 | </div> | 121 | </div> |
| 119 | </div> | 122 | </div> |
| 120 | </div> | 123 | </div> |
| 121 | </div> | 124 | </div> |
| 122 | <div ng-show="actividad === 'Entrega de producto' && idUsuario != 0"> | 125 | <div ng-show="actividad === 'Entrega de producto' && idUsuario != 0"> |
| 123 | <strong>Remitos pendientes de entrega</strong> | 126 | <strong>Remitos pendientes de entrega</strong> |
| 124 | <table class="table"> | 127 | <table class="table"> |
| 125 | <thead> | 128 | <thead> |
| 126 | <tr> | 129 | <tr> |
| 127 | <th>Remito Nº</th> | 130 | <th>Remito Nº</th> |
| 128 | <th>Cliente</th> | 131 | <th>Cliente</th> |
| 129 | <th>Dirección</th> | 132 | <th>Dirección</th> |
| 130 | </tr> | 133 | </tr> |
| 131 | </thead> | 134 | </thead> |
| 132 | <tbody> | 135 | <tbody> |
| 133 | <tr ng-repeat="remito in remitosVehiculo"> | 136 | <tr ng-repeat="remito in remitosVehiculo"> |
| 134 | <td ng-bind="[remito.sucursal, remito.numeroRemito] | comprobante"></td> | 137 | <td ng-bind="[remito.sucursal, remito.numeroRemito] | comprobante"></td> |
| 135 | <td ng-bind="remito.nombreCliente"></td> | 138 | <td ng-bind="remito.nombreCliente"></td> |
| 136 | <td ng-bind="remito.domicilioStamp"></td> | 139 | <td ng-bind="remito.domicilioStamp"></td> |
| 137 | </tr> | 140 | </tr> |
| 138 | </tbody> | 141 | </tbody> |
| 139 | </table> | 142 | </table> |
| 140 | </div> | 143 | </div> |
| 141 | </div> | 144 | </div> |
| 142 | 145 |