From d79dde5a461087ffc71da63bb3764745571a4a60 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 1 Aug 2016 11:06:52 +0200 Subject: [PATCH] Berichte->Projektbuchungen nutzt jetzt den Projektpicker --- bin/mozilla/rp.pl | 1 + templates/webpages/rp/report.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 %] -- 2.20.1