From b0d41f526f2c2e90485a6e9d36d06909886716a9 Mon Sep 17 00:00:00 2001 From: vkservicesllc <35149642+vkservicesllc@users.noreply.github.com> Date: Wed, 29 May 2019 08:41:40 -0400 Subject: [PATCH] update 1905290841 --- app/functions-owners.js | 53 +++++++++++++++++++++++++---------------- app/functions.js | 27 ++++++++++++--------- 2 files changed, 49 insertions(+), 31 deletions(-) diff --git a/app/functions-owners.js b/app/functions-owners.js index 8e10aa8..17d8227 100644 --- a/app/functions-owners.js +++ b/app/functions-owners.js @@ -1,42 +1,55 @@ -const periods = [/* 'Feb 2019', 'March 2019', */'April 2019', 'May 2019'], - effDt = new Date('2019-04-30'); +const periods = ['May 2019', 'June 2019'], + effDt = new Date('2019-05-31'); const urls = { + 'CAROLINA LOGISTICS, Inc': { id: '70830516181943', - period1: '#', - period2: 'https://docs.google.com/spreadsheets/d/1eOC7f-ALEn-eCHeQOzljTIWCyo14wYs8Yi2jck54g8c/edit#gid=1165085359', + period1: 'https://docs.google.com/spreadsheets/d/1eOC7f-ALEn-eCHeQOzljTIWCyo14wYs8Yi2jck54g8c/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1gqNfRc4hBw56rBdUB4r5h4qlGI9IsMaMUNgH7etshtg/edit#gid=1165085359', }, 'DELTA EXPRESS, Inc': { id: '70830515177576', - period1: 'https://docs.google.com/spreadsheets/d/1rJ0Jh62ypF-YuAJFjXPcaD-yZg90CsN2yHtCXSl9SPU/edit#gid=1165085359', - period2: 'https://docs.google.com/spreadsheets/d/11iGHHoD4O0iIuj7A81QSC11QeLdT9bpvzo9HYlwcULk/edit#gid=1165085359', + period1: 'https://docs.google.com/spreadsheets/d/11iGHHoD4O0iIuj7A81QSC11QeLdT9bpvzo9HYlwcULk/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1bQY3-NRQvNb2W9kafbWUvPQT3gf8r9vxX3pQnUhXhtE/edit#gid=1165085359', + }, + 'DELTA LOGISTICS, Inc': { + id: '70830517302592', + period1: 'https://docs.google.com/spreadsheets/d/1ofOIvCJIHIGO6plEsJZRrS4j2i1RX_odKNM82wqk15E/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/11rmcFKPupWLdAWyp37EfX1h4hrLsAYfvccc1Td37-50/edit#gid=1165085359', + }, + 'ONTRACK TRANSPORTATION, Inc': { + id: '70830517305886', + period1: 'https://docs.google.com/spreadsheets/d/1eAKLPA9e9wNgrOBob4ZQ-BO98a4sWsNkDDYPV2aneVA/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1Ee2hI9I9Tf_5HI9mlCspFePXols8ZPTGOHq5ZgSP5sw/edit#gid=1165085359', + }, + 'PRECISE TRANSPORTATION, Inc': { + id: '70830517302433', + period1: 'https://docs.google.com/spreadsheets/d/1bN-anabHpj8wU6h6FvErexG6BCiW-Mg_Cw5euaMuOag/edit#gid=1165085359', + period2: 'https://docs.google.com/spreadsheets/d/1RffsT0hXXmVUvBfWL1F6QH9FbZJ7r8LaJFN4idjHKG4/edit#gid=1165085359', + }, + + 'ALPHA EXPRESS, LLC': { + id: '', + period1: '-', + period2: '-', }, 'DELTA EXPRESS SERVICES, Inc': { id: '', period1: '-', period2: '-', }, - 'DELTA LOGISTICS, Inc': { - id: '70830517302592', - period1: '#', - period2: 'https://docs.google.com/spreadsheets/d/1ofOIvCJIHIGO6plEsJZRrS4j2i1RX_odKNM82wqk15E/edit#gid=1165085359', - }, - 'ONTRACK TRANSPORTATION, Inc': { - id: '70830517305886', - period1: 'https://docs.google.com/spreadsheets/d/1hplR0OBU_2ebxg4qjs5e8YOJLrpd2q3FUIilOWBu6Vw/edit#gid=1165085359', - period2: 'https://docs.google.com/spreadsheets/d/1eAKLPA9e9wNgrOBob4ZQ-BO98a4sWsNkDDYPV2aneVA/edit#gid=1165085359', - }, - 'PRECISE TRANSPORTATION, Inc': { - id: '70830517302433', - period1: '#', - period2: 'https://docs.google.com/spreadsheets/d/1bN-anabHpj8wU6h6FvErexG6BCiW-Mg_Cw5euaMuOag/edit#gid=1165085359', + 'HUGO HUNTER, INC': { + id: '', + period1: '-', + period2: '-', }, 'RAINIER TRANSPORTATION, Inc': { id: '', // '70830517307425', period1: '-', period2: '-', }, + }; const pad = 'style="padding: 12px 54px;"'; diff --git a/app/functions.js b/app/functions.js index b0228b1..787e683 100644 --- a/app/functions.js +++ b/app/functions.js @@ -17,26 +17,26 @@ var el = [], list = '', user2 = 'Joyce'; // timers / decisions -var wkEffDt = new Date('2019-05-25'), +var wkEffDt = new Date('2019-06-01'), mnEffDt = new Date('2019-05-31'), today = new Date(), weeklyTopKey = (today >= wkEffDt) ? - '1WhxJTEcPK7aUWN879p4gGWmoz24xYIWelzUADRA6d4I' : '#', + '1c688TBXUrz0jczGaDYuiMYvxh24SGntC8TuG-C20GRY' : '#', mI = (today >= mnEffDt) ? 1 : 0; // weekly URLs var weeklyUrls = { top: { - header: 'May 26 — Jun 1', + header: 'Jun 1 — Jun 8', key: weeklyTopKey, collectorId: '914973738', linkId: '978213208' }, bottom: { - header: 'May 19 — May 25', - key: '14kSCw2oOnGeHX3qnKhUCAI89yWrXX-MbG0kJhOAPrH0', + header: 'May 26 — Jun 1', + key: '1WhxJTEcPK7aUWN879p4gGWmoz24xYIWelzUADRA6d4I', collectorId: '914973738', linkId: '978213208' }, @@ -83,6 +83,11 @@ var historyList = [ key: '#', id: '1250765514' }, + { + header: 'May 19 — May 25', + key: '14kSCw2oOnGeHX3qnKhUCAI89yWrXX-MbG0kJhOAPrH0', + id: '1250765514' + }, { header: 'May 12 — May 18', key: '18OQhkkW4Q_NOZ10IRftdQkDpGJ5YjJwqflIjRU-C6k4', @@ -331,7 +336,7 @@ var monthlyUrls = { user0: [mI, '686342087'], user1: [mI, '1995296890'], user2: [mI, '2117669368'], - month_key: ['Jun', '/'] + month_key: ['Jun', '164DCAXGSIdkdtXxGqyAX8B_72Xx78kDXLthn1civHGM'] }, month1_codes: { user0: [1, '1165085359', '1782605551'], @@ -339,7 +344,7 @@ var monthlyUrls = { }, month2_codes: { user0: [mI, '1165085359', '1782605551'], - month_key: ['Jun', '/'] + month_key: ['Jun', '1SVl2fyv7z_a_ZTkUsv9T7mmbWh4QmsWxFU7_ZzdIFUs'] } }, CT: @@ -356,7 +361,7 @@ var monthlyUrls = { user0: [mI, '686342087'], user1: [mI, '1995296890'], user2: [mI, '2117669368'], - month_key: ['Jun', '-'] + month_key: ['Jun', '1_Frqv2mwBgIbrzG0yOZGQfgYkGQAK_0ZtSz4K0_tngw'] }, month1_codes: { user0: [1, '1165085359', '1782605551'], @@ -364,7 +369,7 @@ var monthlyUrls = { }, month2_codes: { user0: [mI, '1165085359', '1782605551'], - month_key: ['Jun', '1RL3dlFmMArHTbuygnLu-2jDAaIEzfUPdiPWU_r178xY'] + month_key: ['Jun', '1pJyZ0CaxsvsrgjWDoWG4PzbYlh5XzL8jq82C8fw0RB4'] } }, DE: @@ -381,7 +386,7 @@ var monthlyUrls = { user0: [mI, '686342087'], user1: [mI, '1995296890'], user2: [mI, '2117669368'], - month_key: ['Jun', '-'] + month_key: ['Jun', '1hxd0t6deruYmCrkgmglIoeF1FTaTcqoJaaLYUS5MMXo'] }, month1_codes: { user0: [0, '1165085359', '1782605551'], @@ -391,7 +396,7 @@ var monthlyUrls = { user0: [mI, '1165085359', '1782605551'], month_key: ['-', '#'] } - } + }, }; // reporting drivers