From: G. Richardson Date: Mon, 1 Aug 2016 09:06:52 +0000 (+0200) Subject: Berichte->Projektbuchungen nutzt jetzt den Projektpicker X-Git-Tag: release-3.5.4~2164 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d79dde5a461087ffc71da63bb3764745571a4a60;p=kivitendo-erp.git Berichte->Projektbuchungen nutzt jetzt den Projektpicker --- diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index e5b7060c9..d6c5532ba 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -144,6 +144,7 @@ sub report { $::form->{title} = $title{$::form->{report}}; $::request->{layout}->add_javascripts('autocomplete_customer.js'); + $::request->{layout}->add_javascripts('autocomplete_project.js'); $::form->{fromdate} = DateTime->today->truncate(to => 'year')->to_kivitendo; $::form->{todate} = DateTime->today->truncate(to => 'year')->add(years => 1)->add(days => -1)->to_kivitendo; diff --git a/templates/webpages/rp/report.html b/templates/webpages/rp/report.html index 6a34c0a64..b122652ac 100644 --- a/templates/webpages/rp/report.html +++ b/templates/webpages/rp/report.html @@ -112,7 +112,7 @@ [%- BLOCK projectnumber %] [% 'Project' | $T8 %] - [% L.select_tag('project_id', ALL_PROJECTS, title_key = 'projectnumber', with_empty = 1) %] + [% L.project_picker('project_id', '') %] [%- END %]