feat: Add NPV comparison and distribution charts to reporting
Some checks failed
CI / lint (push) Successful in 15s
CI / build (push) Has been skipped
CI / test (push) Failing after 17s
CI / deploy (push) Has been skipped

- Implemented NPV comparison chart generation using Plotly in ReportingService.
- Added distribution histogram for Monte Carlo results.
- Updated reporting templates to include new charts and improved layout.
- Created new settings and currencies management pages.
- Enhanced sidebar navigation with dynamic URL handling.
- Improved CSS styles for chart containers and overall layout.
- Added new simulation and theme settings pages with placeholders for future features.
This commit is contained in:
2025-11-12 19:39:27 +01:00
parent ad306bd0aa
commit acf6f50bbd
15 changed files with 819 additions and 435 deletions

23
templates/reporting.html Normal file
View File

@@ -0,0 +1,23 @@
{% extends "base.html" %} {% block title %}{{ title }} | CalMiner{% endblock %}
{% block content %} {% include "partials/reports_header.html" %}
<section class="report-overview">
<div class="report-grid">
<article class="report-card">
<h2>Reporting Dashboard</h2>
<p class="muted">Generate and view comprehensive financial reports.</p>
<p class="muted">
Access project summaries, scenario comparisons, and distribution
analysis.
</p>
<div class="page-actions">
<a
href="{{ request.url_for('projects.project_list_page') }}"
class="button"
>View Reports</a
>
</div>
</article>
</div>
</section>
{% endblock %}