X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgeneric%2Fnew_item.html;h=0a37257d7dbe9a29cc5b8a58a7bfd93175828eba;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=1d3104a6d44d2ccc09968ed8b88e1469fecddb1a;hpb=b61f5c3df68e3a3b4fb6a8a287172b0989215748;p=kivitendo-erp.git diff --git a/templates/webpages/generic/new_item.html b/templates/webpages/generic/new_item.html index 1d3104a6d..0a37257d7 100644 --- a/templates/webpages/generic/new_item.html +++ b/templates/webpages/generic/new_item.html @@ -1,27 +1,40 @@ [%- USE T8 %] -[% USE HTML %] - -

[% 'Item not on file!' | $T8 %] - - +[%- USE HTML %] +[%- IF is_wrong_pclass == NOTFORSALE %] +

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

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

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

+[%- ELSE %] +

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

+ +