| @@ -165,7 +165,7 @@ const FinancialSummaryPage: React.FC<Props> = ({ | |||||
| <CardContent component={Stack} spacing={4}> | <CardContent component={Stack} spacing={4}> | ||||
| <div className="ml-10 mr-10" style={{ display: 'flex', flexWrap: 'wrap', justifyContent: 'start'}}> | <div className="ml-10 mr-10" style={{ display: 'flex', flexWrap: 'wrap', justifyContent: 'start'}}> | ||||
| {allTeam && | {allTeam && | ||||
| <div className="hover:cursor-pointer ml-4 mt-5 mb-4 inline-block" key={0} onClick={() => handleCardClick(0)}> | |||||
| <div className="hover:cursor-pointer ml-4 inline-block" key={0} onClick={() => handleCardClick(0)}> | |||||
| <ProjectFinancialCard | <ProjectFinancialCard | ||||
| Title={t("All Team")} | Title={t("All Team")} | ||||
| TeamId={0} | TeamId={0} | ||||
| @@ -185,7 +185,7 @@ const FinancialSummaryPage: React.FC<Props> = ({ | |||||
| Index={0}/> | Index={0}/> | ||||
| </div>} | </div>} | ||||
| {byTeam.length > 0 && byTeam.map((record) => ( | {byTeam.length > 0 && byTeam.map((record) => ( | ||||
| <div className="hover:cursor-pointer ml-4 mt-5 mb-4 inline-block" key={record.id} onClick={() => handleCardClick(record.id)}> | |||||
| <div className="hover:cursor-pointer ml-4 inline-block" key={record.id} onClick={() => handleCardClick(record.id)}> | |||||
| <ProjectFinancialCard | <ProjectFinancialCard | ||||
| Title={record.team} | Title={record.team} | ||||
| TeamId={record.id} | TeamId={record.id} | ||||
| @@ -207,11 +207,11 @@ const FinancialSummaryPage: React.FC<Props> = ({ | |||||
| ))} | ))} | ||||
| </div> | </div> | ||||
| </CardContent> | </CardContent> | ||||
| </Card> | |||||
| <FinancialStatusByProject | <FinancialStatusByProject | ||||
| financialSummByProject={byProject} | financialSummByProject={byProject} | ||||
| financialSummByClient={byClient} | financialSummByClient={byClient} | ||||
| /> | /> | ||||
| </Card> | |||||
| </> | </> | ||||
| ) | ) | ||||
| } | } | ||||