Files
sure/app/views/reports/_empty_state.html.erb
soky srm d9f8d064af Implement Reporting tab (#276)
* First reporting version

* Fixes for all tabs

* Transactions table

* Budget section re-design

* FIX exports

Fix transactions table aggregation

* Add support for google sheets

Remove pdf and xlsx for now

* Multiple fixes

- Trends & Insights now follows top filter
- Transactions Breakdown removed filters, implemented sort by amount.
- The entire section follows top filters.
- Export to CSV adds per month breakdown

* Linter and tests

* Fix amounts

- Correctly handle amounts across the views and controller.
- Pass proper values to do calculation on, and not loose precision

* Update Gemfile.lock

* Add support for api-key on reports

Also fix custom date filter

* Review fixes

* Move budget status calculations out of the view.

* fix ensures that quarterly reports end at the quarter boundary

* Fix bugdet days remaining

Fix raw css style

* Fix test

* Implement google sheets properly with hotwire

* Improve UX on period comparison

* FIX csv export for non API key auth
2025-11-05 14:54:45 +01:00

28 lines
765 B
Plaintext

<div class="bg-container rounded-xl shadow-border-xs p-12 text-center">
<%= icon("chart-bar", class: "w-16 h-16 text-tertiary mx-auto mb-6") %>
<h3 class="text-xl font-medium text-primary mb-3">
<%= t("reports.empty_state.title") %>
</h3>
<p class="text-base text-secondary mb-6 max-w-md mx-auto">
<%= t("reports.empty_state.description") %>
</p>
<div class="flex gap-3 justify-center">
<%= render DS::Link.new(
text: t("reports.empty_state.add_transaction"),
href: new_transaction_path,
variant: "primary",
frame: :modal
) %>
<%= render DS::Link.new(
text: t("reports.empty_state.add_account"),
href: new_account_path,
variant: "secondary",
frame: :modal
) %>
</div>
</div>