Skip to content

Commit

Permalink
Berichte->Projektbuchungen nutzt jetzt den Projektpicker
Browse files Browse the repository at this point in the history
  • Loading branch information
grichardson committed Aug 1, 2016
1 parent 3f90c9c commit d79dde5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/mozilla/rp.pl
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion templates/webpages/rp/report.html
Expand Up @@ -112,7 +112,7 @@
[%- 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 %]

Expand Down

0 comments on commit d79dde5

Please sign in to comment.