From 9ddf8ed5bd9a315a7f261e28f53697132b975d96 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 07:22:28 +0000 Subject: [PATCH 1/5] Initial plan From 14d25564e0dbab1bfc1f320f8fcb2cc915ee606d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 07:37:07 +0000 Subject: [PATCH 2/5] Add /contractors revenue dashboard to cleantruckcheckstockton worker Agent-Logs-Url: https://github.com/BelichickGillisMusk/github/sessions/55e9aa18-923e-455b-9d01-a759f4ae054b Co-authored-by: fsu9913-gif <261542133+fsu9913-gif@users.noreply.github.com> --- workers/cleantruckcheckstockton/worker.js | 372 ++++++++++++++++++++++ 1 file changed, 372 insertions(+) diff --git a/workers/cleantruckcheckstockton/worker.js b/workers/cleantruckcheckstockton/worker.js index 942b746..7a7c808 100644 --- a/workers/cleantruckcheckstockton/worker.js +++ b/workers/cleantruckcheckstockton/worker.js @@ -1,6 +1,378 @@ // worker.js - Clean Truck Check Stockton +// +// Routes: +// GET / -> marketing homepage +// GET /contractors -> contractor revenue dashboard +// * -> homepage (fallthrough) + +function renderContractorsPage() { + return ` + +
+ + +| # | Company | Service Type | Vehicles Tested | +Last Test | Total Revenue | YTD Tests | Status | Actions | +
|---|
| # | Company | Service Type | Vehicles Tested | -Last Test | Total Revenue | YTD Tests | Status | Actions | -
|---|
| {h} | + ))} +|||||||
|---|---|---|---|---|---|---|---|
| {c.id} | +
+ {c.company}
+ {c.city}, CA
+ |
+ + {c.type} + | +{c.vehicles} | +{c.lastTest.replace(/-/g, '/')} | +${c.revenue.toLocaleString()} | +{c.ytd} | ++ + {c.status} + + | +