Revision 2b5d9005
Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt
SL/Controller/SimpleSystemSetting.pm | ||
---|---|---|
],
|
||
},
|
||
|
||
time_recording_article => {
|
||
# Make locales.pl happy: $self->render("simple_system_setting/_time_recording_article_form")
|
||
class => 'TimeRecordingArticle',
|
||
auth => 'config',
|
||
titles => {
|
||
list => t8('Time Recording Articles'),
|
||
add => t8('Add time recording article'),
|
||
edit => t8('Edit time recording article'),
|
||
},
|
||
list_attributes => [
|
||
{ title => t8('Article'), formatter => sub { $_[0]->part->displayable_name } },
|
||
],
|
||
},
|
||
|
||
);
|
||
|
||
my @default_list_attributes = (
|
locale/de/all | ||
---|---|---|
'Add sub function block' => 'Unterfunktionsblock hinzufügen',
|
||
'Add taxzone' => 'Steuerzone hinzufügen',
|
||
'Add text block' => 'Textblock erfassen',
|
||
'Add time recording article' => 'Artikel für Zeiterfassung erfassen',
|
||
'Add title' => 'Titel hinzufügen',
|
||
'Add unit' => 'Einheit hinzufügen',
|
||
'Added sections and function blocks: #1' => 'Hinzugefügte Abschnitte und Funktionsblöcke: #1',
|
||
... | ... | |
'Edit the request_quotation' => 'Bearbeiten der Preisanfrage',
|
||
'Edit the sales_order' => 'Bearbeiten des Auftrags',
|
||
'Edit the sales_quotation' => 'Bearbeiten des Angebots',
|
||
'Edit time recording article' => 'Artikel für Zeiterfassung bearbeiten',
|
||
'Edit time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter bearbeiten',
|
||
'Edit title' => 'Titiel bearbeiten',
|
||
'Edit units' => 'Einheiten bearbeiten',
|
||
... | ... | |
'Time' => 'Zeit',
|
||
'Time Format' => 'Uhrzeitformat',
|
||
'Time Recording' => 'Zeiterfassung',
|
||
'Time Recording Articles' => 'Artikel für Zeiterfassung',
|
||
'Time Recordings' => 'Zeiterfassung',
|
||
'Time and price estimate' => 'Zeit- und Preisschätzung',
|
||
'Time estimate' => 'Zeitschätzung',
|
locale/en/all | ||
---|---|---|
'Add sub function block' => '',
|
||
'Add taxzone' => '',
|
||
'Add text block' => '',
|
||
'Add time recording article' => '',
|
||
'Add title' => '',
|
||
'Add unit' => '',
|
||
'Added sections and function blocks: #1' => '',
|
||
... | ... | |
'Edit the request_quotation' => '',
|
||
'Edit the sales_order' => '',
|
||
'Edit the sales_quotation' => '',
|
||
'Edit time recording article' => '',
|
||
'Edit time recordings of all staff members' => '',
|
||
'Edit title' => '',
|
||
'Edit units' => '',
|
||
... | ... | |
'Time' => '',
|
||
'Time Format' => '',
|
||
'Time Recording' => '',
|
||
'Time Recording Articles' => '',
|
||
'Time Recordings' => '',
|
||
'Time and price estimate' => '',
|
||
'Time estimate' => '',
|
menus/user/10-time-recording.yaml | ||
---|---|---|
---
|
||
- parent: system
|
||
id: system_time_recording_articles
|
||
name: Time Recording Articles
|
||
order: 2370
|
||
params:
|
||
action: SimpleSystemSetting/list
|
||
type: time_recording_article
|
||
- parent: productivity
|
||
id: productivity_time_recording
|
||
name: Time Recording
|
templates/webpages/simple_system_setting/_time_recording_article_form.html | ||
---|---|---|
[%- USE LxERP -%]
|
||
[%- USE L -%]
|
||
[%- USE P -%]
|
||
<table>
|
||
<tr>
|
||
<th align="right">[% LxERP.t8("Article") %]</th>
|
||
<td>
|
||
[% P.part.picker('object.part_id', SELF.object.part, convertible_unit='min', "data-validate"="required", "data-title"=LxERP.t8("Article")) %]
|
||
</td>
|
||
</tr>
|
||
</table>
|
Auch abrufbar als: Unified diff
Zeiterfassung: SimpleSettings für Artikel