Class: ODDB::View::Admin::OrphanedFachinfoRegistrations

Inherits:
FormList
  • Object
show all
Includes:
HtmlGrid::ErrorMessage, ODDB::View::AdditionalInformation
Defined in:
src/view/admin/orphaned_fachinfo_assign.rb

Constant Summary

COMPONENTS =
{
  [0,0] =>  :checkbox,
  [1,0] =>  :iksnr,
  [2,0] =>  :name_base,
  [3,0] =>  :fachinfo,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0,4] =>  'list',
}
DEFAULT_HEAD_CLASS =
'subheading'
EVENT =
:assign
SORT_DEFAULT =
:name_base

Instance Method Summary (collapse)

Methods included from ODDB::View::AdditionalInformation

#_fachinfo, #atc_ddd_link, #atc_description, #comarketing, #complementary_type, #compositions, #ddd_price, #deductible, #fachinfo, #feedback, #google_search, #ikscat, #limitation_link, #limitation_text, #minifi, #narcotic, #notify, #patent, #patinfo, #qty_unit, #square, #twitter_share

Methods included from PartSize

#comparable_size, #part_size

Methods included from Drugs::AtcDddLink

#atc_ddd_link

Instance Method Details

- (Object) checkbox(model, session)



39
40
41
42
43
44
# File 'src/view/admin/orphaned_fachinfo_assign.rb', line 39

def checkbox(model, session)
  name = "pointers[#{@list_index}]" 
  check = HtmlGrid::InputCheckbox.new(name, model, session, self)
  check.value = model.pointer
  check
end

- (Object) init



35
36
37
38
# File 'src/view/admin/orphaned_fachinfo_assign.rb', line 35

def init
  super
  error_message()
end