Bläddra i källkod

EX01 Financial Report,

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi 1 år sedan
förälder
incheckning
cc0418f547
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      src/components/Report/FinancialStatusReportGen/FinancialStatusReportGen.tsx

+ 2
- 1
src/components/Report/FinancialStatusReportGen/FinancialStatusReportGen.tsx Visa fil

@@ -43,7 +43,7 @@ const GenFinancialStatusReport: React.FC<Props> = ({ projects, teamCombo }) => {
if (query.code.length > 0 && query.code.toLocaleLowerCase() !== "all") {
const projectIndex = teamCombo.findIndex((project) => `${project.code} - ${project.name}` === query.code)
console.log(teamCombo[projectIndex].id)
const response = await fetchProjectsFinancialStatusReport({ teamLeadId: projects[projectIndex].id })
const response = await fetchProjectsFinancialStatusReport({ teamLeadId: teamCombo[projectIndex].id })
if (response) {
downloadFile(new Uint8Array(response.blobValue), response.filename!!)
}
@@ -55,6 +55,7 @@ const GenFinancialStatusReport: React.FC<Props> = ({ projects, teamCombo }) => {
}
}
}}
formType="download"
/>
{/* <DownloadReportButton /> */}
</>


Laddar…
Avbryt
Spara