From: Werner Hahn Date: Wed, 7 Apr 2021 16:58:47 +0000 (+0200) Subject: Shops Standart Versandartikel X-Git-Tag: kivitendo-mebil_0.1-0~9^2~151 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=350fba592256b332e51ba09c5f65bada3836784d;p=kivitendo-erp.git Shops Standart Versandartikel --- diff --git a/sql/Pg-upgrade2/shops_4.sql b/sql/Pg-upgrade2/shops_4.sql new file mode 100644 index 000000000..78fe6c7b0 --- /dev/null +++ b/sql/Pg-upgrade2/shops_4.sql @@ -0,0 +1,6 @@ +-- @tag: shop_4 +-- @description: Add column default_shipping_costs_parts_id +-- @depends: shops +-- @ignore: 0 + +ALTER TABLE shops ADD COLUMN shipping_costs_parts_id integer; diff --git a/templates/webpages/shops/form.html b/templates/webpages/shops/form.html index 280c61b09..aae9d8a8b 100644 --- a/templates/webpages/shops/form.html +++ b/templates/webpages/shops/form.html @@ -71,6 +71,10 @@ [% 'Transaction description' | $T8 %] [%- L.input_tag("shop.transaction_description", SELF.shop.transaction_description, size=size) %] + + [% 'Default part for shipping costs' | $T8 %] + [%- P.part.picker('shop.shipping_costs_parts_id', 'SELF.shop.shipping_costs_parts_id', style="width: 300px") %] + [% 'Obsolete' | $T8 %] [% L.checkbox_tag('shop.obsolete', checked = SELF.shop.obsolete, for_submit=1) %]