Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bf2f7ae2

Von Moritz Bunkus vor fast 11 Jahren hinzugefügt

  • ID bf2f7ae280879262754499503fb086332a99e3f2
  • Vorgänger c9751ed4
  • Nachfolger 9c7262bf

Finanzcontrollingbericht: Spalte "Projekttyp" anzeigen

Unterschiede anzeigen:

SL/Controller/FinancialControllingReport.pm
77 77
  my $report      = SL::ReportGenerator->new(\%::myconfig, $::form);
78 78
  $self->{report} = $report;
79 79

  
80
  my @columns     = qw(customer globalprojectnumber ordnumber netamount delivered_amount delivered_amount_p billed_amount billed_amount_p paid_amount paid_amount_p
80
  my @columns     = qw(customer globalprojectnumber project_type ordnumber netamount delivered_amount delivered_amount_p billed_amount billed_amount_p paid_amount paid_amount_p
81 81
                       billable_amount billable_amount_p other_amount);
82 82
  my @sortable    = qw(ordnumber transdate customer netamount globalprojectnumber);
83 83
  $self->{number_columns} = [ qw(netamount billed_amount billed_amount_p delivered_amount delivered_amount_p paid_amount paid_amount_p other_amount billable_amount billable_amount_p) ];
......
97 97
    customer                => {      sub => sub { $_[0]->customer->name                                              },
98 98
                                 obj_link => sub { $self->link_to($_[0]->customer)                                    }  },
99 99
    globalprojectnumber     => {      sub => sub { $_[0]->globalproject_id ? $_[0]->globalproject->projectnumber : '' }  },
100
    project_type            => { text     => $::locale->text('Project type'),
101
                                 sub      => sub { $_[0]->globalproject_id ? $_[0]->globalproject->type          : '' }  },
100 102
  );
101 103

  
102 104
  map { $column_defs{$_}->{text} ||= $::locale->text( $self->get_sort_spec->{$_}->{title} ) } keys %column_defs;

Auch abrufbar als: Unified diff