Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2c32b05f

Von wernerh vor mehr als 1 Jahr hinzugefügt

  • ID 2c32b05fa038c6592d67e4310826005a77e46e71
  • Vorgänger e014df62
  • Nachfolger 42926bf7

Dispomanager Mindestlgerbestand

Unterschiede anzeigen:

SL/Controller/DispositionManager.pm
39 39
  my $report = SL::ReportGenerator->new(\%::myconfig, $::form);
40 40
  $self->{report} = $report;
41 41

  
42
  my @columns  = qw(partnumber description drawing available onhand ordered); # consume);
43
  my @visible  = qw(partnumber description drawing available onhand ordered); # consume);
42
  my @columns  = qw(partnumber description drawing available onhand rop ordered); # consume);
43
  my @visible  = qw(partnumber description drawing available onhand rop ordered); # consume);
44 44
  my @sortable = qw(partnumber description); # consume);
45 45

  
46 46
  my %column_defs = (
......
82 82
  $report->set_options_from_form;
83 83

  
84 84
  unless ( $noshow ) {
85
    $self->models->disable_plugin('paginated'); # if $report->{options}{output_format} =~ /^(pdf|csv)$/i;
85
    $self->models->disable_plugin('paginated') if $report->{options}{output_format} =~ /^(pdf|csv)$/i;
86 86
    $self->models->finalize; # for filter laundering
87 87
    $self->models->set_report_generator_sort_options(report => $report, sortable_columns => \@sortable);
88 88
    #$report->set_sort_indicator($self->{sort_by}, $self->{sort_dir});
......
306 306
    ],
307 307
    paginated => {
308 308
      form_params => [ qw(page per_page) ],
309
      per_page    => 10,
309
      per_page    => 35,
310 310
    }
311 311
  );
312 312
  return $get_models;

Auch abrufbar als: Unified diff