From: Jan Büren Date: Fri, 3 Dec 2021 14:30:17 +0000 (+0100) Subject: ShopPart-Template: Toten Code raus, Tote Parameter raus, Einrückung X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~218^2~17 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a1617affd108681e6a8898733c539a9a2a2a84ad;p=kivitendo-erp.git ShopPart-Template: Toten Code raus, Tote Parameter raus, Einrückung --- 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')) %] - -