Commit be8202bcb599a64711760f2ea13ea9628da91817
1 parent
88e26c3a1b
Exists in
master
ok clientes prospectos
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/views/foca-busqueda-cliente-modal.html
| 1 | <div class="modal-header py-1"> | 1 | <div class="modal-header py-1"> |
| 2 | <div class="row w-100"> | 2 | <div class="row w-100"> |
| 3 | <div class="col-lg-6"> | 3 | <div class="col-lg-6"> |
| 4 | <h5 class="modal-title my-1" ng-hide="ingreso">Búsqueda de Cliente</h5> | 4 | <h5 class="modal-title my-1" ng-hide="ingreso">Búsqueda de Cliente</h5> |
| 5 | <h5 class="modal-title my-1" ng-show="ingreso">Crear Cliente</h5> | 5 | <h5 class="modal-title my-1" ng-show="ingreso">Crear Cliente</h5> |
| 6 | </div> | 6 | </div> |
| 7 | <div ng-show="ingreso" class="col-lg-6"> | 7 | <div ng-show="ingreso" class="col-lg-6"> |
| 8 | <div class="custom-control custom-checkbox"> | 8 | <div class="custom-control custom-checkbox"> |
| 9 | <input type="checkbox" class="custom-control-input" id="checkProspecto"> | 9 | <input |
| 10 | type="checkbox" | ||
| 11 | class="custom-control-input" | ||
| 12 | id="checkProspecto" | ||
| 13 | ng-model="cliente.ES_PROS"> | ||
| 10 | <label class="custom-control-label" for="checkProspecto">¿Es prospecto?</label> | 14 | <label class="custom-control-label" for="checkProspecto">¿Es prospecto?</label> |
| 11 | </div> | 15 | </div> |
| 12 | </div> | 16 | </div> |
| 13 | <div class="input-group col-lg-6 pr-0 my-2"> | 17 | <div class="input-group col-lg-6 pr-0 my-2"> |
| 14 | <button | 18 | <button |
| 15 | class="btn btn-outline-primary mr-2" | 19 | class="btn btn-outline-primary mr-2" |
| 16 | ng-click="ingreso = true" | 20 | ng-click="ingreso = true" |
| 17 | ng-show="!ingreso"> | 21 | ng-show="!ingreso"> |
| 18 | <i class="fa fa-plus" aria-hidden="true"></i> | 22 | <i class="fa fa-plus" aria-hidden="true"></i> |
| 19 | </button> | 23 | </button> |
| 20 | <input | 24 | <input |
| 21 | ladda="searchLoading" | 25 | ladda="searchLoading" |
| 22 | type="text" | 26 | type="text" |
| 23 | class="form-control form-control-sm" | 27 | class="form-control form-control-sm" |
| 24 | id="search" | 28 | id="search" |
| 25 | placeholder="Busqueda" | 29 | placeholder="Busqueda" |
| 26 | ng-model="filters" | 30 | ng-model="filters" |
| 27 | ng-change="search()" | 31 | ng-change="search()" |
| 28 | ng-keydown="busquedaDown($event.keyCode)" | 32 | ng-keydown="busquedaDown($event.keyCode)" |
| 29 | ng-keypress="busquedaPress($event.keyCode)" | 33 | ng-keypress="busquedaPress($event.keyCode)" |
| 30 | foca-focus="selectedClientes == -1" | 34 | foca-focus="selectedClientes == -1" |
| 31 | ng-focus="selectedClientes = -1" | 35 | ng-focus="selectedClientes = -1" |
| 32 | teclado-virtual | 36 | teclado-virtual |
| 33 | ng-hide="ingreso" | 37 | ng-hide="ingreso" |
| 34 | > | 38 | > |
| 35 | <div class="input-group-append" ng-hide="ingreso"> | 39 | <div class="input-group-append" ng-hide="ingreso"> |
| 36 | <button | 40 | <button |
| 37 | ladda="searchLoading" | 41 | ladda="searchLoading" |
| 38 | data-spinner-color="#FF0000" | 42 | data-spinner-color="#FF0000" |
| 39 | class="btn btn-outline-secondary" | 43 | class="btn btn-outline-secondary" |
| 40 | type="button" | 44 | type="button" |
| 41 | ng-click="busquedaPress(13)"> | 45 | ng-click="busquedaPress(13)"> |
| 42 | <i class="fa fa-search" aria-hidden="true"></i> | 46 | <i class="fa fa-search" aria-hidden="true"></i> |
| 43 | </button> | 47 | </button> |
| 44 | </div> | 48 | </div> |
| 45 | </div> | 49 | </div> |
| 46 | </div> | 50 | </div> |
| 47 | </div> | 51 | </div> |
| 48 | <div class="modal-body" id="modal-body"> | 52 | <div class="modal-body" id="modal-body"> |
| 49 | 53 | ||
| 50 | <div ng-show="!primerBusqueda && !ingreso"> | 54 | <div ng-show="!primerBusqueda && !ingreso"> |
| 51 | Debe realizar una primer búsqueda. | 55 | Debe realizar una primer búsqueda. |
| 52 | </div> | 56 | </div> |
| 53 | 57 | ||
| 54 | <table ng-show="primerBusqueda && !ingreso" class="table table-striped table-sm"> | 58 | <table ng-show="primerBusqueda && !ingreso" class="table table-striped table-sm"> |
| 55 | <thead> | 59 | <thead> |
| 56 | <tr> | 60 | <tr> |
| 57 | <th>Código</th> | 61 | <th>Código</th> |
| 58 | <th>Nombre</th> | 62 | <th>Nombre</th> |
| 59 | <th>CUIT</th> | 63 | <th>CUIT</th> |
| 60 | <th></th> | 64 | <th></th> |
| 61 | </tr> | 65 | </tr> |
| 62 | </thead> | 66 | </thead> |
| 63 | <tbody> | 67 | <tbody> |
| 64 | <tr ng-show="currentPageClientes.length == 0 && primerBusqueda"> | 68 | <tr ng-show="currentPageClientes.length == 0 && primerBusqueda"> |
| 65 | <td colspan="4"> | 69 | <td colspan="4"> |
| 66 | No se encontraron resultados. | 70 | No se encontraron resultados. |
| 67 | </td> | 71 | </td> |
| 68 | </tr> | 72 | </tr> |
| 69 | <tr | 73 | <tr |
| 70 | class="selectable" | 74 | class="selectable" |
| 71 | ng-repeat="(key, cliente) in currentPageClientes" | 75 | ng-repeat="(key, cliente) in currentPageClientes" |
| 72 | ng-click="select(cliente)"> | 76 | ng-click="select(cliente)"> |
| 73 | <td ng-bind="('00000'+cliente.cod).slice(-5)"></td> | 77 | <td ng-bind="('00000'+cliente.cod).slice(-5)"></td> |
| 74 | <td ng-bind="cliente.nom"></td> | 78 | <td ng-bind="cliente.nom"></td> |
| 75 | <td ng-bind="cliente.cuit"></td> | 79 | <td ng-bind="cliente.cuit"></td> |
| 76 | <td> | 80 | <td> |
| 77 | <button | 81 | <button |
| 78 | type="button" | 82 | type="button" |
| 79 | class="btn btn-xs p-1 float-right" | 83 | class="btn btn-xs p-1 float-right" |
| 80 | ng-class="{ | 84 | ng-class="{ |
| 81 | 'btn-secondary': selectedClientes != key, | 85 | 'btn-secondary': selectedClientes != key, |
| 82 | 'btn-primary': selectedClientes == key | 86 | 'btn-primary': selectedClientes == key |
| 83 | }" | 87 | }" |
| 84 | ng-click="select(cliente)" | 88 | ng-click="select(cliente)" |
| 85 | foca-focus="selectedClientes == {{key}}" | 89 | foca-focus="selectedClientes == {{key}}" |
| 86 | ng-keydown="itemCliente($event.keyCode)" | 90 | ng-keydown="itemCliente($event.keyCode)" |
| 87 | > | 91 | > |
| 88 | <i class="fa fa-circle-thin" aria-hidden="true"></i> | 92 | <i class="fa fa-circle-thin" aria-hidden="true"></i> |
| 89 | </button> | 93 | </button> |
| 90 | </td> | 94 | </td> |
| 91 | </tr> | 95 | </tr> |
| 92 | </tbody> | 96 | </tbody> |
| 93 | </table> | 97 | </table> |
| 94 | 98 | ||
| 95 | <form name="formCliente"> | 99 | <form name="formCliente"> |
| 96 | <uib-tabset class="tabs-right" ng-show="ingreso"> | 100 | <uib-tabset class="tabs-right" ng-show="ingreso"> |
| 97 | <uib-tab heading="Datos clientes"> | 101 | <uib-tab heading="Datos clientes"> |
| 98 | <div class="row"> | 102 | <div class="row"> |
| 99 | <div class="col-3"> | 103 | <div class="col-3"> |
| 100 | <label>Código</label> | 104 | <label>Código</label> |
| 101 | <input | 105 | <input |
| 102 | type="text" | 106 | type="text" |
| 103 | class="form-control form-control-sm" | 107 | class="form-control form-control-sm" |
| 104 | ng-model="cliente.codigo" | 108 | ng-model="cliente.codigo" |
| 105 | ng-required="true" | 109 | ng-required="true" |
| 106 | readonly | 110 | readonly |
| 107 | /> | 111 | /> |
| 108 | </div> | 112 | </div> |
| 109 | <div class="col-9"> | 113 | <div class="col-9"> |
| 110 | <label>Nombre</label> | 114 | <label>Nombre</label> |
| 111 | <input | 115 | <input |
| 112 | type="text" | 116 | type="text" |
| 113 | foca-focus="ingreso" | 117 | foca-focus="ingreso" |
| 114 | class="form-control form-control-sm" | 118 | class="form-control form-control-sm" |
| 115 | ng-model="cliente.NOM" | 119 | ng-model="cliente.NOM" |
| 116 | placeholder="Ingrese nombre" | 120 | placeholder="Ingrese nombre" |
| 117 | ng-required="true" | 121 | ng-required="true" |
| 118 | teclado-virtual | 122 | teclado-virtual |
| 119 | /> | 123 | /> |
| 120 | </div> | 124 | </div> |
| 121 | </div> | 125 | </div> |
| 122 | <div class="row"> | 126 | <div class="row"> |
| 123 | <div class="col-9"> | 127 | <div class="col-9"> |
| 124 | <label>Domicilio</label> | 128 | <label>Domicilio</label> |
| 125 | <input | 129 | <input |
| 126 | type="text" | 130 | type="text" |
| 127 | class="form-control form-control-sm" | 131 | class="form-control form-control-sm" |
| 128 | ng-model="cliente.DOM" | 132 | ng-model="cliente.DOM" |
| 129 | placeholder="Ingrese domicilio" | 133 | placeholder="Ingrese domicilio" |
| 130 | ng-required="true" | 134 | ng-required="true" |
| 131 | teclado-virtual | 135 | teclado-virtual |
| 132 | /> | 136 | /> |
| 133 | </div> | 137 | </div> |
| 134 | <div class="col-3"> | 138 | <div class="col-3"> |
| 135 | <label>Código postal</label> | 139 | <label>Código postal</label> |
| 136 | <input | 140 | <input |
| 137 | type="text" | 141 | type="text" |
| 138 | class="form-control form-control-sm" | 142 | class="form-control form-control-sm" |
| 139 | ng-model="cliente.CPO" | 143 | ng-model="cliente.CPO" |
| 140 | placeholder="Ingrese CP" | 144 | placeholder="Ingrese CP" |
| 141 | ng-required="true" | 145 | ng-required="true" |
| 142 | teclado-virtual | 146 | teclado-virtual |
| 143 | /> | 147 | /> |
| 144 | </div> | 148 | </div> |
| 145 | </div> | 149 | </div> |
| 146 | <div class="row"> | 150 | <div class="row"> |
| 147 | <div class="col-6"> | 151 | <div class="col-6"> |
| 148 | <label>Provincia</label> | 152 | <label>Provincia</label> |
| 149 | <div class="input-group"> | 153 | <div class="input-group"> |
| 150 | <input | 154 | <input |
| 151 | type="text" | 155 | type="text" |
| 152 | class="form-control form-control-sm" | 156 | class="form-control form-control-sm" |
| 153 | ng-model="cliente.provincia.NOMBRE" | 157 | ng-model="cliente.provincia.NOMBRE" |
| 154 | ng-keypress="seleccionarProvincia($event.keyCode)" | 158 | ng-keypress="seleccionarProvincia($event.keyCode)" |
| 155 | placeholder="Ingrese provincia" | 159 | placeholder="Ingrese provincia" |
| 156 | ng-required="true" | 160 | ng-required="true" |
| 157 | teclado-virtual | 161 | teclado-virtual |
| 158 | /> | 162 | /> |
| 159 | <div class="input-group-append"> | 163 | <div class="input-group-append"> |
| 160 | <button | 164 | <button |
| 161 | ladda="searchLoading" | 165 | ladda="searchLoading" |
| 162 | class="btn btn-outline-secondary form-control-sm" | 166 | class="btn btn-outline-secondary form-control-sm" |
| 163 | type="button" | 167 | type="button" |
| 164 | ng-click="seleccionarProvincia(13)" | 168 | ng-click="seleccionarProvincia(13)" |
| 165 | > | 169 | > |
| 166 | <i class="fa fa-search" aria-hidden="true"></i> | 170 | <i class="fa fa-search" aria-hidden="true"></i> |
| 167 | </button> | 171 | </button> |
| 168 | </div> | 172 | </div> |
| 169 | </div> | 173 | </div> |
| 170 | </div> | 174 | </div> |
| 171 | <div class="col-6"> | 175 | <div class="col-6"> |
| 172 | <label>Localidad</label> | 176 | <label>Localidad</label> |
| 173 | <div class="input-group"> | 177 | <div class="input-group"> |
| 174 | <input | 178 | <input |
| 175 | type="text" | 179 | type="text" |
| 176 | class="form-control form-control-sm" | 180 | class="form-control form-control-sm" |
| 177 | ng-model="cliente.localidad.NOMBRE" | 181 | ng-model="cliente.localidad.NOMBRE" |
| 178 | ng-keypress="seleccionarLocalidad($event.keyCode)" | 182 | ng-keypress="seleccionarLocalidad($event.keyCode)" |
| 179 | placeholder="Ingrese localidad" | 183 | placeholder="Ingrese localidad" |
| 180 | ng-required="true" | 184 | ng-required="true" |
| 181 | teclado-virtual | 185 | teclado-virtual |
| 182 | /> | 186 | /> |
| 183 | <div class="input-group-append"> | 187 | <div class="input-group-append"> |
| 184 | <button | 188 | <button |
| 185 | ladda="searchLoading" | 189 | ladda="searchLoading" |
| 186 | class="btn btn-outline-secondary form-control-sm" | 190 | class="btn btn-outline-secondary form-control-sm" |
| 187 | type="button" | 191 | type="button" |
| 188 | ng-click="seleccionarLocalidad(13)" | 192 | ng-click="seleccionarLocalidad(13)" |
| 189 | > | 193 | > |
| 190 | <i class="fa fa-search" aria-hidden="true"></i> | 194 | <i class="fa fa-search" aria-hidden="true"></i> |
| 191 | </button> | 195 | </button> |
| 192 | </div> | 196 | </div> |
| 193 | </div> | 197 | </div> |
| 194 | </div> | 198 | </div> |
| 195 | </div> | 199 | </div> |
| 196 | <div class="row"> | 200 | <div class="row"> |
| 197 | <div class="col-6"> | 201 | <div class="col-6"> |
| 198 | <label>Zona</label> | 202 | <label>Zona</label> |
| 199 | <div class="input-group"> | 203 | <div class="input-group"> |
| 200 | <input | 204 | <input |
| 201 | type="text" | 205 | type="text" |
| 202 | class="form-control form-control-sm" | 206 | class="form-control form-control-sm" |
| 203 | ng-model="cliente.zona.NOM" | 207 | ng-model="cliente.zona.NOM" |
| 204 | ng-keypress="seleccionarZona($event.keyCode)" | 208 | ng-keypress="seleccionarZona($event.keyCode)" |
| 205 | placeholder="Ingrese zona" | 209 | placeholder="Ingrese zona" |
| 206 | ng-required="true" | 210 | ng-required="true" |
| 207 | teclado-virtual | 211 | teclado-virtual |
| 208 | /> | 212 | /> |
| 209 | <div class="input-group-append"> | 213 | <div class="input-group-append"> |
| 210 | <button | 214 | <button |
| 211 | ladda="searchLoading" | 215 | ladda="searchLoading" |
| 212 | class="btn btn-outline-secondary form-control-sm" | 216 | class="btn btn-outline-secondary form-control-sm" |
| 213 | type="button" | 217 | type="button" |
| 214 | ng-click="seleccionarZona(13)" | 218 | ng-click="seleccionarZona(13)" |
| 215 | > | 219 | > |
| 216 | <i class="fa fa-search" aria-hidden="true"></i> | 220 | <i class="fa fa-search" aria-hidden="true"></i> |
| 217 | </button> | 221 | </button> |
| 218 | </div> | 222 | </div> |
| 219 | </div> | 223 | </div> |
| 220 | </div> | 224 | </div> |
| 221 | <div class="col-6"> | 225 | <div class="col-6"> |
| 222 | <label>Actividad</label> | 226 | <label>Actividad</label> |
| 223 | <div class="input-group"> | 227 | <div class="input-group"> |
| 224 | <input | 228 | <input |
| 225 | type="text" | 229 | type="text" |
| 226 | class="form-control form-control-sm" | 230 | class="form-control form-control-sm" |
| 227 | ng-model="cliente.actividad.NOM" | 231 | ng-model="cliente.actividad.NOM" |
| 228 | ng-keypress="seleccionarActividad($event.keyCode)" | 232 | ng-keypress="seleccionarActividad($event.keyCode)" |
| 229 | placeholder="Ingrese actividad" | 233 | placeholder="Ingrese actividad" |
| 230 | ng-required="true" | 234 | ng-required="true" |
| 231 | teclado-virtual | 235 | teclado-virtual |
| 232 | /> | 236 | /> |
| 233 | <div class="input-group-append"> | 237 | <div class="input-group-append"> |
| 234 | <button | 238 | <button |
| 235 | ladda="searchLoading" | 239 | ladda="searchLoading" |
| 236 | class="btn btn-outline-secondary form-control-sm" | 240 | class="btn btn-outline-secondary form-control-sm" |
| 237 | type="button" | 241 | type="button" |
| 238 | ng-click="seleccionarActividad(13)" | 242 | ng-click="seleccionarActividad(13)" |
| 239 | > | 243 | > |
| 240 | <i class="fa fa-search" aria-hidden="true"></i> | 244 | <i class="fa fa-search" aria-hidden="true"></i> |
| 241 | </button> | 245 | </button> |
| 242 | </div> | 246 | </div> |
| 243 | </div> | 247 | </div> |
| 244 | </div> | 248 | </div> |
| 245 | </div> | 249 | </div> |
| 246 | <div class="row"> | 250 | <div class="row"> |
| 247 | <div class="col-6"> | 251 | <div class="col-6"> |
| 248 | <div class="custom-control custom-checkbox"> | 252 | <div class="custom-control custom-checkbox"> |
| 249 | <input | 253 | <input |
| 250 | type="checkbox" | 254 | type="checkbox" |
| 251 | class="custom-control-input" | 255 | class="custom-control-input" |
| 252 | id="checkDistribuidor" | 256 | id="checkDistribuidor" |
| 253 | ng-model="cliente.ES_MAY" | 257 | ng-model="cliente.ES_MAY" |
| 254 | checked> | 258 | checked> |
| 255 | <label class="custom-control-label" for="checkDistribuidor">¿Este cliente es distribuidor?</label> | 259 | <label class="custom-control-label" for="checkDistribuidor">¿Este cliente es distribuidor?</label> |
| 256 | </div> | 260 | </div> |
| 257 | </div> | 261 | </div> |
| 258 | </div> | 262 | </div> |
| 259 | </uib-tab> | 263 | </uib-tab> |
| 260 | <uib-tab heading="Datos impositivos"> | 264 | <uib-tab heading="Datos impositivos"> |
| 261 | <div class="row"> | 265 | <div class="row"> |
| 262 | <div class="col-7"> | 266 | <div class="col-7"> |
| 263 | <label>Responsabilidad ante el IVA</label> | 267 | <label>Responsabilidad ante el IVA</label> |
| 264 | <div class="input-group"> | 268 | <div class="input-group"> |
| 265 | <input | 269 | <input |
| 266 | type="text" | 270 | type="text" |
| 267 | class="form-control form-control-sm" | 271 | class="form-control form-control-sm" |
| 268 | ng-model="cliente.iva.NOMBRE" | 272 | ng-model="cliente.iva.NOMBRE" |
| 269 | ng-keypress="seleccionarIva($event.keyCode)" | 273 | ng-keypress="seleccionarIva($event.keyCode)" |
| 270 | ng-required="true" | 274 | ng-required="true" |
| 271 | teclado-virtual | 275 | teclado-virtual |
| 272 | /> | 276 | /> |
| 273 | <div class="input-group-append"> | 277 | <div class="input-group-append"> |
| 274 | <button | 278 | <button |
| 275 | ladda="searchLoading" | 279 | ladda="searchLoading" |
| 276 | class="btn btn-outline-secondary form-control-sm" | 280 | class="btn btn-outline-secondary form-control-sm" |
| 277 | type="button" | 281 | type="button" |
| 278 | ng-click="seleccionarIva(13)" | 282 | ng-click="seleccionarIva(13)" |
| 279 | > | 283 | > |
| 280 | <i class="fa fa-search" aria-hidden="true"></i> | 284 | <i class="fa fa-search" aria-hidden="true"></i> |
| 281 | </button> | 285 | </button> |
| 282 | </div> | 286 | </div> |
| 283 | </div> | 287 | </div> |
| 284 | </div> | 288 | </div> |
| 285 | <div class="col-5"> | 289 | <div class="col-5"> |
| 286 | <label>Factura que emite</label> | 290 | <label>Factura que emite</label> |
| 287 | <div class="input-group"> | 291 | <div class="input-group"> |
| 288 | <input | 292 | <input |
| 289 | type="text" | 293 | type="text" |
| 290 | class="form-control form-control-sm" | 294 | class="form-control form-control-sm" |
| 291 | placeholder="Ingrese factura que emite" | 295 | placeholder="Ingrese factura que emite" |
| 292 | ng-model="cliente.tipoFactura.NOMBRE" | 296 | ng-model="cliente.tipoFactura.NOMBRE" |
| 293 | ng-required="true" | 297 | ng-required="true" |
| 294 | ng-keypress="seleccionarTipoFactura(13)" | 298 | ng-keypress="seleccionarTipoFactura(13)" |
| 295 | teclado-virtual> | 299 | teclado-virtual> |
| 296 | <div class="input-group-append"> | 300 | <div class="input-group-append"> |
| 297 | <button | 301 | <button |
| 298 | ladda="searchLoading" | 302 | ladda="searchLoading" |
| 299 | class="btn btn-outline-secondary form-control-sm" | 303 | class="btn btn-outline-secondary form-control-sm" |
| 300 | type="button" | 304 | type="button" |
| 301 | ng-click="seleccionarTipoFactura(13)" | 305 | ng-click="seleccionarTipoFactura(13)" |
| 302 | > | 306 | > |
| 303 | <i class="fa fa-search" aria-hidden="true"></i> | 307 | <i class="fa fa-search" aria-hidden="true"></i> |
| 304 | </button> | 308 | </button> |
| 305 | </div> | 309 | </div> |
| 306 | </div> | 310 | </div> |
| 307 | </div> | 311 | </div> |
| 308 | </div> | 312 | </div> |
| 309 | <div class="row"> | 313 | <div class="row"> |
| 310 | <div class="col-4"> | 314 | <div class="col-4"> |
| 311 | <label>CUIT</label> | 315 | <label>CUIT</label> |
| 312 | <div class="input-group"> | 316 | <div class="input-group"> |
| 313 | <input | 317 | <input |
| 314 | type="text" | 318 | type="text" |
| 315 | class="form-control form-control-sm" | 319 | class="form-control form-control-sm" |
| 316 | placeholder="Ingrese CUIT" | 320 | placeholder="Ingrese CUIT" |
| 317 | ng-model="cliente.CUIT" | 321 | ng-model="cliente.CUIT" |
| 318 | ng-required="true" | 322 | ng-required="true" |
| 319 | teclado-virtual> | 323 | teclado-virtual> |
| 320 | </div> | 324 | </div> |
| 321 | </div> | 325 | </div> |
| 322 | <div class="col-4"> | 326 | <div class="col-4"> |
| 323 | <label>Clase de comprobante</label> | 327 | <label>Clase de comprobante</label> |
| 324 | <div class="input-group"> | 328 | <div class="input-group"> |
| 325 | <input | 329 | <input |
| 326 | type="text" | 330 | type="text" |
| 327 | class="form-control form-control-sm" | 331 | class="form-control form-control-sm" |
| 328 | placeholder="Ingrese clase de comprobante" | 332 | placeholder="Ingrese clase de comprobante" |
| 329 | ng-keypress="seleccionarTipoComprobante($event.keyCode)" | 333 | ng-keypress="seleccionarTipoComprobante($event.keyCode)" |
| 330 | ng-model="cliente.tipoComprobante.NOMBRE" | 334 | ng-model="cliente.tipoComprobante.NOMBRE" |
| 331 | ng-required="true" | 335 | ng-required="true" |
| 332 | teclado-virtual> | 336 | teclado-virtual> |
| 333 | <div class="input-group-append"> | 337 | <div class="input-group-append"> |
| 334 | <button | 338 | <button |
| 335 | ladda="searchLoading" | 339 | ladda="searchLoading" |
| 336 | class="btn btn-outline-secondary form-control-sm" | 340 | class="btn btn-outline-secondary form-control-sm" |
| 337 | type="button" | 341 | type="button" |
| 338 | ng-click="seleccionarTipoComprobante(13)" | 342 | ng-click="seleccionarTipoComprobante(13)" |
| 339 | > | 343 | > |
| 340 | <i class="fa fa-search" aria-hidden="true"></i> | 344 | <i class="fa fa-search" aria-hidden="true"></i> |
| 341 | </button> | 345 | </button> |
| 342 | </div> | 346 | </div> |
| 343 | </div> | 347 | </div> |
| 344 | </div> | 348 | </div> |
| 345 | <div class="col-4"> | 349 | <div class="col-4"> |
| 346 | <label>Forma de pago</label> | 350 | <label>Forma de pago</label> |
| 347 | <div class="input-group"> | 351 | <div class="input-group"> |
| 348 | <input | 352 | <input |
| 349 | type="text" | 353 | type="text" |
| 350 | class="form-control form-control-sm" | 354 | class="form-control form-control-sm" |
| 351 | placeholder="Ingrese forma de pago" | 355 | placeholder="Ingrese forma de pago" |
| 352 | ng-model="cliente.formaPago.NOMBRE" | 356 | ng-model="cliente.formaPago.NOMBRE" |
| 353 | ng-required="true" | 357 | ng-required="true" |
| 354 | ng-keypress="seleccionarFormaPago($event.keyCode)" | 358 | ng-keypress="seleccionarFormaPago($event.keyCode)" |
| 355 | teclado-virtual> | 359 | teclado-virtual> |
| 356 | <div class="input-group-append"> | 360 | <div class="input-group-append"> |
| 357 | <button | 361 | <button |
| 358 | ladda="searchLoading" | 362 | ladda="searchLoading" |
| 359 | class="btn btn-outline-secondary form-control-sm" | 363 | class="btn btn-outline-secondary form-control-sm" |
| 360 | type="button" | 364 | type="button" |
| 361 | ng-click="seleccionarFormaPago(13)" | 365 | ng-click="seleccionarFormaPago(13)" |
| 362 | > | 366 | > |
| 363 | <i class="fa fa-search" aria-hidden="true"></i> | 367 | <i class="fa fa-search" aria-hidden="true"></i> |
| 364 | </button> | 368 | </button> |
| 365 | </div> | 369 | </div> |
| 366 | </div> | 370 | </div> |
| 367 | </div> | 371 | </div> |
| 368 | </div> | 372 | </div> |
| 369 | </uib-tab> | 373 | </uib-tab> |
| 370 | </uib-tabset> | 374 | </uib-tabset> |
| 371 | </form> | 375 | </form> |
| 372 | </div> | 376 | </div> |
| 373 | <div class="modal-footer py-1"> | 377 | <div class="modal-footer py-1"> |
| 374 | <nav ng-show="currentPageClientes.length > 0 && primerBusqueda && !ingreso" class="mr-auto"> | 378 | <nav ng-show="currentPageClientes.length > 0 && primerBusqueda && !ingreso" class="mr-auto"> |
| 375 | <ul class="pagination pagination-sm mb-0"> | 379 | <ul class="pagination pagination-sm mb-0"> |
| 376 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> | 380 | <li class="page-item" ng-class="{'disabled': currentPage == 1}"> |
| 377 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage - 1)"> | 381 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage - 1)"> |
| 378 | <span aria-hidden="true">«</span> | 382 | <span aria-hidden="true">«</span> |
| 379 | <span class="sr-only">Anterior</span> | 383 | <span class="sr-only">Anterior</span> |
| 380 | </a> | 384 | </a> |
| 381 | </li> | 385 | </li> |
| 382 | <li | 386 | <li |
| 383 | class="page-item" | 387 | class="page-item" |
| 384 | ng-repeat="pagina in paginas" | 388 | ng-repeat="pagina in paginas" |
| 385 | ng-class="{'active': pagina == currentPage}" | 389 | ng-class="{'active': pagina == currentPage}" |
| 386 | > | 390 | > |
| 387 | <a | 391 | <a |
| 388 | class="page-link" | 392 | class="page-link" |
| 389 | href="javascript:void()" | 393 | href="javascript:void()" |
| 390 | ng-click="selectPage(pagina)" | 394 | ng-click="selectPage(pagina)" |
| 391 | ng-bind="pagina" | 395 | ng-bind="pagina" |
| 392 | ></a> | 396 | ></a> |
| 393 | </li> | 397 | </li> |
| 394 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> | 398 | <li class="page-item" ng-class="{'disabled': currentPage == lastPage}"> |
| 395 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage + 1)"> | 399 | <a class="page-link" href="javascript:void()" ng-click="selectPage(currentPage + 1)"> |
| 396 | <span aria-hidden="true">»</span> | 400 | <span aria-hidden="true">»</span> |
| 397 | <span class="sr-only">Siguiente</span> | 401 | <span class="sr-only">Siguiente</span> |
| 398 | </a> | 402 | </a> |
| 399 | </li> | 403 | </li> |
| 400 | </ul> | 404 | </ul> |
| 401 | </nav> | 405 | </nav> |
| 402 | <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> | 406 | <button class="btn btn-sm btn-secondary" type="button" ng-click="cancel()">Cancelar</button> |
| 403 | <button class="btn btn-sm btn-primary" type="button" ng-show="ingreso" ng-click="guardar()">Guardar</button> | 407 | <button class="btn btn-sm btn-primary" type="button" ng-show="ingreso" ng-click="guardar()">Guardar</button> |
| 404 | </div> | 408 | </div> |
| 405 | 409 |