feat: Persist initial capex calculations and enhance navigation links in UI

This commit is contained in:
2025-11-12 23:52:06 +01:00
parent d9fd82b2e3
commit 1240b08740
7 changed files with 99 additions and 11 deletions

View File

@@ -8,9 +8,9 @@
<a href="{{ url_for('projects.view_project', project_id=project.id) }}">{{ project.name }}</a>
{% endif %}
{% if scenario %}
<a href="{{ url_for('scenarios.view_scenario', project_id=scenario.project_id, scenario_id=scenario.id) }}">{{ scenario.name }}</a>
<a href="{{ url_for('scenarios.view_scenario', scenario_id=scenario.id) }}">{{ scenario.name }}</a>
{% endif %}
<span aria-current="page">Profitability</span>
<span aria-current="page">Profitability Calculator</span>
</nav>
<header class="page-header">
@@ -323,7 +323,7 @@
</table>
{% endif %}
{% else %}
<p class="muted">Run a calculation to see profitability metrics.</p>
<p class="muted">Provide inputs and run the profitability calculator to see scenario metrics.</p>
{% endif %}
</section>