X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_units.html;h=1879d56b96be49886f3a42244f54773814f2baa3;hb=3624b119556731da41e4ad395491ebb067f26565;hp=6494470132b712bfa0b236478063b7ae46de2033;hpb=2d3f862b7af94f31860dd264eef7c1bc7de7eae2;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_units.html b/templates/webpages/am/edit_units.html index 649447013..1879d56b9 100644 --- a/templates/webpages/am/edit_units.html +++ b/templates/webpages/am/edit_units.html @@ -1,5 +1,6 @@ -[%- USE T8 %] -[% USE HTML %] +[%- USE T8 %][%- USE LxERP %][% USE L %] +[% USE HTML %] +

[% title %]

[% IF saved_message %]

[% saved_message %]

@@ -11,22 +12,16 @@ - - - - - -
[% title %]
-

- Einheiten haben entweder keine oder genau eine Basiseinheit, von der sie ein Vielfaches sind. Wenn Sie eine Basiseinheit auswählen, dann müssen Sie auch einen Faktor eingeben. Sie müssen Einheiten als ein Vielfaches einer kleineren Einheit eingeben. So ist die Definition von "kg" mit der Basiseinheit "g" und dem Faktor 1000 zulässig, die Definition von "g" mit der Basiseinheit "kg" und dem Faktor "0,001" hingegen nicht. + [% LxERP.t8('All units have either no or exactly one base unit of which they are multiples.') %] + [% LxERP.t8('If you select a base unit then you also have to enter a factor.') %] + [% LxERP.t8('You have to define a unit as a multiple of a smaller unit.') %] + [% LxERP.t8('Therefore the definition of "kg" with the base unit "g" and a factor of 1000 is valid while defining "g" with a base unit of "kg" and a factor of "0.001" is not.') %]


- - -
[% 'Add unit' | $T8 %]
+

[% 'Add unit' | $T8 %]

@@ -60,9 +55,7 @@
-
- -
[% 'Edit units' | $T8 %]
+

[% 'Edit units' | $T8 %]

[% 'Units that have already been used (e.g. for parts and services or in invoices or warehouse transactions) cannot be changed.' | $T8 %] @@ -76,21 +69,24 @@ [% 'You can declare different translations for singular and plural for each unit (e.g. "day" and "days).' | $T8 %]

- - - - - - - +
[% 'up' | $T8 %][% 'down' | $T8 %][% 'Delete' | $T8 %][% 'Unit' | $T8 %][% 'Base unit' | $T8 %][% 'Factor' | $T8 %]
+ + + + + + + [% FOREACH language = LANGUAGES %] - + [% END %] + + [% FOREACH row = UNITS %] - - + + [% IF row.in_use %] [% END %] - - [% IF loop.last %][% END %] [% END %] +
[%- LxERP.t8('reorder item') %][% 'Delete' | $T8 %][% 'Unit' | $T8 %][% 'Base unit' | $T8 %][% 'Factor' | $T8 %][% language.description %][% language.description %]
[% IF loop.first %][% ELSE %][% 'up' | $T8 %][% END %][% IF loop.last %][% ELSE %][% 'down' | $T8 %][% END %]
[%- LxERP.t8('reorder item') %] @@ -125,14 +121,15 @@
+ + - - + [% L.sortable_element('#unit_list tbody', url => 'controller.pl?action=Unit/reorder', with => 'unit_id') %] +