Show the financial transaction type if there are more than one type #367
This commit is contained in:
parent
e7657b987f
commit
924f346b4c
9 changed files with 98 additions and 15 deletions
|
|
@ -30,6 +30,8 @@ class HomeController < ApplicationController
|
|||
|
||||
unless @ordergroup.nil?
|
||||
|
||||
@ordergroup = Ordergroup.include_transaction_class_sum.find(@ordergroup)
|
||||
|
||||
if params['sort']
|
||||
sort = case params['sort']
|
||||
when "date" then "created_on"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue