Browse Source

update dashboard

tags/Baseline_30082024_FRONTEND_UAT
MSI\User 1 year ago
parent
commit
4e32b67dc1
2 changed files with 6 additions and 6 deletions
  1. +5
    -5
      src/components/ProgressByClientSearch/ProgressByClientSearch.tsx
  2. +1
    -1
      src/components/ProjectFinancialSummary/ProjectFinancialSummary.tsx

+ 5
- 5
src/components/ProgressByClientSearch/ProgressByClientSearch.tsx View File

@@ -29,11 +29,11 @@ const ProgressByClientSearch: React.FC<Props> = ({ projects }) => {


const columns = useMemo<Column<ClientProjectResult>[]>( const columns = useMemo<Column<ClientProjectResult>[]>(
() => [ () => [
{ name: "clientCode", label: t("Project Code") },
{ name: "clientName", label: t("Project Name") },
{ name: "SubsidiaryClientCode", label: t("Project Category") },
{ name: "SubsidiaryClientName", label: t("Team") },
{ name: "NoOfProjects", label: t("Client") },
{ name: "clientCode", label: t("Client Code") },
{ name: "clientName", label: t("Client Name") },
{ name: "SubsidiaryClientCode", label: t("Subsidiary Code") },
{ name: "SubsidiaryClientName", label: t("Subisdiary") },
{ name: "NoOfProjects", label: t("No. of Projects") },
], ],
[t], [t],
); );


+ 1
- 1
src/components/ProjectFinancialSummary/ProjectFinancialSummary.tsx View File

@@ -446,7 +446,7 @@ const columns2 = [
</div> </div>
</Card> </Card>
<Card className="mt-5"> <Card className="mt-5">
<CardHeader className="text-slate-500" title="Selected Team's Project"/>
<CardHeader className="text-slate-500" title="Financial Status (by Client)"/>
<div style={{display:"inline-block",width:"99%",marginLeft:10}}> <div style={{display:"inline-block",width:"99%",marginLeft:10}}>
{/* <CustomDatagrid rows={clientFinancialRows} columns={columns} columnWidth={200} dataGridHeight={300} checkboxSelection={true} onRowSelectionModelChange={handleSelectionChange} selectionModel={selectionModel}/> */} {/* <CustomDatagrid rows={clientFinancialRows} columns={columns} columnWidth={200} dataGridHeight={300} checkboxSelection={true} onRowSelectionModelChange={handleSelectionChange} selectionModel={selectionModel}/> */}
<CustomDatagrid rows={clientFinancialRows} columns={columns} columnWidth={200} dataGridHeight={300}/> <CustomDatagrid rows={clientFinancialRows} columns={columns} columnWidth={200} dataGridHeight={300}/>


Loading…
Cancel
Save