X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/45c3c24a1f37a97b8fe2f73af72aad439b686381..b293ff8ad52fc76ba0c44783e3982418114d6b08:/templates/webpages/shop_part/edit.html diff --git a/templates/webpages/shop_part/edit.html b/templates/webpages/shop_part/edit.html index 418a632da..537953200 100644 --- a/templates/webpages/shop_part/edit.html +++ b/templates/webpages/shop_part/edit.html @@ -3,13 +3,11 @@ [%- USE L -%] [%- USE P -%] [%- USE LxERP -%] -[%- USE Dumper -%]

[% LxERP.t8("Part") %]: [% HTML.escape(SELF.shop_part.part.displayable_name) %]
[% LxERP.t8("Shop") %]: [% HTML.escape(SELF.shop_part.shop.description) %]

-[% # Dumper.dump_html(SELF) %]

[% IF SELF.shop_part.id %] @@ -20,10 +18,17 @@ [%- L.hidden_tag("shop_part.part_id", FORM.part_id) %] [% END %] + [% # L.dump(SELF.shop_part.shop) %] - + @@ -55,27 +60,14 @@
[% LxERP.t8("Description") %][% L.textarea_tag('shop_part.shop_description', SELF.shop_part.shop_description, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %] + [% IF SELF.shop_part.shop.use_part_longdescription %] + [% L.textarea_tag('notes', SELF.shop_part.part.notes, wrap="soft", readonly="readonly", style="width: 350px; height: 150px", class="texteditor") %] + [% ELSE %] + [% L.textarea_tag('shop_part.shop_description', SELF.shop_part.shop_description, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %] + [% END %] +
[% LxERP.t8("Active") %][% L.textarea_tag("shop_part.metatag_description", SELF.shop_part.metatag_description, rows=4) %]
- [% # L.dump(SELF.shop_part) %] - [% IF SELF.shop_part.id %] - [% L.button_tag("kivi.ShopPart.save_shop_part(" _ SELF.shop_part.id _ ")", LxERP.t8("Save")) %] + [% L.button_tag("kivi.ShopPart.save_shop_part(" _ SELF.shop_part.id _ ")", LxERP.t8("Save")) %] [% ELSE %] - [% L.button_tag("kivi.ShopPart.add_shop_part(" _ FORM.part_id _", " _ FORM.shop_id _")", LxERP.t8("Save")) %] + [% L.button_tag("kivi.ShopPart.add_shop_part()", LxERP.t8("Save")) %] [% END %] - [% # L.button_tag("kivi.ShopPart.update_partnumber()", LxERP.t8("Update Partnumber")) %] - - [% # L.hidden_tag("action", "ShopPart/dispatch") %] - [% # L.submit_tag('action_update', LxERP.t8('Save')) %] - -
- - [%- IF SELF.shop_part.part.image && INSTANCE_CONF.get_parts_show_image %] [%- END %] - -[% # SELF.shop_part.shop_description %] -[% # L.dump(SELF.shop_part) %]