X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgeneric%2Fnew_item.html;h=0a37257d7dbe9a29cc5b8a58a7bfd93175828eba;hb=3591b710cbe757a131ff768ed7d6066d8412bc0e;hp=3d6fbe08fe45499cf99d3579387e18b9e0fa07eb;hpb=aae0a190cc593b97fad6a1a2ad782940d8e31ad2;p=kivitendo-erp.git diff --git a/templates/webpages/generic/new_item.html b/templates/webpages/generic/new_item.html index 3d6fbe08f..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 %] + +

+ +