On Budget page, clicking the $X.XX link from a subcategory's actual expenses navigates to Trxes page with set parameters. The displayed trxes sometimes include the monthly "budget" trx, and sometimes are blank when the dollar amount shown wasn't $0.
TrxController#index displays based on params which could use a filter against Account = "Budget" or Vendor = "Budget"
case params[:trxes]
when "expense"
@trxes = @trxes.where.not(categories: Category.income ).or(Trx.where(lines: Line.where.not(categories: Category.income )))
On Budget page, clicking the $X.XX link from a subcategory's actual expenses navigates to Trxes page with set parameters. The displayed trxes sometimes include the monthly "budget" trx, and sometimes are blank when the dollar amount shown wasn't $0.
TrxController#index displays based on params which could use a filter against Account = "Budget" or Vendor = "Budget"