X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fam%2Fedit_units.html;h=00bea73cbbd26d16b4928bbdd3d9e1a98004d743;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=c9495e14e7ad2d0a56a6586597e8fc1ec9ffba59;hpb=7328cbd6ab400a613f6c160beffbdb3abb44c8ad;p=kivitendo-erp.git diff --git a/templates/webpages/am/edit_units.html b/templates/webpages/am/edit_units.html index c9495e14e..00bea73cb 100644 --- a/templates/webpages/am/edit_units.html +++ b/templates/webpages/am/edit_units.html @@ -1,92 +1,33 @@ [%- USE T8 %][%- USE LxERP %][% USE L %] [% USE HTML %] +

[% title %]

- +[% INCLUDE "common/flash.html" %] - +[% PROCESS "am/_units_header_info.html" %] - [% IF saved_message %] -

[% saved_message %]

+
-
- [% END %] +

+ [% 'Units that have already been used (e.g. for parts and services or in invoices or warehouse transactions) cannot be changed.' | $T8 %] +

-
+

+ [% 'Units marked for deletion will be deleted upon saving.' | $T8 %] +

- - - - - - - -
[% title %]
- -

- [% 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 %]
- - - - - - - - - - - - - - +

+ [% 'You can declare different translations for singular and plural for each unit (e.g. "day" and "days).' | $T8 %] +

- [% FOREACH language = LANGUAGES %] - - - - - - - [% END %] -
[% 'Unit' | $T8 %]
[% 'Base unit' | $T8 %] - -
[% 'Factor' | $T8 %]
[% language.description %][% 'Plural' | $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 %] -

- -

- [% 'Units marked for deletion will be deleted upon saving.' | $T8 %] -

+ -

- [% 'You can declare different translations for singular and plural for each unit (e.g. "day" and "days).' | $T8 %] -

+ - + @@ -100,7 +41,7 @@ [% FOREACH row = UNITS %] - + [% IF row.in_use %]
[ LxERP.t8('reorder item') %][%- LxERP.t8('reorder item') %] [% 'Delete' | $T8 %] [% 'Unit' | $T8 %] [% 'Base unit' | $T8 %]
[ LxERP.t8('reorder item') %][%- LxERP.t8('reorder item') %] @@ -141,11 +82,6 @@ - - [% L.sortable_element('#unit_list tbody', url => 'controller.pl?action=Unit/reorder', with => 'unit_id') %] - - -