From bced3115083ebd09937d370136a5074e36d38b94 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Mon, 20 Oct 2025 13:38:47 -0600 Subject: [PATCH] started thinking about the gate report pdf generator --- src/providers/pond/gateAPI.tsx | 1 + src/reports/MiPCA/GateReports.tsx | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/reports/MiPCA/GateReports.tsx diff --git a/src/providers/pond/gateAPI.tsx b/src/providers/pond/gateAPI.tsx index 5b07606..6f540dc 100644 --- a/src/providers/pond/gateAPI.tsx +++ b/src/providers/pond/gateAPI.tsx @@ -80,6 +80,7 @@ export interface IGateInterface { end: string, otherTeam?: string ) => Promise>; + //new call for getting report data for gates } export const GateAPIcontext = createContext({} as IGateInterface); diff --git a/src/reports/MiPCA/GateReports.tsx b/src/reports/MiPCA/GateReports.tsx new file mode 100644 index 0000000..8fa7f51 --- /dev/null +++ b/src/reports/MiPCA/GateReports.tsx @@ -0,0 +1,18 @@ +import React from "react" + +export default function GateReports(){ + + //load all of the gates for the user/team + + //selection table to select which gates to generate a report + + /** + * new api call for gates that takes in an array of gate keys to build the report data for + * this call will return an array/map of the gate report data + * in the return loop through the data building a pdf report for each one + */ + + return ( + + ) +} \ No newline at end of file