Revision 2b5d9005
Von Bernd Bleßmann vor mehr als 3 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 | ||
---|---|---|
241 | 241 |
'Add sub function block' => 'Unterfunktionsblock hinzufügen', |
242 | 242 |
'Add taxzone' => 'Steuerzone hinzufügen', |
243 | 243 |
'Add text block' => 'Textblock erfassen', |
244 |
'Add time recording article' => 'Artikel für Zeiterfassung erfassen', |
|
244 | 245 |
'Add title' => 'Titel hinzufügen', |
245 | 246 |
'Add unit' => 'Einheit hinzufügen', |
246 | 247 |
'Added sections and function blocks: #1' => 'Hinzugefügte Abschnitte und Funktionsblöcke: #1', |
... | ... | |
1273 | 1274 |
'Edit the request_quotation' => 'Bearbeiten der Preisanfrage', |
1274 | 1275 |
'Edit the sales_order' => 'Bearbeiten des Auftrags', |
1275 | 1276 |
'Edit the sales_quotation' => 'Bearbeiten des Angebots', |
1277 |
'Edit time recording article' => 'Artikel für Zeiterfassung bearbeiten', |
|
1276 | 1278 |
'Edit time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter bearbeiten', |
1277 | 1279 |
'Edit title' => 'Titiel bearbeiten', |
1278 | 1280 |
'Edit units' => 'Einheiten bearbeiten', |
... | ... | |
3753 | 3755 |
'Time' => 'Zeit', |
3754 | 3756 |
'Time Format' => 'Uhrzeitformat', |
3755 | 3757 |
'Time Recording' => 'Zeiterfassung', |
3758 |
'Time Recording Articles' => 'Artikel für Zeiterfassung', |
|
3756 | 3759 |
'Time Recordings' => 'Zeiterfassung', |
3757 | 3760 |
'Time and price estimate' => 'Zeit- und Preisschätzung', |
3758 | 3761 |
'Time estimate' => 'Zeitschätzung', |
locale/en/all | ||
---|---|---|
241 | 241 |
'Add sub function block' => '', |
242 | 242 |
'Add taxzone' => '', |
243 | 243 |
'Add text block' => '', |
244 |
'Add time recording article' => '', |
|
244 | 245 |
'Add title' => '', |
245 | 246 |
'Add unit' => '', |
246 | 247 |
'Added sections and function blocks: #1' => '', |
... | ... | |
1273 | 1274 |
'Edit the request_quotation' => '', |
1274 | 1275 |
'Edit the sales_order' => '', |
1275 | 1276 |
'Edit the sales_quotation' => '', |
1277 |
'Edit time recording article' => '', |
|
1276 | 1278 |
'Edit time recordings of all staff members' => '', |
1277 | 1279 |
'Edit title' => '', |
1278 | 1280 |
'Edit units' => '', |
... | ... | |
3751 | 3753 |
'Time' => '', |
3752 | 3754 |
'Time Format' => '', |
3753 | 3755 |
'Time Recording' => '', |
3756 |
'Time Recording Articles' => '', |
|
3754 | 3757 |
'Time Recordings' => '', |
3755 | 3758 |
'Time and price estimate' => '', |
3756 | 3759 |
'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