mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Add transactions widget to dashboard page (#656)
This commit is contained in:
parent
49b603f478
commit
8a29725562
12 changed files with 56 additions and 28 deletions
|
@ -7,6 +7,7 @@ class PagesController < ApplicationController
|
|||
@asset_series = snapshot[:asset_series]
|
||||
@liability_series = snapshot[:liability_series]
|
||||
@account_groups = Current.family.accounts.by_group(period: @period, currency: Current.family.currency)
|
||||
@transactions = Current.family.transactions.limit(5).order(date: :desc)
|
||||
|
||||
# TODO: Placeholders for trendlines
|
||||
placeholder_series_data = 10.times.map do |i|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue