diff --git a/app/functions.js b/app/functions.js index c4025bd..4710284 100644 --- a/app/functions.js +++ b/app/functions.js @@ -17,25 +17,25 @@ var el = [], list = '', user2 = 'Joyce'; // timers / decisions -var wkEffDt = new Date('2018-10-12'), - mnEffDt = new Date('2018-09-28'), +var wkEffDt = new Date('2018-10-20'), + mnEffDt = new Date('2018-10-31'), today = new Date(), - weeklyTopKey = (today >= wkEffDt) ? '1gV1QNaRESX95EnLXonsAMTa3eY_l_q7nPMYPnj-AGQ0' : '#', + weeklyTopKey = (today >= wkEffDt) ? '11x3ZRsTrQiKHeZkOUDqZ9kWVNO6OuzhyJWUm-S45Atg' : '#', mI = (today >= mnEffDt) ? 1 : 0; // weekly URLS var weeklyUrls = { top: { - header: 'Oct 14 — Oct 20', + header: 'Oct 21 — Oct 27', key: weeklyTopKey, collectorId: '914973738', linkId: '978213208' }, bottom: { - header: 'Oct 7 — Oct 13', - key: '1bWEbPgE2Zs8u4sZ5ys5qlFcXRj2oWMYce9c4WL0wP3w', + header: 'Oct 14 — Oct 20', + key: '1gV1QNaRESX95EnLXonsAMTa3eY_l_q7nPMYPnj-AGQ0', collectorId: '914973738', linkId: '978213208' }, @@ -82,6 +82,11 @@ var historyList = [ key: '#', id: '1250765514' }, + { + header: 'Oct 7 — Oct 13', + key: '1bWEbPgE2Zs8u4sZ5ys5qlFcXRj2oWMYce9c4WL0wP3w', + id: '1250765514' + }, { header: 'Sep 30 — Oct 6', key: '1Pufb8yCXh0CNG5Kizm-jfyD2BV1dQyXlgQUXYP8ZrZM', @@ -161,24 +166,24 @@ var monthlyUrls = { title: 'Carolina Logistic, Inc', name: 'CAROLINA LOGISTIC  708305151783320', month1_cards: { - user0: [0, '686342087'], - user1: [0, '1995296890'], - user2: [0, '2117669368'], - month_key: ['Sep', '1QCWWVbPVr6UbN6rGbJ85zVP-k3o_vFcrmmnD4InF1jA'] + user0: [1, '686342087'], + user1: [1, '1995296890'], + user2: [1, '2117669368'], + month_key: ['Oct', '1iGfQHOCjvbpy-oY6LDaKmbzh8yLIw6ECGF-KTKHDbbM'] }, month2_cards: { user0: [mI, '686342087'], user1: [mI, '1995296890'], user2: [mI, '2117669368'], - month_key: ['Oct', '1iGfQHOCjvbpy-oY6LDaKmbzh8yLIw6ECGF-KTKHDbbM'] + month_key: ['Nov', '1_2O8iuEPL09N5B5sLeWjbVL1KU23gzlbSGIR6ZmwOLw'] }, month1_codes: { - user0: [0, '1165085359', '1782605551'], - month_key: ['Sep', '1VRiexm8ouME8GutSM9Xck0AYiedbwGVWsF4CkXaJIT4'] + user0: [1, '1165085359', '1782605551'], + month_key: ['Oct', '1DgqMnLzN6I85wUdkM8YKSbTk5Mp9kJdGb-rLZWHsfXY'] }, month2_codes: { user0: [mI, '1165085359', '1782605551'], - month_key: ['Oct', '1DgqMnLzN6I85wUdkM8YKSbTk5Mp9kJdGb-rLZWHsfXY'] + month_key: ['Nov', '17i83HKnlJ5tH-M-nD7mCD8s5Wd3kdqfQSN9VibPVWHQ'] } }, CT: @@ -186,24 +191,24 @@ var monthlyUrls = { title: 'Carolina Transportation, Inc', name: 'CAROLINA TRANSPORTATION  70830515178290', month1_cards: { - user0: [0, '686342087'], - user1: [0, '1995296890'], - user2: [0, '2117669368'], - month_key: ['Sep', '1JrOiQbsnkiXY97YCCrJ0i_EGPGtQmE31-Jqf5xUnAS0'] + user0: [1, '686342087'], + user1: [1, '1995296890'], + user2: [1, '2117669368'], + month_key: ['Oct', '1n9RDORRFa7HgjHqKE_ELi-vKA75IVzMNpOYYsuWkxJQ'] }, month2_cards: { user0: [mI, '686342087'], user1: [mI, '1995296890'], user2: [mI, '2117669368'], - month_key: ['Oct', '1n9RDORRFa7HgjHqKE_ELi-vKA75IVzMNpOYYsuWkxJQ'] + month_key: ['Nov', '1LtSWqxJ2KGlpLqa1FGj7OTaPbmvqPxNVL8QjCk5kkRo'] }, month1_codes: { - user0: [0, '1165085359', '1782605551'], - month_key: ['Sep', '1wJiBqNlMp64yuUbZtGGLfN4VrV6eSPoCf-LoBXeu8_k'] + user0: [1, '1165085359', '1782605551'], + month_key: ['Oct', '1axHhWC77PrYxQgBYwLO5BtfyTfI_LiPdYNMoku-JJ70'] }, month2_codes: { user0: [mI, '1165085359', '1782605551'], - month_key: ['Oct', '1axHhWC77PrYxQgBYwLO5BtfyTfI_LiPdYNMoku-JJ70'] + month_key: ['Nov', '1kYpzrEfG5Ga7apDG313Rb3OH9l4l1C0gVB2hE2ue2h4'] } }, DE: @@ -211,16 +216,16 @@ var monthlyUrls = { title: 'Delta Express, Inc', name: 'DELTA EXPRESS  70830515177576', month1_cards: { - user0: [0, '686342087'], - user1: [0, '1995296890'], - user2: [0, '2117669368'], - month_key: ['Sep', '1AFbcZiIZRpdK8VdxnMe9K-mdFyRyoerE-CTT6vdjty0'] + user0: [1, '686342087'], + user1: [1, '1995296890'], + user2: [1, '2117669368'], + month_key: ['Oct', '1mxNC1B3zz1MwwKthZUJyw_7ANA8j9Exoddv-wSqFt_o'] }, month2_cards: { user0: [mI, '686342087'], user1: [mI, '1995296890'], user2: [mI, '2117669368'], - month_key: ['Oct', '1mxNC1B3zz1MwwKthZUJyw_7ANA8j9Exoddv-wSqFt_o'] + month_key: ['Nov', '1wKfkvH-Con2Y9J8zE14rlHhZ4d0MHYjvbMeSCoKxadM'] }, month1_codes: { user0: [0, '1165085359', '1782605551'],