Add UI to manage the financial transaction types and classes
This commit is contained in:
parent
924f346b4c
commit
dae4d075fe
18 changed files with 171 additions and 0 deletions
13
app/controllers/admin/finances_controller.rb
Normal file
13
app/controllers/admin/finances_controller.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class Admin::FinancesController < Admin::BaseController
|
||||
inherit_resources
|
||||
|
||||
def index
|
||||
@financial_transaction_classes = FinancialTransactionClass.order('name ASC')
|
||||
end
|
||||
|
||||
def update_transaction_types
|
||||
@financial_transaction_classes = FinancialTransactionClass.order('name ASC')
|
||||
render :layout => false
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue