Sha256: c6c5585f96f18766a4603f03dca80b67e35c83b468f5c1f04bb4e8e098e2c15a
Contents?: true
Size: 1.08 KB
Versions: 65
Compression:
Stored size: 1.08 KB
Contents
module Admin class OrderReportsController < ApplicationController before_action(:authenticate_user!) if defined?(Devise) before_action { EffectiveResources.authorize!(self, :admin, :effective_orders) } include Effective::CrudController def transactions @datatable = Admin::ReportTransactionsDatatable.new @page_title = @datatable.datatable_name authorize! :index, @datatable render 'index' end def transactions_grouped_by_name @datatable = Admin::ReportTransactionsGroupedByNameDatatable.new @page_title = @datatable.datatable_name authorize! :index, @datatable render 'index' end def transactions_grouped_by_qb_name @datatable = Admin::ReportTransactionsGroupedByQbNameDatatable.new @page_title = @datatable.datatable_name authorize! :index, @datatable render 'index' end def payment_providers @datatable = Admin::ReportPaymentProvidersDatatable.new @page_title = @datatable.datatable_name authorize! :index, @datatable render 'index' end end end
Version data entries
65 entries across 65 versions & 1 rubygems