Commit 1e04eff2 by Juan

Antes de trabajar

1 parent ccd5b86e
...@@ -33,8 +33,8 @@ document.getElementById('boton_pdf_maha_reporte').addEventListener('click', func ...@@ -33,8 +33,8 @@ document.getElementById('boton_pdf_maha_reporte').addEventListener('click', func
}) })
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
console.log(data); //console.log(data);
//var pdfUrl = data.full_url; var pdfUrl = data.full_url;
window.open(pdfUrl); window.open(pdfUrl);
}) })
.catch(error => { .catch(error => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!