From a88553ade69db60d23e342b9abef2ed68b0df94b Mon Sep 17 00:00:00 2001 From: vkservicesllc <35149642+vkservicesllc@users.noreply.github.com> Date: Tue, 29 Jan 2019 09:59:51 -0500 Subject: [PATCH] update 1901290959 --- app/functions.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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