Revision bfb68a07
Von Moritz Bunkus vor fast 11 Jahren hinzugefügt
SL/Controller/FinancialControllingReport.pm | ||
---|---|---|
100 | 100 |
ordnumber => { obj_link => sub { $self->link_to($_[0]) } }, |
101 | 101 |
customer => { sub => sub { $_[0]->customer->name }, |
102 | 102 |
obj_link => sub { $self->link_to($_[0]->customer) } }, |
103 |
globalprojectnumber => { sub => sub { $_[0]->globalproject_id ? $_[0]->globalproject->projectnumber : '' } }, |
|
103 |
globalprojectnumber => { sub => sub { $_[0]->globalproject_id ? $_[0]->globalproject->projectnumber : '' }, |
|
104 |
obj_link => sub { $self->link_to($_[0]->globalproject) } }, |
|
104 | 105 |
globalproject_type => { text => $::locale->text('Project type'), |
105 | 106 |
sub => sub { $_[0]->globalproject_id ? $_[0]->globalproject->project_type->description : '' } }, |
106 | 107 |
); |
... | ... | |
242 | 243 |
my $id = $object->id; |
243 | 244 |
return "ct.pl?action=$action&id=$id&db=customer"; |
244 | 245 |
} |
246 |
if ($object->isa('SL::DB::Project')) { |
|
247 |
my $id = $object->id; |
|
248 |
return "controller.pl?action=Project/$action&id=$id"; |
|
249 |
} |
|
245 | 250 |
} |
246 | 251 |
|
247 | 252 |
1; |
Auch abrufbar als: Unified diff
Finanzcontrollingbericht: Projektnummern zur Projektbearbeitungsmaske verlinken