started thinking about the gate report pdf generator
This commit is contained in:
parent
7b78d7ba91
commit
bced311508
2 changed files with 19 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ export interface IGateInterface {
|
||||||
end: string,
|
end: string,
|
||||||
otherTeam?: string
|
otherTeam?: string
|
||||||
) => Promise<AxiosResponse<pond.ListGateMeasurementsResponse>>;
|
) => Promise<AxiosResponse<pond.ListGateMeasurementsResponse>>;
|
||||||
|
//new call for getting report data for gates
|
||||||
}
|
}
|
||||||
|
|
||||||
export const GateAPIcontext = createContext<IGateInterface>({} as IGateInterface);
|
export const GateAPIcontext = createContext<IGateInterface>({} as IGateInterface);
|
||||||
|
|
|
||||||
18
src/reports/MiPCA/GateReports.tsx
Normal file
18
src/reports/MiPCA/GateReports.tsx
Normal file
|
|
@ -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 (
|
||||||
|
<React.Fragment></React.Fragment>
|
||||||
|
)
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue