Commit 136903283d53610f8f1072a781a0e197e13ce94b
1 parent
23b90f93b1
Exists in
develop
Fix
Identacion en vista
Showing
1 changed file
with
86 additions
and
94 deletions
Show diff stats
src/views/foca-modal-nuevo-cliente.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-4 col-7"> | 3 | <div class="col-lg-4 col-7"> |
| 4 | <h5 class="modal-title my-1">Crear Cliente</h5> | 4 | <h5 class="modal-title my-1">Crear Cliente</h5> |
| 5 | </div> | 5 | </div> |
| 6 | <div class="col-lg-3 col-5 front-index"> | 6 | <div class="col-lg-3 col-5 front-index"> |
| 7 | <div class="custom-control custom-checkbox mt-2"> | 7 | <div class="custom-control custom-checkbox mt-2"> |
| 8 | <input | 8 | <input |
| 9 | type="checkbox" | 9 | type="checkbox" |
| 10 | class="custom-control-input" | 10 | class="custom-control-input" |
| 11 | id="checkProspecto" | 11 | id="checkProspecto" |
| 12 | ng-model="cliente.ES_PROS"> | 12 | ng-model="cliente.ES_PROS"> |
| 13 | <label class="custom-control-label" for="checkProspecto">¿Es prospecto?</label> | 13 | <label class="custom-control-label" for="checkProspecto">¿Es prospecto?</label> |
| 14 | </div> | 14 | </div> |
| 15 | </div> | 15 | </div> |
| 16 | </div> | 16 | </div> |
| 17 | </div> | 17 | </div> |
| 18 | <div class="modal-body" id="modal-body"> | 18 | <div class="modal-body" id="modal-body"> |
| 19 | <form name="formCliente"> | 19 | <form name="formCliente"> |
| 20 | <fieldset> | 20 | <fieldset> |
| 21 | <uib-tabset class="tabs-right"> | 21 | <uib-tabset class="tabs-right"> |
| 22 | <uib-tab heading="Datos cliente"> | 22 | <uib-tab heading="Datos cliente"> |
| 23 | <div class="row"> | 23 | <div class="row"> |
| 24 | <div class="col-3 mt-2"> | 24 | <div class="col-3 mt-2"> |
| 25 | <label>Código</label> | 25 | <label>Código</label> |
| 26 | <input | 26 | <input |
| 27 | type="text" | 27 | type="text" |
| 28 | class="form-control form-control-sm" | 28 | class="form-control form-control-sm" |
| 29 | ng-model="cliente.COD" | 29 | ng-model="cliente.COD" |
| 30 | readonly | 30 | readonly> |
| 31 | /> | ||
| 32 | </div> | 31 | </div> |
| 33 | <div class="col-9 mt-2"> | 32 | <div class="col-9 mt-2"> |
| 34 | <label>Nombre</label> | 33 | <label>Nombre</label> |
| 35 | <input | 34 | <input |
| 36 | type="text" | 35 | type="text" |
| 37 | class="form-control form-control-sm" | 36 | class="form-control form-control-sm" |
| 38 | ng-model="cliente.NOM" | 37 | ng-model="cliente.NOM" |
| 39 | teclado-virtual | 38 | teclado-virtual |
| 40 | placeholder="Ingrese nombre" | 39 | placeholder="Ingrese nombre" |
| 41 | ng-required="true" | 40 | ng-required="true" |
| 42 | foca-focus="focused == 1" | 41 | foca-focus="focused == 1" |
| 43 | ng-focus="focus(1)" | 42 | ng-focus="focus(1)" |
| 44 | ng-keypress="next($event.keyCode)" | 43 | ng-keypress="next($event.keyCode)" |
| 45 | /> | 44 | /> |
| 46 | </div> | 45 | </div> |
| 47 | </div> | 46 | </div> |
| 48 | <div class="row"> | 47 | <div class="row"> |
| 49 | <div class="col-md-9 col-12 mt-2"> | 48 | <div class="col-md-9 col-12 mt-2"> |
| 50 | <label>Domicilio</label> | 49 | <label>Domicilio</label> |
| 51 | <input | 50 | <input |
| 52 | type="text" | 51 | type="text" |
| 53 | class="form-control form-control-sm" | 52 | class="form-control form-control-sm" |
| 54 | ng-model="cliente.DOM" | 53 | ng-model="cliente.DOM" |
| 55 | teclado-virtual | 54 | teclado-virtual |
| 56 | placeholder="Ingrese domicilio" | 55 | placeholder="Ingrese domicilio" |
| 57 | ng-required="true" | 56 | ng-required="true" |
| 58 | ng-focus="focus(2)" | 57 | ng-focus="focus(2)" |
| 59 | foca-focus="focused == 2" | 58 | foca-focus="focused == 2" |
| 60 | ng-keypress="next($event.keyCode)" | 59 | ng-keypress="next($event.keyCode)"> |
| 61 | /> | ||
| 62 | </div> | 60 | </div> |
| 63 | <div class="col-md-3 col-12 mt-2"> | 61 | <div class="col-md-3 col-12 mt-2"> |
| 64 | <label>Código postal</label> | 62 | <label>Código postal</label> |
| 65 | <input | 63 | <input |
| 66 | type="text" | 64 | type="text" |
| 67 | class="form-control form-control-sm" | 65 | class="form-control form-control-sm" |
| 68 | ng-model="cliente.CPO" | 66 | ng-model="cliente.CPO" |
| 69 | placeholder="Ingrese CP" | 67 | placeholder="Ingrese CP" |
| 70 | ng-required="true" | 68 | ng-required="true" |
| 71 | ng-focus="focus(3)" | 69 | ng-focus="focus(3)" |
| 72 | foca-focus="focused == 3" | 70 | foca-focus="focused == 3" |
| 73 | ng-keypress="next($event.keyCode)" | 71 | ng-keypress="next($event.keyCode)" |
| 74 | teclado-virtual | 72 | teclado-virtual> |
| 75 | /> | ||
| 76 | </div> | 73 | </div> |
| 77 | </div> | 74 | </div> |
| 78 | <div class="row"> | 75 | <div class="row"> |
| 79 | <div class="col-md-6 col-12 mt-2"> | 76 | <div class="col-md-6 col-12 mt-2"> |
| 80 | <label>Provincia</label> | 77 | <label>Provincia</label> |
| 81 | <div class="input-group"> | 78 | <div class="input-group"> |
| 82 | <input | 79 | <input |
| 83 | type="text" | 80 | type="text" |
| 84 | class="form-control form-control-sm" | 81 | class="form-control form-control-sm" |
| 85 | ng-model="cliente.provincia.NOMBRE" | 82 | ng-model="cliente.provincia.NOMBRE" |
| 86 | ng-keypress="seleccionarProvincia($event.keyCode)" | 83 | ng-keypress="seleccionarProvincia($event.keyCode)" |
| 87 | placeholder="Seleccione provincia" | 84 | placeholder="Seleccione provincia" |
| 88 | ng-required="true" | 85 | ng-required="true" |
| 89 | ng-focus="focus(4)" | 86 | ng-focus="focus(4)" |
| 90 | foca-focus="focused == 4" | 87 | foca-focus="focused == 4" |
| 91 | teclado-virtual | 88 | teclado-virtual> |
| 92 | /> | ||
| 93 | <button | 89 | <button |
| 94 | ng-show="cliente.provincia.NOMBRE !== ''" | 90 | ng-show="cliente.provincia.NOMBRE !== ''" |
| 95 | type="button" | 91 | type="button" |
| 96 | class="clear-input" | 92 | class="clear-input" |
| 97 | ng-click= | 93 | ng-click= |
| 98 | "cliente.provincia.NOMBRE = ''; | 94 | "cliente.provincia.NOMBRE = ''; |
| 99 | cliente.provincia.ID = undefined" | 95 | cliente.provincia.ID = undefined"> |
| 100 | ><i class="fa fa-times"></i> | 96 | <i class="fa fa-times"></i> |
| 101 | </button> | 97 | </button> |
| 102 | <div class="input-group-append"> | 98 | <div class="input-group-append"> |
| 103 | <button | 99 | <button |
| 104 | ladda="searchLoading" | 100 | ladda="searchLoading" |
| 105 | class="btn btn-outline-secondary" | 101 | class="btn btn-outline-secondary" |
| 106 | type="button" | 102 | type="button" |
| 107 | ng-click="seleccionarProvincia(13)" | 103 | ng-click="seleccionarProvincia(13)"> |
| 108 | ><i class="fa fa-search" aria-hidden="true"></i> | 104 | <i class="fa fa-search" aria-hidden="true"></i> |
| 109 | </button> | 105 | </button> |
| 110 | </div> | 106 | </div> |
| 111 | </div> | 107 | </div> |
| 112 | </div> | 108 | </div> |
| 113 | <div class="col-md-6 col-12 mt-2"> | 109 | <div class="col-md-6 col-12 mt-2"> |
| 114 | <label>Localidad</label> | 110 | <label>Localidad</label> |
| 115 | <div class="input-group"> | 111 | <div class="input-group"> |
| 116 | <input | 112 | <input |
| 117 | type="text" | 113 | type="text" |
| 118 | class="form-control form-control-sm" | 114 | class="form-control form-control-sm" |
| 119 | ng-model="cliente.localidad.NOMBRE" | 115 | ng-model="cliente.localidad.NOMBRE" |
| 120 | ng-keypress="seleccionarLocalidad($event.keyCode)" | 116 | ng-keypress="seleccionarLocalidad($event.keyCode)" |
| 121 | placeholder="Seleccione localidad" | 117 | placeholder="Seleccione localidad" |
| 122 | ng-required="true" | 118 | ng-required="true" |
| 123 | foca-focus="focused == 5" | 119 | foca-focus="focused == 5" |
| 124 | ng-focus="focus(5)" | 120 | ng-focus="focus(5)" |
| 125 | teclado-virtual | 121 | teclado-virtual> |
| 126 | /> | ||
| 127 | <button | 122 | <button |
| 128 | ng-show="cliente.localidad.NOMBRE !== ''" | 123 | ng-show="cliente.localidad.NOMBRE !== ''" |
| 129 | type="button" | 124 | type="button" |
| 130 | class="clear-input" | 125 | class="clear-input" |
| 131 | ng-click="cliente.localidad.NOMBRE = ''" | 126 | ng-click="cliente.localidad.NOMBRE = ''"> |
| 132 | ><i class="fa fa-times"></i> | 127 | <i class="fa fa-times"></i> |
| 133 | </button> | 128 | </button> |
| 134 | <div class="input-group-append"> | 129 | <div class="input-group-append"> |
| 135 | <button | 130 | <button |
| 136 | ladda="searchLoading" | 131 | ladda="searchLoading" |
| 137 | class="btn btn-outline-secondary" | 132 | class="btn btn-outline-secondary" |
| 138 | type="button" | 133 | type="button" |
| 139 | ng-click="seleccionarLocalidad(13)" | 134 | ng-click="seleccionarLocalidad(13)"> |
| 140 | ><i class="fa fa-search" aria-hidden="true"></i> | 135 | <i class="fa fa-search" aria-hidden="true"></i> |
| 141 | </button> | 136 | </button> |
| 142 | </div> | 137 | </div> |
| 143 | </div> | 138 | </div> |
| 144 | </div> | 139 | </div> |
| 145 | </div> | 140 | </div> |
| 146 | <div class="row"> | 141 | <div class="row"> |
| 147 | <div class="col-md-6 col-12 mt-2"> | 142 | <div class="col-md-6 col-12 mt-2"> |
| 148 | <label>Zona</label> | 143 | <label>Zona</label> |
| 149 | <div class="input-group"> | 144 | <div class="input-group"> |
| 150 | <input | 145 | <input |
| 151 | type="text" | 146 | type="text" |
| 152 | class="form-control form-control-sm" | 147 | class="form-control form-control-sm" |
| 153 | ng-model="cliente.zona.NOM" | 148 | ng-model="cliente.zona.NOM" |
| 154 | ng-keypress="seleccionarZona($event.keyCode)" | 149 | ng-keypress="seleccionarZona($event.keyCode)" |
| 155 | placeholder="Seleccione zona" | 150 | placeholder="Seleccione zona" |
| 156 | ng-required="true" | 151 | ng-required="true" |
| 157 | ng-focus="focus(6)" | 152 | ng-focus="focus(6)" |
| 158 | foca-focus="focused == 6" | 153 | foca-focus="focused == 6" |
| 159 | teclado-virtual | 154 | teclado-virtual> |
| 160 | /> | ||
| 161 | <button | 155 | <button |
| 162 | ng-show="cliente.zona.NOM !== ''" | 156 | ng-show="cliente.zona.NOM !== ''" |
| 163 | type="button" | 157 | type="button" |
| 164 | class="clear-input" | 158 | class="clear-input" |
| 165 | ng-click="cliente.zona.NOM = ''" | 159 | ng-click="cliente.zona.NOM = ''"> |
| 166 | ><i class="fa fa-times"></i> | 160 | <i class="fa fa-times"></i> |
| 167 | </button> | 161 | </button> |
| 168 | <div class="input-group-append"> | 162 | <div class="input-group-append"> |
| 169 | <button | 163 | <button |
| 170 | ladda="searchLoading" | 164 | ladda="searchLoading" |
| 171 | class="btn btn-outline-secondary" | 165 | class="btn btn-outline-secondary" |
| 172 | type="button" | 166 | type="button" |
| 173 | ng-click="seleccionarZona(13)" | 167 | ng-click="seleccionarZona(13)"> |
| 174 | ><i class="fa fa-search" aria-hidden="true"></i> | 168 | <i class="fa fa-search" aria-hidden="true"></i> |
| 175 | </button> | 169 | </button> |
| 176 | </div> | 170 | </div> |
| 177 | </div> | 171 | </div> |
| 178 | </div> | 172 | </div> |
| 179 | <div class="col-md-6 col-12 mt-2"> | 173 | <div class="col-md-6 col-12 mt-2"> |
| 180 | <label> Actividad </label> | 174 | <label> Actividad </label> |
| 181 | <div class="input-group"> | 175 | <div class="input-group"> |
| 182 | <input | 176 | <input |
| 183 | type="text" | 177 | type="text" |
| 184 | class="form-control form-control-sm" | 178 | class="form-control form-control-sm" |
| 185 | ng-model="cliente.actividad.NOM" | 179 | ng-model="cliente.actividad.NOM" |
| 186 | ng-keypress="seleccionarActividad($event.keyCode)" | 180 | ng-keypress="seleccionarActividad($event.keyCode)" |
| 187 | placeholder="Seleccione actividad" | 181 | placeholder="Seleccione actividad" |
| 188 | ng-required="true" | 182 | ng-required="true" |
| 189 | ng-focus="focus(7)" | 183 | ng-focus="focus(7)" |
| 190 | foca-focus="focused == 7" | 184 | foca-focus="focused == 7" |
| 191 | teclado-virtual | 185 | teclado-virtual> |
| 192 | /> | ||
| 193 | <button | 186 | <button |
| 194 | ng-show="cliente.actividad.NOM !== ''" | 187 | ng-show="cliente.actividad.NOM !== ''" |
| 195 | type="button" | 188 | type="button" |
| 196 | class="clear-input" | 189 | class="clear-input" |
| 197 | ng-click="cliente.actividad.NOM = ''" | 190 | ng-click="cliente.actividad.NOM = ''"> |
| 198 | ><i class="fa fa-times"></i> | 191 | <i class="fa fa-times"></i> |
| 199 | </button> | 192 | </button> |
| 200 | <div class="input-group-append"> | 193 | <div class="input-group-append"> |
| 201 | <button | 194 | <button |
| 202 | ladda="searchLoading" | 195 | ladda="searchLoading" |
| 203 | class="btn btn-outline-secondary" | 196 | class="btn btn-outline-secondary" |
| 204 | type="button" | 197 | type="button" |
| 205 | ng-click="seleccionarActividad(13)" | 198 | ng-click="seleccionarActividad(13)"> |
| 206 | ><i class="fa fa-search" aria-hidden="true"></i> | 199 | <i class="fa fa-search" aria-hidden="true"></i> |
| 207 | </button> | 200 | </button> |
| 208 | </div> | 201 | </div> |
| 209 | </div> | 202 | </div> |
| 210 | </div> | 203 | </div> |
| 211 | </div> | 204 | </div> |
| 212 | <div class="row"> | 205 | <div class="row"> |
| 213 | <div class="col-md-6 col-12 mt-2"> | 206 | <div class="col-md-6 col-12 mt-2"> |
| 214 | <label>Cobrador</label> | 207 | <label>Cobrador</label> |
| 215 | <div class="input-group"> | 208 | <div class="input-group"> |
| 216 | <input | 209 | <input |
| 217 | type="text" | 210 | type="text" |
| 218 | class="form-control form-control-sm" | 211 | class="form-control form-control-sm" |
| 219 | ng-model="cliente.cobrador.NOM" | 212 | ng-model="cliente.cobrador.NOM" |
| 220 | ng-keypress="seleccionarCobrador($event.keyCode)" | 213 | ng-keypress="seleccionarCobrador($event.keyCode)" |
| 221 | placeholder="Seleccione cobrador" | 214 | placeholder="Seleccione cobrador" |
| 222 | ng-focus="focus(8)" | 215 | ng-focus="focus(8)" |
| 223 | foca-focus="focused == 8" | 216 | foca-focus="focused == 8" |
| 224 | teclado-virtual | 217 | teclado-virtual> |
| 225 | /> | ||
| 226 | <button | 218 | <button |
| 227 | ng-show="cliente.cobrador.NOM !== ''" | 219 | ng-show="cliente.cobrador.NOM !== ''" |
| 228 | type="button" | 220 | type="button" |
| 229 | class="clear-input" | 221 | class="clear-input" |
| 230 | ng-click="cliente.cobrador.NOM = ''" | 222 | ng-click="cliente.cobrador.NOM = ''"> |
| 231 | ><i class="fa fa-times"></i> | 223 | <i class="fa fa-times"></i> |
| 232 | </button> | 224 | </button> |
| 233 | <div class="input-group-append"> | 225 | <div class="input-group-append"> |
| 234 | <button | 226 | <button |
| 235 | ladda="searchLoading" | 227 | ladda="searchLoading" |
| 236 | class="btn btn-outline-secondary" | 228 | class="btn btn-outline-secondary" |
| 237 | type="button" | 229 | type="button" |
| 238 | ng-click="seleccionarCobrador(13)" | 230 | ng-click="seleccionarCobrador(13)"> |
| 239 | ><i class="fa fa-search" aria-hidden="true"></i> | 231 | <i class="fa fa-search" aria-hidden="true"></i> |
| 240 | </button> | 232 | </button> |
| 241 | </div> | 233 | </div> |
| 242 | </div> | 234 | </div> |
| 243 | </div> | 235 | </div> |
| 244 | <div class="col-md-6 col-12 mt-2"> | 236 | <div class="col-md-6 col-12 mt-2"> |
| 245 | <label>Vendedor</label> | 237 | <label>Vendedor</label> |
| 246 | <div class="input-group"> | 238 | <div class="input-group"> |
| 247 | <input | 239 | <input |
| 248 | type="text" | 240 | type="text" |
| 249 | class="form-control form-control-sm" | 241 | class="form-control form-control-sm" |
| 250 | ng-model="vendedor.NOM" | 242 | ng-model="vendedor.NOM" |
| 251 | ng-keypress="seleccionarVendedor($event.keyCode)" | 243 | ng-keypress="seleccionarVendedor($event.keyCode)" |
| 252 | placeholder="Seleccione vendedor" | 244 | placeholder="Seleccione vendedor" |
| 253 | ng-focus="focus(9)" | 245 | ng-focus="focus(9)" |
| 254 | foca-focus="focused == 9" | 246 | foca-focus="focused == 9" |
| 255 | teclado-virtual | 247 | teclado-virtual> |
| 256 | /> | ||
| 257 | <button | 248 | <button |
| 258 | ng-show="vendedor.NOM !== ''" | 249 | ng-show="vendedor.NOM !== ''" |
| 259 | type="button" | 250 | type="button" |
| 260 | class="clear-input" | 251 | class="clear-input" |
| 261 | ng-click="vendedor.NOM = ''" | 252 | ng-click="vendedor.NOM = ''"> |
| 262 | ><i class="fa fa-times"></i> | 253 | <i class="fa fa-times"></i> |
| 263 | </button> | 254 | </button> |
| 264 | <div class="input-group-append"> | 255 | <div class="input-group-append"> |
| 265 | <button | 256 | <button |
| 266 | ladda="searchLoading" | 257 | ladda="searchLoading" |
| 267 | class="btn btn-outline-secondary" | 258 | class="btn btn-outline-secondary" |
| 268 | type="button" | 259 | type="button" |
| 269 | ng-click="seleccionarVendedor(13)" | 260 | ng-click="seleccionarVendedor(13)"> |
| 270 | ><i class="fa fa-search" aria-hidden="true"></i> | 261 | <i class="fa fa-search" aria-hidden="true"></i> |
| 271 | </button> | 262 | </button> |
| 272 | </div> | 263 | </div> |
| 273 | </div> | 264 | </div> |
| 274 | </div> | 265 | </div> |
| 275 | <div class="col-md-6 col-12 mt-2"> | 266 | <div class="col-md-6 col-12 mt-2"> |
| 276 | <label>Email</label> | 267 | <label>Email</label> |
| 277 | <div class="input-group"> | 268 | <div class="input-group"> |
| 278 | <input | 269 | <input |
| 279 | type="text" | 270 | type="text" |
| 280 | class="form-control form-control-sm" | 271 | class="form-control form-control-sm" |
| 281 | placeholder="Ingrese Email" | 272 | placeholder="Ingrese Email" |
| 282 | ng-model="cliente.MAIL" | 273 | ng-model="cliente.MAIL" |
| 283 | ng-required="true" | 274 | ng-required="true" |
| 284 | ng-keypress="next($event.keyCode)" | 275 | ng-keypress="next($event.keyCode)" |
| 285 | ng-focus="focus(10)" | 276 | ng-focus="focus(10)" |
| 286 | foca-focus="focused == 10" | 277 | foca-focus="focused == 10" |
| 287 | teclado-virtual> | 278 | teclado-virtual> |
| 288 | </div> | 279 | </div> |
| 289 | </div> | 280 | </div> |
| 290 | <div class="col-md-6 col-12 mt-2"> | 281 | <div class="col-md-6 col-12 mt-2"> |
| 291 | <label>Telefono</label> | 282 | <label>Telefono</label> |
| 292 | <div class="input-group"> | 283 | <div class="input-group"> |
| 293 | <input | 284 | <input |
| 294 | foca-tipo-input | 285 | foca-tipo-input |
| 295 | limite-numeros-max="20" | 286 | limite-numeros-max="20" |
| 296 | class="form-control form-control-sm" | 287 | class="form-control form-control-sm" |
| 297 | placeholder="Ingrese Telefono" | 288 | placeholder="Ingrese Telefono" |
| 298 | ng-model="cliente.TEL" | 289 | ng-model="cliente.TEL" |
| 299 | ng-required="true" | 290 | ng-required="true" |
| 300 | ng-keypress="next($event.keyCode)" | 291 | ng-keypress="next($event.keyCode)" |
| 301 | ng-focus="focus(11)" | 292 | ng-focus="focus(11)" |
| 302 | foca-focus="focused == 11" | 293 | foca-focus="focused == 11" |
| 303 | teclado-virtual> | 294 | teclado-virtual> |
| 304 | </div> | 295 | </div> |
| 305 | </div> | 296 | </div> |
| 306 | </div> | 297 | </div> |
| 307 | <div class="row"> | 298 | <div class="row"> |
| 308 | <div class="col-6 d-flex mt-3"> | 299 | <div class="col-6 d-flex mt-3"> |
| 309 | <div class="custom-control custom-checkbox mt-auto"> | 300 | <div class="custom-control custom-checkbox mt-auto"> |
| 310 | <input | 301 | <input |
| 311 | type="checkbox" | 302 | type="checkbox" |
| 312 | class="custom-control-input" | 303 | class="custom-control-input" |
| 313 | id="checkDistribuidor" | 304 | id="checkDistribuidor" |
| 314 | ng-model="cliente.ES_MAY" | 305 | ng-model="cliente.ES_MAY" |
| 315 | checked | 306 | checked |
| 316 | disabled="disabled"> | 307 | disabled="disabled"> |
| 317 | <label class="custom-control-label" for="checkDistribuidor">¿Este cliente es distribuidor?</label> | 308 | <label |
| 309 | class="custom-control-label" | ||
| 310 | for="checkDistribuidor"> | ||
| 311 | ¿Este cliente es distribuidor? | ||
| 312 | </label> | ||
| 318 | </div> | 313 | </div> |
| 319 | </div> | 314 | </div> |
| 320 | </div> | 315 | </div> |
| 321 | </uib-tab> | 316 | </uib-tab> |
| 322 | <uib-tab heading="Datos impositivos"> | 317 | <uib-tab heading="Datos impositivos"> |
| 323 | <div class="row"> | 318 | <div class="row"> |
| 324 | <div class="col-md-7 col-12 mt-2"> | 319 | <div class="col-md-7 col-12 mt-2"> |
| 325 | <label>Responsabilidad ante el IVA</label> | 320 | <label>Responsabilidad ante el IVA</label> |
| 326 | <div class="input-group"> | 321 | <div class="input-group"> |
| 327 | <input | 322 | <input |
| 328 | type="text" | 323 | type="text" |
| 329 | class="form-control form-control-sm" | 324 | class="form-control form-control-sm" |
| 330 | placeholder="Seleccione responsabilidad ante el IVA" | 325 | placeholder="Seleccione responsabilidad ante el IVA" |
| 331 | ng-model="cliente.iva.NOMBRE" | 326 | ng-model="cliente.iva.NOMBRE" |
| 332 | ng-keypress="seleccionarIva($event.keyCode)" | 327 | ng-keypress="seleccionarIva($event.keyCode)" |
| 333 | ng-required="true" | 328 | ng-required="true" |
| 334 | ng-focus="focus(12)" | 329 | ng-focus="focus(12)" |
| 335 | foca-focus="focused == 12" | 330 | foca-focus="focused == 12" |
| 336 | teclado-virtual | 331 | teclado-virtual> |
| 337 | /> | ||
| 338 | <button | 332 | <button |
| 339 | ng-show="cliente.iva.NOMBRE !== ''" | 333 | ng-show="cliente.iva.NOMBRE !== ''" |
| 340 | type="button" | 334 | type="button" |
| 341 | class="clear-input" | 335 | class="clear-input" |
| 342 | ng-click="cliente.iva.NOMBRE = ''" | 336 | ng-click="cliente.iva.NOMBRE = ''"> |
| 343 | ><i class="fa fa-times"></i> | 337 | <i class="fa fa-times"></i> |
| 344 | </button> | 338 | </button> |
| 345 | <div class="input-group-append"> | 339 | <div class="input-group-append"> |
| 346 | <button | 340 | <button |
| 347 | ladda="searchLoading" | 341 | ladda="searchLoading" |
| 348 | class="btn btn-outline-secondary" | 342 | class="btn btn-outline-secondary" |
| 349 | type="button" | 343 | type="button" |
| 350 | ng-click="seleccionarIva(13)" | 344 | ng-click="seleccionarIva(13)"> |
| 351 | ><i class="fa fa-search" aria-hidden="true"></i> | 345 | <i class="fa fa-search" aria-hidden="true"></i> |
| 352 | </button> | 346 | </button> |
| 353 | </div> | 347 | </div> |
| 354 | </div> | 348 | </div> |
| 355 | </div> | 349 | </div> |
| 356 | <div class="col-md-5 col-12 mt-2"> | 350 | <div class="col-md-5 col-12 mt-2"> |
| 357 | <label>Factura que emite</label> | 351 | <label>Factura que emite</label> |
| 358 | <div class="input-group"> | 352 | <div class="input-group"> |
| 359 | <input | 353 | <input |
| 360 | type="text" | 354 | type="text" |
| 361 | class="form-control form-control-sm" | 355 | class="form-control form-control-sm" |
| 362 | placeholder="Seleccione factura que emite" | 356 | placeholder="Seleccione factura que emite" |
| 363 | ng-model="cliente.tipoFactura.NOMBRE" | 357 | ng-model="cliente.tipoFactura.NOMBRE" |
| 364 | ng-required="true" | 358 | ng-required="true" |
| 365 | ng-keypress="seleccionarTipoFactura(13)" | 359 | ng-keypress="seleccionarTipoFactura(13)" |
| 366 | ng-focus="focus(13)" | 360 | ng-focus="focus(13)" |
| 367 | foca-focus="focused == 13" | 361 | foca-focus="focused == 13" |
| 368 | teclado-virtual> | 362 | teclado-virtual> |
| 369 | <button | 363 | <button |
| 370 | ng-show="cliente.tipoFactura.NOMBRE !== ''" | 364 | ng-show="cliente.tipoFactura.NOMBRE !== ''" |
| 371 | type="button" | 365 | type="button" |
| 372 | class="clear-input" | 366 | class="clear-input" |
| 373 | ng-click="cliente.tipoFactura.NOMBRE = ''" | 367 | ng-click="cliente.tipoFactura.NOMBRE = ''"> |
| 374 | ><i class="fa fa-times"></i> | 368 | <i class="fa fa-times"></i> |
| 375 | </button> | 369 | </button> |
| 376 | <div class="input-group-append"> | 370 | <div class="input-group-append"> |
| 377 | <button | 371 | <button |
| 378 | ladda="searchLoading" | 372 | ladda="searchLoading" |
| 379 | class="btn btn-outline-secondary" | 373 | class="btn btn-outline-secondary" |
| 380 | type="button" | 374 | type="button" |
| 381 | ng-click="seleccionarTipoFactura(13)" | 375 | ng-click="seleccionarTipoFactura(13)"> |
| 382 | ><i class="fa fa-search" aria-hidden="true"></i> | 376 | <i class="fa fa-search" aria-hidden="true"></i> |
| 383 | </button> | 377 | </button> |
| 384 | </div> | 378 | </div> |
| 385 | </div> | 379 | </div> |
| 386 | </div> | 380 | </div> |
| 387 | </div> | 381 | </div> |
| 388 | <div class="row"> | 382 | <div class="row"> |
| 389 | <div class= "col-md-4 col-12 mt-2"> | 383 | <div class= "col-md-4 col-12 mt-2"> |
| 390 | <label>CUIT</label> | 384 | <label>CUIT</label> |
| 391 | <div class="d-flex"> | 385 | <div class="d-flex"> |
| 392 | <input | 386 | <input |
| 393 | type="text" | 387 | type="text" |
| 394 | class="text-center form-control form-control-sm col-2" | 388 | class="text-center form-control form-control-sm col-2" |
| 395 | limite-numeros-max="2" | 389 | limite-numeros-max="2" |
| 396 | ng-model="cliente.cuit1" | 390 | ng-model="cliente.cuit1" |
| 397 | ng-required="true" | 391 | ng-required="true" |
| 398 | ng-keypress="pasarCampoCuit(1)" | 392 | ng-keypress="pasarCampoCuit(1)" |
| 399 | ng-focus="focus(14)" | 393 | ng-focus="focus(14)" |
| 400 | foca-focus="focused == 14" | 394 | foca-focus="focused == 14" |
| 401 | teclado-virtual | 395 | teclado-virtual |
| 402 | foca-tipo-input | 396 | foca-tipo-input> |
| 403 | > | ||
| 404 | <span class="m-1"> - </span> | 397 | <span class="m-1"> - </span> |
| 405 | <input | 398 | <input |
| 406 | type="text" | 399 | type="text" |
| 407 | class="text-center form-control form-control-sm col-5" | 400 | class="text-center form-control form-control-sm col-5" |
| 408 | maxlength="8" | 401 | maxlength="8" |
| 409 | limite-numeros-max="8" | 402 | limite-numeros-max="8" |
| 410 | ng-keypress="pasarCampoCuit(2)" | 403 | ng-keypress="pasarCampoCuit(2)" |
| 411 | ng-model="cliente.cuit2" | 404 | ng-model="cliente.cuit2" |
| 412 | ng-required="true" | 405 | ng-required="true" |
| 413 | ng-focus="focus(15)" | 406 | ng-focus="focus(15)" |
| 414 | foca-focus="cuitActivo == 2 || focused == 15" | 407 | foca-focus="cuitActivo == 2 || focused == 15" |
| 415 | teclado-virtual | 408 | teclado-virtual |
| 416 | foca-tipo-input | 409 | foca-tipo-input> |
| 417 | > | ||
| 418 | <span class="m-1"> - </span> | 410 | <span class="m-1"> - </span> |
| 419 | <input | 411 | <input |
| 420 | type="text" | 412 | type="text" |
| 421 | class="text-center form-control form-control-sm col-2" | 413 | class="text-center form-control form-control-sm col-2" |
| 422 | maxlength="1" | 414 | maxlength="1" |
| 423 | limite-numeros-max="1" | 415 | limite-numeros-max="1" |
| 424 | ng-keypress="pasarCampoCuit(3)" | 416 | ng-keypress="pasarCampoCuit(3)" |
| 425 | ng-model="cliente.cuit3" | 417 | ng-model="cliente.cuit3" |
| 426 | ng-required="true" | 418 | ng-required="true" |
| 427 | ng-focus="focus(16)" | 419 | ng-focus="focus(16)" |
| 428 | foca-focus="cuitActivo == 3 || focused == 16" | 420 | foca-focus="cuitActivo == 3 || focused == 16" |
| 429 | teclado-virtual | 421 | teclado-virtual |
| 430 | foca-tipo-input | 422 | foca-tipo-input> |
| 431 | > | ||
| 432 | </div> | 423 | </div> |
| 433 | </div> | 424 | </div> |
| 434 | <div class="col-md-4 col-12 mt-2"> | 425 | <div class="col-md-4 col-12 mt-2"> |
| 435 | <label>Clase de comprobante</label> | 426 | <label>Clase de comprobante</label> |
| 436 | <div class="input-group"> | 427 | <div class="input-group"> |
| 437 | <input | 428 | <input |
| 438 | type="text" | 429 | type="text" |
| 439 | class="form-control form-control-sm" | 430 | class="form-control form-control-sm" |
| 440 | placeholder="Seleccione clase de comprobante" | 431 | placeholder="Seleccione clase de comprobante" |
| 441 | ng-keypress="seleccionarTipoComprobante($event.keyCode)" | 432 | ng-keypress="seleccionarTipoComprobante($event.keyCode)" |
| 442 | ng-model="cliente.tipoComprobante.NOMBRE" | 433 | ng-model="cliente.tipoComprobante.NOMBRE" |
| 443 | ng-required="true" | 434 | ng-required="true" |
| 444 | ng-focus="focus(17)" | 435 | ng-focus="focus(17)" |
| 445 | foca-focus="focused == 17" | 436 | foca-focus="focused == 17" |
| 446 | teclado-virtual> | 437 | teclado-virtual> |
| 447 | <button | 438 | <button |
| 448 | ng-show="cliente.tipoComprobante.NOMBRE !== ''" | 439 | ng-show="cliente.tipoComprobante.NOMBRE !== ''" |
| 449 | type="button" | 440 | type="button" |
| 450 | class="clear-input" | 441 | class="clear-input" |
| 451 | ng-click="cliente.tipoComprobante.NOMBRE = ''" | 442 | ng-click="cliente.tipoComprobante.NOMBRE = ''"> |
| 452 | ><i class="fa fa-times"></i> | 443 | <i class="fa fa-times"></i> |
| 453 | </button> | 444 | </button> |
| 454 | <div class="input-group-append"> | 445 | <div class="input-group-append"> |
| 455 | <button | 446 | <button |
| 456 | ladda="searchLoading" | 447 | ladda="searchLoading" |
| 457 | class="btn btn-outline-secondary" | 448 | class="btn btn-outline-secondary" |
| 458 | type="button" | 449 | type="button" |
| 459 | ng-click="seleccionarTipoComprobante(13)" | 450 | ng-click="seleccionarTipoComprobante(13)"> |
| 460 | ><i class="fa fa-search" aria-hidden="true"></i> | 451 | <i class="fa fa-search" aria-hidden="true"></i> |
| 461 | </button> | 452 | </button> |
| 462 | </div> | 453 | </div> |
| 463 | </div> | 454 | </div> |
| 464 | </div> | 455 | </div> |
| 465 | <div class="col-md-4 col-12 mt-2"> | 456 | <div class="col-md-4 col-12 mt-2"> |
| 466 | <label>Forma de pago</label> | 457 | <label>Forma de pago</label> |
| 467 | <div class="input-group"> | 458 | <div class="input-group"> |
| 468 | <input | 459 | <input |
| 469 | type="text" | 460 | type="text" |
| 470 | class="form-control form-control-sm" | 461 | class="form-control form-control-sm" |
| 471 | placeholder="Seleccione forma de pago" | 462 | placeholder="Seleccione forma de pago" |
| 472 | ng-model="cliente.formaPago.NOMBRE" | 463 | ng-model="cliente.formaPago.NOMBRE" |
| 473 | ng-required="true" | 464 | ng-required="true" |
| 474 | ng-keypress="seleccionarFormaPago($event.keyCode)" | 465 | ng-keypress="seleccionarFormaPago($event.keyCode)" |
| 475 | ng-focus="focus(18)" | 466 | ng-focus="focus(18)" |
| 476 | foca-focus="focused == 18" | 467 | foca-focus="focused == 18" |
| 477 | teclado-virtual> | 468 | teclado-virtual> |
| 478 | <button | 469 | <button |
| 479 | ng-show="cliente.formaPago.NOMBRE !== ''" | 470 | ng-show="cliente.formaPago.NOMBRE !== ''" |
| 480 | type="button" | 471 | type="button" |
| 481 | class="clear-input" | 472 | class="clear-input" |
| 482 | ng-click="cliente.formaPago.NOMBRE = ''" | 473 | ng-click="cliente.formaPago.NOMBRE = ''"> |
| 483 | ><i class="fa fa-times"></i> | 474 | <i class="fa fa-times"></i> |
| 484 | </button> | 475 | </button> |
| 485 | <div class="input-group-append"> | 476 | <div class="input-group-append"> |
| 486 | <button | 477 | <button |
| 487 | ladda="searchLoading" | 478 | ladda="searchLoading" |
| 488 | class="btn btn-outline-secondary" | 479 | class="btn btn-outline-secondary" |
| 489 | type="button" | 480 | type="button" |
| 490 | ng-click="seleccionarFormaPago(13)" | 481 | ng-click="seleccionarFormaPago(13)"> |
| 491 | ><i class="fa fa-search" aria-hidden="true"></i> | 482 | <i class="fa fa-search" aria-hidden="true"></i> |
| 492 | </button> | 483 | </button> |
| 493 | </div> | 484 | </div> |
| 494 | </div> | 485 | </div> |
| 495 | </div> | 486 | </div> |
| 496 | </div> | 487 | </div> |
| 497 | </uib-tab> | 488 | </uib-tab> |
| 498 | </uib-tabset> | 489 | </uib-tabset> |
| 499 | </fieldset> | 490 | </fieldset> |
| 500 | </form> | 491 | </form> |
| 501 | </div> | 492 | </div> |
| 502 | <div class="modal-footer py-1"> | 493 | <div class="modal-footer py-1"> |
| 503 | <button | 494 | <button |
| 504 | class="btn btn-sm btn-secondary" | 495 | class="btn btn-sm btn-secondary" |
| 505 | type="button" | 496 | type="button" |
| 506 | data-dismiss="modal" | 497 | data-dismiss="modal" |
| 507 | ng-click="cancel()">Cancelar | 498 | ng-click="cancel()"> |
| 499 | Cancelar | ||
| 508 | </button> | 500 | </button> |
| 509 | <button | 501 | <button |
| 510 | class="btn btn-sm btn-primary" | 502 | class="btn btn-sm btn-primary" |
| 511 | type="button" | 503 | type="button" |