@@ -34,6 +34,7 @@ import { useGetMaterialsForWbsElement } from '../../../hooks/bom.hooks';
3434import ChangeRequestTab from '../../../components/ChangeRequestTab' ;
3535import PartsReviewPage from './PartReview/PartsReviewPage' ;
3636import ActionsMenu from '../../../components/ActionsMenu' ;
37+ import ProjectSpendingHistory from '../../ProjectPage/ProjectSpendingHistory' ;
3738
3839interface ProjectViewContainerProps {
3940 project : Project ;
@@ -179,7 +180,8 @@ const ProjectViewContainer: React.FC<ProjectViewContainerProps> = ({ project, en
179180 { tabUrlValue : 'changes' , tabName : 'Changes' } ,
180181 { tabUrlValue : 'gantt' , tabName : 'Gantt' } ,
181182 { tabUrlValue : 'change-requests' , tabName : 'Change Requests' } ,
182- { tabUrlValue : 'parts-review' , tabName : 'Parts Review' }
183+ { tabUrlValue : 'parts-review' , tabName : 'Parts Review' } ,
184+ { tabUrlValue : 'spending' , tabName : 'Spending History' }
183185 ] }
184186 baseUrl = { `${ routes . PROJECTS } /${ wbsNum } ` }
185187 defaultTab = "overview"
@@ -202,8 +204,10 @@ const ProjectViewContainer: React.FC<ProjectViewContainerProps> = ({ project, en
202204 < ProjectGantt workPackages = { project . workPackages } />
203205 ) : tab === 6 ? (
204206 < ChangeRequestTab wbsElement = { project } />
205- ) : (
207+ ) : tab === 7 ? (
206208 < PartsReviewPage project = { project } />
209+ ) : (
210+ < ProjectSpendingHistory wbsNum = { project . wbsNum } />
207211 ) }
208212 { deleteModalShow && (
209213 < DeleteProject modalShow = { deleteModalShow } handleClose = { handleDeleteClose } wbsNum = { project . wbsNum } />
0 commit comments