Skip to content

Commit

Permalink
mini bug transacciones√
Browse files Browse the repository at this point in the history
  • Loading branch information
JPchipres committed Nov 28, 2022
1 parent 2a34bbb commit e819d62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/js/functions-cliente.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ if(tabla_transacciones){
.then((res) => res.json())
.then(response => {
console.log(response);
if(response === 'null'){

}else{
let html = '';
for (let i in response) {
html += `<tr>
Expand All @@ -116,6 +119,7 @@ if(tabla_transacciones){
$('#buscador').on( 'keyup', function () {
table.search( this.value ).draw();
});
}
}).catch(error => console.log(error));
}
}
Expand Down

0 comments on commit e819d62

Please sign in to comment.