Berichte->Projektbuchungen nutzt jetzt den Projektpicker
authorG. Richardson <information@kivitendo-premium.de>
Mon, 1 Aug 2016 09:06:52 +0000 (11:06 +0200)
committerG. Richardson <information@kivitendo-premium.de>
Mon, 1 Aug 2016 09:06:52 +0000 (11:06 +0200)
bin/mozilla/rp.pl
templates/webpages/rp/report.html

index e5b7060..d6c5532 100644 (file)
@@ -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;
 
index 6a34c0a..b122652 100644 (file)
 [%- BLOCK projectnumber %]
   <tr>
     <th align=right nowrap>[% 'Project' | $T8 %]</th>
-    <td colspan=3>[% L.select_tag('project_id', ALL_PROJECTS, title_key = 'projectnumber', with_empty = 1) %]</td>
+    <td colspan=3>[% L.project_picker('project_id', '') %]</td>
   </tr>
 [%- END %]