added the cable estimator and the pdf stuff that goes with it

This commit is contained in:
csawatzky 2025-04-09 14:49:04 -06:00
parent 9074120f74
commit e039a75bf8
26 changed files with 3157 additions and 24 deletions

View file

@ -40,6 +40,7 @@ import JobsiteIcon from "products/Construction/JobSiteIcon";
import { getThemeType } from "theme";
import ObjectHeaterIcon from "products/Construction/ObjectHeaterIcon";
import TasksIcon from "products/Construction/TasksIcon";
import CableIcon from "products/Bindapt/CableIcon";
const drawerWidth = 230;
@ -321,6 +322,20 @@ export default function SideNavigator(props: Props) {
{open && <ListItemText primary="Transactions" />}
</ListItemButton>
</Tooltip>
{(user.hasFeature("installer") && isAg || user.hasFeature("admin")) &&
<Tooltip title="Cable Estimator" placement="right">
<ListItemButton
id="tour-cable-estimator"
onClick={() => goTo("/cableEstimate")}
classes={getClasses("/cableEstimate")}
>
<ListItemIcon>
<CableIcon />
</ListItemIcon>
{open && <ListItemText primary="Cable Estimator" />}
</ListItemButton>
</Tooltip>
}
</List>
)
}