💰 AFFILIATE 🔐Login 📈 INVESTORS ⛓️ BLOCKCHAIN 🔐 ADMINS ⚙️ ADMIN
🔐Login

Affiliate Dashboard

Your Click Statistics

Loading...
function exportExcel(){ const token = localStorage.getItem("token"); fetch("/api/export", { headers: { "Authorization": "Bearer " + token } }) .then(response => response.blob()) .then(blob => { const url = window.URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = "affiliate-report.xlsx"; document.body.appendChild(a); a.click(); a.remove(); }) .catch(() => { alert("Erro ao exportar relatório"); }); }