This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| abc.forEach(function(e){ | |
| html += ` | |
| <span class="letra" data-letra="${e}"> | |
| ${e} | |
| </span> | |
| `; | |
| }); | |
| document.getElementById("letras_nombre").innerHTML = html; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var crear_tabla = function(){ | |
| var max_rows = 3; | |
| var max_cols = 7; | |
| var html = ''; | |
| for(var row = 0; row < max_rows; row++){ | |
| html += "<tr>"; | |
| for(var col = 0; col < max_cols; col++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function factor_pf(capital,interest, years){ | |
| return capital / (Math.pow(1+interest, years)) | |
| } | |
| function factor_pa(capital,interest, years){ | |
| var one_i = Math.pow(1+interest, years); | |
| return capital * ( ( one_i - 1 ) / (interest * one_i) ) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DROP TEMPORARY TABLE IF EXISTS tbl_ventas_ciudad_semestre; | |
| CREATE TEMPORARY TABLE tbl_ventas_ciudad_semestre | |
| /* Busca el empleado con mejor y peor ventas */ | |
| SELECT | |
| customer.salesRepEmployeeNumber, | |
| CONCAT(employee.firstName, " ", employee.lastName) as Nombre_Empleado, | |
| office.city, | |
| SUM(volumen_venta_por_cliente) as venta_por_empleado , | |
| employee.officeCode , | |
| orden_year, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _.chunk("0123456789012345678901".split(''), 2).map( o => {return o.join('')}).join('-') |
OlderNewer