This file contains 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
$('#process').on('click', function(){ | |
var checkboxs_checked = []; | |
$("input:checkbox:checked").each(function() { | |
checkboxs_checked.push($(this).val()); | |
}); | |
console.log(checkboxs_checked); | |
if(checkboxs_checked.length == 0) | |
alert('Seleccione al menos una hora extra para procesar!'); |
This file contains 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 get_actual_date () { | |
var today = new Date(); | |
var dd = today.getDate(); | |
var mm = today.getMonth() + 1; | |
var yyyy = today.getFullYear(); | |
if(dd < 10) | |
dd = '0' + dd | |
if(mm < 10) |
This file contains 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 ajax_request(url, data, name) { | |
$.ajax({ | |
url: site_url + url, | |
type: 'POST', | |
data: {id: data}, | |
}) | |
.done(function(response) { | |
$('.modal-body').empty(); | |
$('.modal-title').empty(); | |
This file contains 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
<script type='text/javascript' src='script.js'></script> | |
<a id="test" href="">Test.xls</a> |
This file contains 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
a.export, a.export:visited { | |
text-decoration: none; | |
color:#000; | |
background-color:#ddd; | |
border: 1px solid #ccc; | |
padding:8px; | |
} |
This file contains 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
<?php | |
/** | |
* base include file for SimpleTest | |
* @package SimpleTest | |
* @subpackage UnitTester | |
* @version $Id: dumper.php 1909 2009-07-29 15:58:11Z dgheath $ | |
*/ | |
/** | |
* Parses the command line arguments. |
This file contains 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
jQuery.ajaxSetup({ | |
beforeSend: function() { | |
$('#loader').show(); | |
}, | |
complete: function(){ | |
$('#loader').hide(); | |
}, | |
success: function() {} | |
}); |
This file contains 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
<?php | |
if (! function_exists('fixture_executioner')) | |
{ | |
function fixture_executioner($fixture_path) | |
{ | |
$ci =& get_instance(); | |
$fixture_restore = $ci->load->file($fixture_path, true); | |
$fixture_array = explode(';', $fixture_restore); |
This file contains 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 myApp; | |
myApp = myApp || (function () { | |
var pleaseWaitDiv = $('<div class="modal" id="pleaseWaitDialog" data-backdrop="static" data-keyboard="false"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Procesando...</h4> </div> <div class="modal-body"> <div class="progress progress-striped active"> <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemax="100" style="width: 100%;"></div> </div> </div> </div> </div> </div>'); | |
return { | |
showPleaseWait: function() { | |
pleaseWaitDiv.modal(); | |
}, | |
hidePleaseWait: function () { | |
pleaseWaitDiv.modal('hide'); | |
}, |
This file contains 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
$.extend(true, $.fn.dataTable.defaults, { | |
"bDestroy": false, | |
"bStateSave": true, | |
"oLanguage": { | |
"sLengthMenu": "_MENU_ records per page", | |
"sProcessing": "Procesando...", | |
"sLengthMenu": "Mostrar _MENU_ registros", | |
"sZeroRecords": "No se encontraron resultados", | |
"sEmptyTable": "Ningún dato disponible en esta tabla", | |
"sInfo": "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros", |
OlderNewer