diff --git a/.DS_Store b/.DS_Store index 26d1bba..28691c5 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/public/.DS_Store b/public/.DS_Store index e84689e..8015188 100644 Binary files a/public/.DS_Store and b/public/.DS_Store differ diff --git a/public/js/page/dashboard.js b/public/js/page/dashboard.js index 7c26e42..cf4fdec 100644 --- a/public/js/page/dashboard.js +++ b/public/js/page/dashboard.js @@ -902,7 +902,8 @@ $('#modal-form').on('shown.bs.modal', async function() { const file = event.target.files[0]; const data = await file.arrayBuffer(); const workbook = XLSX.read(data); - const aoa = XLSX.utils.sheet_to_json(workbook.Sheets[workbook.SheetNames[0]], { header: 0 }); + var aoa = XLSX.utils.sheet_to_json(workbook.Sheets[workbook.SheetNames[0]], { header: 0 }); + aoa = aoa.filter((i)=>i["Status"]=='Hadir'); const container = document.getElementById('participantCounter'); container.innerHTML = `${aoa.length} Participant(s)`; $("input[name='ParticipantList']").val(JSON.stringify(aoa)); diff --git a/public/template/Absensi_Sharing_Template.xlsx b/public/template/Absensi_Sharing_Template.xlsx index dc955aa..1df2617 100644 Binary files a/public/template/Absensi_Sharing_Template.xlsx and b/public/template/Absensi_Sharing_Template.xlsx differ diff --git a/views/.DS_Store b/views/.DS_Store index b8a610f..992fae5 100644 Binary files a/views/.DS_Store and b/views/.DS_Store differ