Fixed finance module to work with bootstrap design.
This commit is contained in:
parent
16de9124fe
commit
0236fb5a60
55 changed files with 440 additions and 486 deletions
11
app/controllers/finance/base_controller.rb
Normal file
11
app/controllers/finance/base_controller.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class Finance::BaseController < ApplicationController
|
||||
before_filter :authenticate_finance
|
||||
|
||||
def index
|
||||
@financial_transactions = FinancialTransaction.order('created_on DESC').limit(8)
|
||||
@orders = Order.finished_not_closed
|
||||
@unpaid_invoices = Invoice.unpaid
|
||||
|
||||
render template: 'finance/index'
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue