X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/966ba2b155a1646d67ac8a8d1f3ec0527a268fb2..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/webpages/shop_part/edit.html diff --git a/templates/webpages/shop_part/edit.html b/templates/webpages/shop_part/edit.html index 5536ad715..537953200 100644 --- a/templates/webpages/shop_part/edit.html +++ b/templates/webpages/shop_part/edit.html @@ -18,10 +18,17 @@ [%- L.hidden_tag("shop_part.part_id", FORM.part_id) %] [% END %] + [% # L.dump(SELF.shop_part.shop) %] - + @@ -53,18 +60,11 @@
[% 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) %]
- [% 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')) %] - -