added the cable estimator and the pdf stuff that goes with it
This commit is contained in:
parent
9074120f74
commit
e039a75bf8
26 changed files with 3157 additions and 24 deletions
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue