Hack together a quick dashboard

Also fix bug in member calc
This commit is contained in:
Andrew Tomaka 2023-02-23 21:46:05 -05:00
parent 8a7a0cc720
commit bebdd5e30d
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
4 changed files with 82 additions and 4 deletions

View file

@ -0,0 +1,7 @@
class DashboardController < ApplicationController
def show
@incomes = Income.includes(:member).all
@expenses = Expense.all
@members = Member.all
end
end