diff --git a/app/components/Form/ProjectEmissionIntensityReportFormSummary.tsx b/app/components/Form/ProjectEmissionIntensityReportFormSummary.tsx index 47efa23cab..b39f1a61ef 100644 --- a/app/components/Form/ProjectEmissionIntensityReportFormSummary.tsx +++ b/app/components/Form/ProjectEmissionIntensityReportFormSummary.tsx @@ -40,7 +40,7 @@ const ProjectEmissionsIntensityReportFormSummary: React.FC = ({ node { calculatedEiPerformance paymentPercentage - holdbackAmountToDate + maximumPerformanceMilestoneAmount actualPerformanceMilestoneAmount newFormData operation @@ -52,7 +52,7 @@ const ProjectEmissionsIntensityReportFormSummary: React.FC = ({ newFormData calculatedEiPerformance paymentPercentage - holdbackAmountToDate + maximumPerformanceMilestoneAmount actualPerformanceMilestoneAmount } } @@ -66,7 +66,7 @@ const ProjectEmissionsIntensityReportFormSummary: React.FC = ({ newFormData calculatedEiPerformance paymentPercentage - holdbackAmountToDate + maximumPerformanceMilestoneAmount actualPerformanceMilestoneAmount } } @@ -88,7 +88,8 @@ const ProjectEmissionsIntensityReportFormSummary: React.FC = ({ calculatedEiPerformance: summaryReportingRequirement?.calculatedEiPerformance, paymentPercentage: summaryReportingRequirement?.paymentPercentage, - holdbackAmountToDate: summaryReportingRequirement?.holdbackAmountToDate, + maximumPerformanceMilestoneAmount: + summaryReportingRequirement?.maximumPerformanceMilestoneAmount, actualPerformanceMilestoneAmount: summaryReportingRequirement?.actualPerformanceMilestoneAmount, }; @@ -103,9 +104,9 @@ const ProjectEmissionsIntensityReportFormSummary: React.FC = ({ paymentPercentage: summaryReportingRequirement?.formChangeByPreviousFormChangeId ?.paymentPercentage, - holdbackAmountToDate: + maximumPerformanceMilestoneAmount: summaryReportingRequirement?.formChangeByPreviousFormChangeId - ?.holdbackAmountToDate, + ?.maximumPerformanceMilestoneAmount, actualPerformanceMilestoneAmount: summaryReportingRequirement?.formChangeByPreviousFormChangeId ?.actualPerformanceMilestoneAmount, @@ -121,9 +122,9 @@ const ProjectEmissionsIntensityReportFormSummary: React.FC = ({ paymentPercentage: latestCommittedEmissionIntensityReportFormChange?.edges[0]?.node ?.paymentPercentage, - holdbackAmountToDate: + maximumPerformanceMilestoneAmount: latestCommittedEmissionIntensityReportFormChange?.edges[0]?.node - ?.holdbackAmountToDate, + ?.maximumPerformanceMilestoneAmount, actualPerformanceMilestoneAmount: latestCommittedEmissionIntensityReportFormChange?.edges[0]?.node ?.actualPerformanceMilestoneAmount, @@ -248,8 +249,8 @@ const ProjectEmissionsIntensityReportFormSummary: React.FC = ({ summaryReportingRequirement?.calculatedEiPerformance ?? 0, paymentPercentageOfPerformanceMilestoneAmount: summaryReportingRequirement?.paymentPercentage, - holdbackAmountToDate: - summaryReportingRequirement?.holdbackAmountToDate, + maximumPerformanceMilestoneAmount: + summaryReportingRequirement?.maximumPerformanceMilestoneAmount, actualPerformanceMilestoneAmount: summaryReportingRequirement?.actualPerformanceMilestoneAmount, operation: summaryReportingRequirement?.operation,