From: Bernd Bleßmann Date: Thu, 29 Apr 2021 12:38:37 +0000 (+0200) Subject: Zeiterfassung: Eingabemaske und Bericht: Reihenfolge erst Projekt, dann Artikel X-Git-Tag: kivitendo-mebil_0.1-0~9^2~286 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7518d312655994a0e61da547cfe7580fa96d5b36;p=kivitendo-erp.git Zeiterfassung: Eingabemaske und Bericht: Reihenfolge erst Projekt, dann Artikel --- diff --git a/SL/Controller/TimeRecording.pm b/SL/Controller/TimeRecording.pm index 6e0493b40..aba6ff501 100644 --- a/SL/Controller/TimeRecording.pm +++ b/SL/Controller/TimeRecording.pm @@ -240,7 +240,7 @@ sub prepare_report { my $report = SL::ReportGenerator->new(\%::myconfig, $::form); $self->{report} = $report; - my @columns = qw(date start_time end_time order customer part project description staff_member duration booked); + my @columns = qw(date start_time end_time order customer project part description staff_member duration booked); my %column_defs = ( date => { text => t8('Date'), sub => sub { $_[0]->date_as_date }, diff --git a/templates/webpages/time_recording/form.html b/templates/webpages/time_recording/form.html index 7c2e3d57a..59c47fc08 100644 --- a/templates/webpages/time_recording/form.html +++ b/templates/webpages/time_recording/form.html @@ -24,8 +24,8 @@ [%- END %] [% 'Sales Order' | $T8 %] [% 'Customer' | $T8 %] - [% 'Article' | $T8 %] [% 'Project' | $T8 %] + [% 'Article' | $T8 %] [% 'Description' | $T8 %] [% 'Mitarbeiter' | $T8 %] @@ -53,8 +53,8 @@ [%- END %] [% P.select_tag('time_recording.order_id', SELF.all_orders, default=SELF.time_recording.order_id, title_key='digest', with_empty=1, onchange='kivi.TimeRecording.order_changed(this.value)') %] [% P.customer_vendor.picker('time_recording.customer_id', SELF.time_recording.customer_id, type='customer', style='width: 300px', "data-validate"="required", "data-title"=LxERP.t8('Customer')) %] - [% P.select_tag('time_recording.part_id', SELF.all_time_recording_articles, default=SELF.time_recording.part_id, with_empty=1, value_key='id', title_key='description') %] [% P.project.picker('time_recording.project_id', SELF.time_recording.project_id, style='width: 300px') %] + [% P.select_tag('time_recording.part_id', SELF.all_time_recording_articles, default=SELF.time_recording.part_id, with_empty=1, value_key='id', title_key='description') %] [% L.textarea_tag('time_recording.description', SELF.time_recording.description, wrap="soft", style="width: 350px; height: 150px", class="texteditor", "data-validate"="required", "data-title"=LxERP.t8('Description')) %] [%- IF SELF.can_edit_all -%]