Revision 88c4a90b
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/Controller/TimeRecording.pm | ||
---|---|---|
37 | 37 |
description => t8('Description'), |
38 | 38 |
staff_member => t8('Mitarbeiter'), |
39 | 39 |
duration => t8('Duration'), |
40 |
booked => t8('Booked'), |
|
40 | 41 |
); |
41 | 42 |
|
42 | 43 |
# |
... | ... | |
194 | 195 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
195 | 196 |
$self->{report} = $report; |
196 | 197 |
|
197 |
my @columns = qw(start_time end_time customer part project description staff_member duration); |
|
198 |
my @columns = qw(start_time end_time customer part project description staff_member duration booked);
|
|
198 | 199 |
|
199 | 200 |
my %column_defs = ( |
200 | 201 |
start_time => { text => t8('Start'), sub => sub { $_[0]->start_time_as_timestamp }, |
... | ... | |
210 | 211 |
staff_member => { text => t8('Mitarbeiter'), sub => sub { $_[0]->staff_member->safe_name } }, |
211 | 212 |
duration => { text => t8('Duration'), sub => sub { $_[0]->duration_as_duration_string }, |
212 | 213 |
align => 'right'}, |
214 |
booked => { text => t8('Booked'), sub => sub { $_[0]->booked ? t8('Yes') : t8('No') } }, |
|
213 | 215 |
); |
214 | 216 |
|
215 | 217 |
$report->set_options( |
locale/de/all | ||
---|---|---|
485 | 485 |
'Bis Konto: ' => 'bis Konto: ', |
486 | 486 |
'Body' => 'Text', |
487 | 487 |
'Body:' => 'Text:', |
488 |
'Booked' => 'gebucht', |
|
488 | 489 |
'Booking group' => 'Buchungsgruppe', |
489 | 490 |
'Booking group #1 needs a valid expense account' => 'Buchungsgruppe #1 braucht ein gültiges Aufwandskonto', |
490 | 491 |
'Booking group #1 needs a valid income account' => 'Buchungsgruppe #1 braucht ein gültiges Erfolgskonto', |
locale/en/all | ||
---|---|---|
485 | 485 |
'Bis Konto: ' => '', |
486 | 486 |
'Body' => '', |
487 | 487 |
'Body:' => '', |
488 |
'Booked' => '', |
|
488 | 489 |
'Booking group' => '', |
489 | 490 |
'Booking group #1 needs a valid expense account' => '', |
490 | 491 |
'Booking group #1 needs a valid income account' => '', |
templates/webpages/time_recording/_filter.html | ||
---|---|---|
41 | 41 |
</tr> |
42 | 42 |
[%- END -%] |
43 | 43 |
|
44 |
<tr> |
|
45 |
<th align="right">[% 'Booked' | $T8 %]</th> |
|
46 |
<td>[% L.select_tag('filter.booked', [ [ '1', LxERP.t8('Yes') ], [ '0', LxERP.t8('No') ] ], default=filter.booked, with_empty=1, style="width: 200px") %]</td> |
|
47 |
</tr> |
|
48 |
|
|
44 | 49 |
</table> |
45 | 50 |
|
46 | 51 |
[% L.hidden_tag('sort_by', FORM.sort_by) %] |
Auch abrufbar als: Unified diff
Zeiterfassung: Bericht: "gebucht" anzeigen und danach filtern können