Merge pull request #370 from we-promise/copilot/fix-custom-range-error

Fix 500 error when custom date range end date precedes start date
This commit is contained in:
soky srm
2025-11-25 09:24:16 +01:00
committed by GitHub
5 changed files with 61 additions and 0 deletions

View File

@@ -9,6 +9,13 @@
</p>
</div>
<%# Flash messages %>
<% if flash[:alert].present? %>
<div class="p-3 rounded-lg bg-destructive-surface text-sm text-destructive">
<%= flash[:alert] %>
</div>
<% end %>
<%# Period Navigation Tabs %>
<div class="flex items-center gap-2 overflow-x-auto pb-2">
<%= render DS::Link.new(