X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgeneric%2Fnew_item.html;h=0a37257d7dbe9a29cc5b8a58a7bfd93175828eba;hb=a1617affd108681e6a8898733c539a9a2a2a84ad;hp=d79f88a7d7c3a51d9e5682e6d714047b61c06c17;hpb=5067d7bd31514962af9730b33323b831d87164f8;p=kivitendo-erp.git diff --git a/templates/webpages/generic/new_item.html b/templates/webpages/generic/new_item.html index d79f88a7d..0a37257d7 100644 --- a/templates/webpages/generic/new_item.html +++ b/templates/webpages/generic/new_item.html @@ -1,34 +1,34 @@ [%- USE T8 %] [%- USE HTML %] -
-[%- IF is_wrong_pclass == 1 %] +[%- IF is_wrong_pclass == NOTFORSALE %]

[% 'searched part not for sale' | $T8 %]

[%- ELSE %] -[%- IF is_wrong_pclass == 2 %] +[%- IF is_wrong_pclass == NOTFORPURCHASE %]

[% 'searched part not for purchase' | $T8 %]

[%- ELSE %] -[% IF INSTANCE_CONF.get_create_part_if_notfound %] - -

[% 'Item does not exists in File' | $T8 %] - +

[% 'Item does not exists in the database' | $T8 %] +[% IF INSTANCE_CONF.get_create_part_if_not_found %]

[% 'What type of item is this?' | $T8 %]

- +

-  [% 'Part' | $T8 %]
-  [% 'Service' | $T8 %] +  [% 'Part' | $T8 %]
+  [% 'Assembly' | $T8 %]
+  [% 'Service' | $T8 %]
+  [% 'Assortment' | $T8 %]

[%- FOREACH var = HIDDENS %] [%- END %] +

- - + + [%- ELSE %] -

[% 'Item does not exists in File' | $T8 %]

+ [%- END %] [%- END %] [%- END %] @@ -38,5 +38,3 @@ - -