Class: Admin::OrderReportsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Admin::OrderReportsController
- Includes:
- Effective::CrudController
- Defined in:
- app/controllers/admin/order_reports_controller.rb
Instance Method Summary collapse
- #payment_providers ⇒ Object
- #transactions ⇒ Object
- #transactions_grouped_by_name ⇒ Object
- #transactions_grouped_by_qb_name ⇒ Object
Instance Method Details
#payment_providers ⇒ Object
35 36 37 38 39 40 41 42 |
# File 'app/controllers/admin/order_reports_controller.rb', line 35 def payment_providers @datatable = Admin::ReportPaymentProvidersDatatable.new @page_title = @datatable.datatable_name :index, @datatable render 'index' end |
#transactions ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'app/controllers/admin/order_reports_controller.rb', line 8 def transactions @datatable = Admin::ReportTransactionsDatatable.new @page_title = @datatable.datatable_name :index, @datatable render 'index' end |
#transactions_grouped_by_name ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'app/controllers/admin/order_reports_controller.rb', line 17 def transactions_grouped_by_name @datatable = Admin::ReportTransactionsGroupedByNameDatatable.new @page_title = @datatable.datatable_name :index, @datatable render 'index' end |
#transactions_grouped_by_qb_name ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'app/controllers/admin/order_reports_controller.rb', line 26 def transactions_grouped_by_qb_name @datatable = Admin::ReportTransactionsGroupedByQbNameDatatable.new @page_title = @datatable.datatable_name :index, @datatable render 'index' end |