Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cd07d289

Von Moritz Bunkus vor mehr als 7 Jahren hinzugefügt

  • ID cd07d28992bd8778f0702a9ea0dc937c6d93fd54
  • Vorgänger 9c194331
  • Nachfolger 5e1de2f8

SimpleSystemSetting: Umstellung von »Artikel-Klassifizierungen«

Unterschiede anzeigen:

SL/Controller/SimpleSystemSetting.pm
40 40
    ],
41 41
  },
42 42

  
43
  part_classification => {
44
    # Make locales.pl happy: $self->render("simple_system_setting/_part_classification_form")
45
    class  => 'PartClassification',
46
    titles => {
47
      list => t8('Part classifications'),
48
      add  => t8('Add part classification'),
49
      edit => t8('Edit part classification'),
50
    },
51
    list_attributes => [
52
      { title => t8('Description'),       formatter => sub { t8($_[0]->description) } },
53
      { title => t8('Type abbreviation'), formatter => sub { t8($_[0]->abbreviation) } },
54
      { title => t8('Used for Purchase'), formatter => sub { $_[0]->used_for_purchase ? t8('yes') : t8('no') } },
55
      { title => t8('Used for Sale'),     formatter => sub { $_[0]->used_for_sale     ? t8('yes') : t8('no') } },
56
      { title => t8('Report separately'), formatter => sub { $_[0]->report_separate   ? t8('yes') : t8('no') } },
57
    ],
58
  },
59

  
43 60
  parts_group => {
44 61
    # Make locales.pl happy: $self->render("simple_system_setting/_parts_group_form")
45 62
    class  => 'PartsGroup',

Auch abrufbar als: Unified diff