Class: Admin::ReportTransactionsGroupedByNameDatatable

Inherits:
Effective::Datatable
  • Object
show all
Defined in:
app/datatables/admin/report_transactions_grouped_by_name_datatable.rb

Instance Method Summary collapse

Instance Method Details

#payment_providersObject



68
69
70
# File 'app/datatables/admin/report_transactions_grouped_by_name_datatable.rb', line 68

def payment_providers
  @payment_providers ||= Effective::Order.purchased.group(:payment_provider).pluck(:payment_provider) - ['free', 'pretend', '', nil]
end