diff --git a/app/functions.js b/app/functions.js index ca335de..bc943c6 100644 --- a/app/functions.js +++ b/app/functions.js @@ -314,11 +314,13 @@ var monthlyUrls = { }; // reporting drivers -var repId = '466754331', - month = 'Jan'; +var repIds = ['20281730721', '1997412175'], + months = ['Jan', 'Feb'], + i = 0; +if (today > mnEffDt) i = 1; var el_rd = '' + - 'Reporting Drivers ' + month + ''; + 'href="https://docs.google.com/spreadsheets/d/1b2g3BARa4ibqdqtTj5_IQoBSI8hp6A4R5A3bSbrfA58/edit#gid=' + repIds[i] + '">' + + 'Reporting Drivers ' + months[i] + ''; document.getElementById('repD').innerHTML = el_rd; // element list by IDs