Revision dfe3ef68
Von Bernd Bleßmann vor etwa 4 Jahren hinzugefügt
SL/Controller/SimpleSystemSetting.pm | ||
---|---|---|
268 | 268 |
], |
269 | 269 |
}, |
270 | 270 |
|
271 |
time_recording_article => { |
|
272 |
# Make locales.pl happy: $self->render("simple_system_setting/_time_recording_article_form") |
|
273 |
class => 'TimeRecordingArticle', |
|
274 |
auth => 'config', |
|
275 |
titles => { |
|
276 |
list => t8('Time Recording Articles'), |
|
277 |
add => t8('Add time recording article'), |
|
278 |
edit => t8('Edit time recording article'), |
|
279 |
}, |
|
280 |
list_attributes => [ |
|
281 |
{ title => t8('Article'), formatter => sub { $_[0]->part->displayable_name } }, |
|
282 |
], |
|
283 |
}, |
|
284 |
|
|
271 | 285 |
); |
272 | 286 |
|
273 | 287 |
my @default_list_attributes = ( |
locale/de/all | ||
---|---|---|
236 | 236 |
'Add sub function block' => 'Unterfunktionsblock hinzufügen', |
237 | 237 |
'Add taxzone' => 'Steuerzone hinzufügen', |
238 | 238 |
'Add text block' => 'Textblock erfassen', |
239 |
'Add time recording article' => 'Artikel für Zeiterfassung erfassen', |
|
239 | 240 |
'Add title' => 'Titel hinzufügen', |
240 | 241 |
'Add unit' => 'Einheit hinzufügen', |
241 | 242 |
'Added sections and function blocks: #1' => 'Hinzugefügte Abschnitte und Funktionsblöcke: #1', |
... | ... | |
1263 | 1264 |
'Edit the request_quotation' => 'Bearbeiten der Preisanfrage', |
1264 | 1265 |
'Edit the sales_order' => 'Bearbeiten des Auftrags', |
1265 | 1266 |
'Edit the sales_quotation' => 'Bearbeiten des Angebots', |
1267 |
'Edit time recording article' => 'Artikel für Zeiterfassung bearbeiten', |
|
1266 | 1268 |
'Edit time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter bearbeiten', |
1267 | 1269 |
'Edit title' => 'Titiel bearbeiten', |
1268 | 1270 |
'Edit units' => 'Einheiten bearbeiten', |
... | ... | |
3720 | 3722 |
'Time' => 'Zeit', |
3721 | 3723 |
'Time Format' => 'Uhrzeitformat', |
3722 | 3724 |
'Time Recording' => 'Zeiterfassung', |
3725 |
'Time Recording Articles' => 'Artikel für Zeiterfassung', |
|
3723 | 3726 |
'Time Recordings' => 'Zeiterfassung', |
3724 | 3727 |
'Time and price estimate' => 'Zeit- und Preisschätzung', |
3725 | 3728 |
'Time estimate' => 'Zeitschätzung', |
locale/en/all | ||
---|---|---|
236 | 236 |
'Add sub function block' => '', |
237 | 237 |
'Add taxzone' => '', |
238 | 238 |
'Add text block' => '', |
239 |
'Add time recording article' => '', |
|
239 | 240 |
'Add title' => '', |
240 | 241 |
'Add unit' => '', |
241 | 242 |
'Added sections and function blocks: #1' => '', |
... | ... | |
1263 | 1264 |
'Edit the request_quotation' => '', |
1264 | 1265 |
'Edit the sales_order' => '', |
1265 | 1266 |
'Edit the sales_quotation' => '', |
1267 |
'Edit time recording article' => '', |
|
1266 | 1268 |
'Edit time recordings of all staff members' => '', |
1267 | 1269 |
'Edit title' => '', |
1268 | 1270 |
'Edit units' => '', |
... | ... | |
3719 | 3721 |
'Time' => '', |
3720 | 3722 |
'Time Format' => '', |
3721 | 3723 |
'Time Recording' => '', |
3724 |
'Time Recording Articles' => '', |
|
3722 | 3725 |
'Time Recordings' => '', |
3723 | 3726 |
'Time and price estimate' => '', |
3724 | 3727 |
'Time estimate' => '', |
menus/user/10-time-recording.yaml | ||
---|---|---|
1 | 1 |
--- |
2 |
- parent: system |
|
3 |
id: system_time_recording_articles |
|
4 |
name: Time Recording Articles |
|
5 |
order: 2370 |
|
6 |
params: |
|
7 |
action: SimpleSystemSetting/list |
|
8 |
type: time_recording_article |
|
2 | 9 |
- parent: productivity |
3 | 10 |
id: productivity_time_recording |
4 | 11 |
name: Time Recording |
templates/webpages/simple_system_setting/_time_recording_article_form.html | ||
---|---|---|
1 |
[%- USE LxERP -%] |
|
2 |
[%- USE L -%] |
|
3 |
[%- USE P -%] |
|
4 |
<table> |
|
5 |
<tr> |
|
6 |
<th align="right">[% LxERP.t8("Article") %]</th> |
|
7 |
<td> |
|
8 |
[% P.part.picker('object.part_id', SELF.object.part, convertible_unit='min', "data-validate"="required", "data-title"=LxERP.t8("Article")) %] |
|
9 |
</td> |
|
10 |
</tr> |
|
11 |
</table> |
Auch abrufbar als: Unified diff
Zeiterfassung: SimpleSettings für Artikel