Revision 0da98971
Von Bernd Bleßmann vor fast 4 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 | ||
---|---|---|
479 | 479 |
'Bis Konto: ' => 'bis Konto: ', |
480 | 480 |
'Body' => 'Text', |
481 | 481 |
'Body:' => 'Text:', |
482 |
'Booked' => 'gebucht', |
|
482 | 483 |
'Booking group' => 'Buchungsgruppe', |
483 | 484 |
'Booking group #1 needs a valid expense account' => 'Buchungsgruppe #1 braucht ein gültiges Aufwandskonto', |
484 | 485 |
'Booking group #1 needs a valid income account' => 'Buchungsgruppe #1 braucht ein gültiges Erfolgskonto', |
locale/en/all | ||
---|---|---|
479 | 479 |
'Bis Konto: ' => '', |
480 | 480 |
'Body' => '', |
481 | 481 |
'Body:' => '', |
482 |
'Booked' => '', |
|
482 | 483 |
'Booking group' => '', |
483 | 484 |
'Booking group #1 needs a valid expense account' => '', |
484 | 485 |
'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