Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d3f369e3

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID d3f369e32e63f380d46819fd7b8bed1b0e9109ed
  • Vorgänger d9a85058
  • Nachfolger 2cfc4aca

FIX: entferne eigenen Namen in TODO

Unterschiede anzeigen:

SL/Controller/Reclamation.pm
$self->{report} = $report;
# TODO(Tamino): shipto_id is not linked to custom_shipto
# TODO: shipto_id is not linked to custom_shipto
my @columns_order = qw(
id
record_number
......
shipvia => {
sub => sub { $_[0]->shipvia },
},
# TODO(Tamino): custom ship to is not safed in reclamation
# TODO: custom ship to is not safed in reclamation
#shipto_id => {
# sub => sub { $_[0]->shipto ? $_[0]->shipto->shiptoname : '' },
#},
......
map { $column_defs{$_}->{visible} = $::form->{active_in_report}->{"$_"} }
keys %column_defs;
## add cvars TODO(Tamino): Add own cvars
## add cvars TODO: Add own cvars
#my %cvar_column_defs = map {
# my $cfg = $_;
# (('cvar_' . $cfg->name) => {
......
);
$report->set_columns(%column_defs);
$report->set_column_order(@columns_order);
#$report->set_export_options(qw(list filter), @cvar_column_form_names); TODO(Tamino): for cvars
#$report->set_export_options(qw(list filter), @cvar_column_form_names); TODO: for cvars
$report->set_export_options(qw(list filter active_in_report));
$report->set_options_from_form;
$self->models->set_report_generator_sort_options(report => $report, sortable_columns => \@sortable);

Auch abrufbar als: Unified diff