From a1617affd108681e6a8898733c539a9a2a2a84ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Fri, 3 Dec 2021 15:30:17 +0100 Subject: [PATCH] =?utf8?q?ShopPart-Template:=20Toten=20Code=20raus,=20Tote?= =?utf8?q?=20Parameter=20raus,=20Einr=C3=BCckung?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/shop_part/edit.html | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/templates/webpages/shop_part/edit.html b/templates/webpages/shop_part/edit.html index 59bd27923..cbafd32ad 100644 --- a/templates/webpages/shop_part/edit.html +++ b/templates/webpages/shop_part/edit.html @@ -60,18 +60,11 @@ [% 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')) %] - - -- 2.20.1