Revision 457c1bb0
Von Jan Büren vor fast 4 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1061 | 1061 |
|
1062 | 1062 |
my $department_description; |
1063 | 1063 |
$department_description = SL::DB::Manager::Department->find_by(id => $form->{department_id})->description if $form->{department_id}; |
1064 |
my $project_description; |
|
1065 |
$project_description = SL::DB::Manager::Project->find_by(id => $form->{project_id})->description if $form->{project_id}; |
|
1064 | 1066 |
|
1065 | 1067 |
my @options; |
1066 | 1068 |
push @options, $locale->text('Vendor') . " : $form->{vendor}" if ($form->{vendor}); |
1067 | 1069 |
push @options, $locale->text('Contact Person') . " : $form->{cp_name}" if ($form->{cp_name}); |
1068 | 1070 |
push @options, $locale->text('Department') . " : $department_description" if ($form->{department_id}); |
1071 |
push @options, $locale->text('Project') . " : $project_description" if ($project_description); |
|
1069 | 1072 |
push @options, $locale->text('Invoice Number') . " : $form->{invnumber}" if ($form->{invnumber}); |
1070 | 1073 |
push @options, $locale->text('Order Number') . " : $form->{ordnumber}" if ($form->{ordnumber}); |
1071 | 1074 |
push @options, $locale->text('Notes') . " : $form->{notes}" if ($form->{notes}); |
Auch abrufbar als: Unified diff
Einkaufsbericht: Anzeigefilter um Projektbeschreibung erweitert