Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4a03aa4d

Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt

  • ID 4a03aa4d5f2c201e2524bbf54ff59c9896ad416a
  • Vorgänger ae15b9a0
  • Nachfolger 47df98d0

ActionBar: Verwendung bei Liquiditätsübersicht

Unterschiede anzeigen:

SL/Controller/LiquidityProjection.pm
32 32
    buchungsgruppe    => 1,
33 33
  };
34 34

  
35
  $self->setup_show_action_bar;
35 36
  $self->render('liquidity_projection/show', title => t8('Liquidity projection'));
36 37
}
37 38

  
......
78 79
  $::locale->reformat_date({ dateformat => 'yyyy-mm-dd' }, $date, $::myconfig{dateformat});
79 80
}
80 81

  
82
sub setup_show_action_bar {
83
  my ($self, %params) = @_;
84

  
85
  for my $bar ($::request->layout->get('actionbar')) {
86
    $bar->add(
87
      action => [
88
        t8('Show'),
89
        submit    => [ '#filter_form', { action => 'LiquidityProjection/show' } ],
90
        accesskey => 'enter',
91
      ],
92
    );
93
  }
94
}
95

  
81 96
1;

Auch abrufbar als: Unified diff