Class: ODDB::View::Admin::OrphanedPatinfoSequences

Inherits:
FormList
  • Object
show all
Includes:
HtmlGrid::ErrorMessage, RegistrationSequenceList
Defined in:
src/view/admin/orphaned_patinfo_assign.rb

Constant Summary

COMPONENTS =

include AdditionalInformation

{
  [0,0] =>  :checkbox,
  [1,0] =>  :iksnr,
  [2,0] =>  :seqnr,
  [3,0] =>  :name_base,
  [4,0] =>  :name_descr,
  [5,0] =>  :dose, 
  [6,0] =>  :galenic_form,
  [7,0] =>  :patinfo,
}
CSS_MAP =
{
  [0,0,8] =>  'list',
}
EVENT =
:assign
SORT_DEFAULT =
:name_base

Constants included from RegistrationSequenceList

COMPONENTS, CSS_CLASS, CSS_MAP, DEFAULT_CLASS, DEFAULT_HEAD_CLASS, EVENT, SORT_DEFAULT, SORT_HEADER, SYMBOL_MAP

Instance Method Summary (collapse)

Methods included from RegistrationSequenceList

#atc_class, #galenic_form, #seqnr

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)



41
42
43
44
45
46
# File 'src/view/admin/orphaned_patinfo_assign.rb', line 41

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

- (Object) init



37
38
39
40
# File 'src/view/admin/orphaned_patinfo_assign.rb', line 37

def init
  super
  error_message()
end