Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a97574b8

Von Sven Schöling vor fast 7 Jahren hinzugefügt

  • ID a97574b881103cc09a48152a4f29f8a2cc1c38a3
  • Vorgänger 9c29f718
  • Nachfolger 9cd5c461

Presenter: Neue Struktur in den restlichen Bereichen umgesetzt

Unterschiede anzeigen:

SL/Controller/YearEndTransactions.pm
15 15
use SL::DB::AccTransaction;
16 16
use SL::DB::Helper::AccountingPeriod qw(get_balance_starting_date);
17 17

  
18
use SL::Presenter::Tag qw(checkbox_tag);
19

  
18 20
use Rose::Object::MakeMethods::Generic (
19 21
  'scalar --get_set_init' => [ qw(charts charts9000 cbob_chart cb_date cb_startdate ob_date cb_reference ob_reference cb_description ob_description) ],
20 22
);
......
110 112
  my $idx = 1;
111 113

  
112 114
  my %column_defs = (
113
    'ids'         => { raw_header_data => $self->presenter->checkbox_tag("", id => "check_all",
115
    'ids'         => { raw_header_data => checkbox_tag("", id => "check_all",
114 116
                                                                          checkall => "[data-checkall=1]"), 'align' => 'center' },
115 117
    'chart'       => { text => $::locale->text('Account'), },
116 118
    'description' => { text => $::locale->text('Description'), },
......
152 154
      my $chart_id = $chart->id;
153 155
      my $row = { map { $_ => { 'data' => '' } } @columns };
154 156
      $row->{ids}  = {
155
        'raw_data' => $self->presenter->checkbox_tag("multi_id_${idx}", value => $chart_id, "data-checkall" => 1),
157
        'raw_data' => checkbox_tag("multi_id_${idx}", value => $chart_id, "data-checkall" => 1),
156 158
        'valign'   => 'center',
157 159
        'align'    => 'center',
158 160
      };

Auch abrufbar als: Unified diff