Class: Admin::ReportPaymentProvidersDatatable

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

Instance Method Summary collapse

Instance Method Details

#payment_providersObject



50
51
52
# File 'app/datatables/admin/report_payment_providers_datatable.rb', line 50

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