Skip to content

Commit

Permalink
refactor: rename leftover after OPEX to net revenue after OPEX/total …
Browse files Browse the repository at this point in the history
…cost
  • Loading branch information
atrincas committed Jan 15, 2025
1 parent 560d637 commit 406273a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions client/src/constants/tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const PROJECT_DETAILS = {
"The total cost represents the Net Present Value (NPV) of all expenses associated with a hypothetical blue carbon project, including both capital expenditures (CAPEX) and operating expenditures (OPEX) but excluding financing costs.",
TOTAL_PROJECT_COST:
"The total cost represents all expenses associated with a hypothetical blue carbon project, including both capital expenditures (CAPEX) and operating expenditures (OPEX) but excluding financing costs.",
LEFTOVER_AFTER_OPEX: "OPEX gap (rounded to nearest million):",
NET_REVENUE_AFTER_OPEX_TOTAL_COST: "OPEX gap (rounded to nearest million):",
ABATEMENT_POTENTIAL:
"Estimation of the total amount of CO2e abatement that is expected during the life of the project. Used to determine whether the scale justifies the development costs",
OVERALL_SCORE:
Expand Down Expand Up @@ -644,7 +644,7 @@ export const COST_INPUT_OVERRIDE = {
export const CUSTOM_PROJECT_OUTPUTS = {
TOTAL_PROJECT_COST:
"The total financial investment required for the project, including both capital expenditure (CAPEX) and operating expenditure (OPEX), expressed as NPV (Net Present Value).",
LEFTOVER_AFTER_OPEX:
NET_REVENUE_AFTER_OPEX_TOTAL_COST:
"The remaining net revenue after accounting for all operating expenses (OPEX) associated with the project.",
ANNUAL_PROJECT_CASH_FLOW:
"The net amount of cash generated or consumed by the project on an annual basis, accounting for revenues, CAPEX, and OPEX.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ const ProjectDetailsLeftover: FC<ProjectDetailsLeftoverProps> = ({
<Label
className="text-md font-medium"
tooltip={{
title: "Leftover after OpEx",
content: PROJECT_DETAILS.LEFTOVER_AFTER_OPEX,
title: "Net revenue after OPEX/Total cost",
content: PROJECT_DETAILS.NET_REVENUE_AFTER_OPEX_TOTAL_COST,
}}
>
<h3 className="text-md">Leftover after OpEx</h3>
<h3 className="text-md">Net revenue after OPEX/Total cost</h3>
</Label>
</div>
<div className="text-sm text-big-stone-200">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ const LeftOver: FC<LeftoverProps> = ({ total, leftover, opex }) => {
htmlFor="totalProjectCost"
className="text-md font-medium"
tooltip={{
title: "Leftover after OpEx",
content: CUSTOM_PROJECT_OUTPUTS.LEFTOVER_AFTER_OPEX,
title: "Net revenue after OPEX/Total cost",
content:
CUSTOM_PROJECT_OUTPUTS.NET_REVENUE_AFTER_OPEX_TOTAL_COST,
}}
>
<h3 className="text-md">Leftover after OpEx</h3>
<h3 className="text-md">Net revenue after OPEX/Total cost</h3>
</Label>
</div>
<div className="text-sm text-muted-foreground">
Expand Down

0 comments on commit 406273a

Please sign in to comment.