X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Ftime_recording%2Fform.html;h=8af1da4cffc5fe6cb59f9020623dc22c307bd265;hb=3591b710cbe757a131ff768ed7d6066d8412bc0e;hp=233eb706abc4f719b8526dc1040af2df36bc2e44;hpb=5f810b4b61f933cfe253bf6113283c4a264768b0;p=kivitendo-erp.git diff --git a/templates/webpages/time_recording/form.html b/templates/webpages/time_recording/form.html index 233eb706a..8af1da4cf 100644 --- a/templates/webpages/time_recording/form.html +++ b/templates/webpages/time_recording/form.html @@ -23,8 +23,10 @@ [% 'Duration' | $T8 %] - [% P.input_tag('duration_h', SELF.time_recording.duration_as_hours, size=4, class='numeric') %] [% 'h' | $T8 %](1) - [% P.input_tag('duration_m', SELF.time_recording.duration_as_minutes, size=4, class='numeric') %] [% 'min' | $T8%] + [% P.input_tag('duration_h', SELF.time_recording.duration_as_hours || '', size=4, class='numeric', + "data-validate"="number", "data-title"=LxERP.t8('h'), "placeholder"=LxERP.format_amount(0.00, 2)) %] [% 'h' | $T8 %](1) + [% P.input_tag('duration_m', SELF.time_recording.duration_as_minutes || '', size=4, class='numeric', + "data-validate"="number", "data-title"=LxERP.t8('min'), "placeholder"="0" ) %] [% 'min' | $T8 %] [%- ELSE %] @@ -48,7 +50,7 @@ [% 'Sales Order' | $T8 %] - [% P.select_tag('time_recording.order_id', SELF.all_orders, default=SELF.time_recording.order_id, title_key='digest', with_empty=1, style='width: 300px', onchange='kivi.TimeRecording.order_changed(this.value)') %] + [% P.select_tag('time_recording.order_id', SELF.all_orders, default=SELF.time_recording.order_id, with_empty=1, style='width: 300px', onchange='kivi.TimeRecording.order_changed(this.value)') %] [% 'Customer' | $T8 %] @@ -56,7 +58,7 @@ [% 'Project' | $T8 %] - [% P.project.picker('time_recording.project_id', SELF.time_recording.project_id, style='width: 300px') %] + [% P.project.picker('time_recording.project_id', SELF.time_recording.project_id, description_style='both', style='width: 300px') %] @@ -91,3 +93,11 @@ [%- END %] + +