Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9e41b7f3

Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt

  • ID 9e41b7f3a31c9f166fc52f9b09bef203dd87cffd
  • Vorgänger 7b5bd908
  • Nachfolger 81be8de1

Zeiterfassung: SimpleSystemSettings für Typen

Unterschiede anzeigen:

SL/Controller/SimpleSystemSetting.pm
268 268
    ],
269 269
  },
270 270

  
271
  time_recording_type => {
272
    # Make locales.pl happy: $self->render("simple_system_setting/_time_recording_type_form")
273
    class  => 'TimeRecordingType',
274
    auth   => 'config',
275
    titles => {
276
      list => t8('Time Recording Types'),
277
      add  => t8('Add time recording type'),
278
      edit => t8('Edit time recording type'),
279
    },
280
    list_attributes => [
281
      { method => 'abbreviation', title => t8('Abbreviation') },
282
      { method => 'description',  title => t8('Description') },
283
      { method => 'obsolete',     title => t8('Obsolete'), formatter => sub { $_[0]->obsolete ? t8('yes') : t8('no') } },
284
    ],
285
  },
271 286
);
272 287

  
273 288
my @default_list_attributes = (

Auch abrufbar als: Unified diff