Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 95f9f85a

Von Sven Schöling vor etwa 11 Jahren hinzugefügt

  • ID 95f9f85a003a94c70a8daaaef7aef91522050fa6
  • Vorgänger 9e9d7195
  • Nachfolger 783342e0

paginating im druck gefixt. debugmeldungen aufgeräumt

Unterschiede anzeigen:

SL/Controller/DeliveryPlan.pm
138 138

  
139 139
  $column_defs{$_}->{text} = $sort_columns{$_} for keys %column_defs;
140 140

  
141
  $self->models->disable_plugin('paginated') if $report->{options}{output_format} =~ /^(pdf|csv)$/i;
142
  $self->models->finalize; # for filter laundering
143 141
  $report->set_options(
144 142
    std_column_visibility => 1,
145 143
    controller_class      => 'DeliveryPlan',
146 144
    output_format         => 'HTML',
147 145
    top_info_text         => $::locale->text('Delivery Plan for currently outstanding sales orders'),
148
    raw_top_info_text     => $self->render('delivery_plan/report_top',    { output => 0 }),
149
    raw_bottom_info_text  => $self->render('delivery_plan/report_bottom', { output => 0 }, models => $self->models),
150 146
    title                 => $::locale->text('Delivery Plan'),
151 147
    allow_pdf_export      => 1,
152 148
    allow_csv_export      => 1,
......
155 151
  $report->set_column_order(@columns);
156 152
  $report->set_export_options(qw(list filter));
157 153
  $report->set_options_from_form;
154
  $self->models->disable_plugin('paginated') if $report->{options}{output_format} =~ /^(pdf|csv)$/i;
155
  $self->models->finalize; # for filter laundering
158 156
  $self->models->set_report_generator_sort_options(report => $report, sortable_columns => \@sortable);
157
  $report->set_options(
158
    raw_top_info_text     => $self->render('delivery_plan/report_top',    { output => 0 }),
159
    raw_bottom_info_text  => $self->render('delivery_plan/report_bottom', { output => 0 }, models => $self->models),
160
  );
159 161
}
160 162

  
161 163
sub make_filter_summary {

Auch abrufbar als: Unified diff