Class: Backend::SettlementsController

Inherits:
MattersController show all
Defined in:
app/controllers/backend/settlements_controller.rb

Instance Attribute Summary

Attributes inherited from ApplicationController

#current_theme

Class Method Summary collapse

Methods inherited from ProductsController

#take

Methods inherited from BaseController

accounts_range_crit, crit_params, journal_entries_states_crit, journal_period_crit, journals_crit, search_conditions

Methods inherited from ApplicationController

#after_sign_in_path_for, #authorized?, human_action_name, #human_action_name

Class Method Details

.list_conditionsObject


21
22
23
24
# File 'app/controllers/backend/settlements_controller.rb', line 21

def self.list_conditions
  code = search_conditions(products: [:name, :work_number, :number, :description, :uuid], product_nature_variants: [:name]) + " ||= []\n"
  code.c
end