X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/webpages/shops/form.html diff --git a/templates/webpages/shops/form.html b/templates/webpages/shops/form.html new file mode 100644 index 000000000..2f08e7282 --- /dev/null +++ b/templates/webpages/shops/form.html @@ -0,0 +1,114 @@ +[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 -%] + +[% SET style="width: 400px" %] +[% SET size=34 %] + +

[% HTML.escape(title) %]

+
+ +[%- INCLUDE 'common/flash.html' %] + +[%- L.hidden_tag("id", SELF.shop.id) %] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[% 'Description' | $T8 %][%- L.input_tag("shop.description", SELF.shop.description, size=size) %]
[% 'Shop type' | $T8 %][% L.select_tag('shop.connector', SELF.connectors, value_key = 'id', title_key = 'description', with_empty = 0, default = SELF.shop.connector, default_value_key='id' ) %]
[% 'Price type' | $T8 %][% L.select_tag('shop.pricetype', SELF.price_types, value_key = 'id', title_key = 'name', with_empty = 0, default = SELF.shop.pricetype, default_value_key='id' ) %]
[% 'Price Source' | $T8 %][% L.select_tag('shop.price_source', SELF.price_sources, value_key = 'id', title_key = 'name', with_empty = 0, default = SELF.shop.price_source, default_value_key='id' ) %]
[% 'Bookinggroup/Tax' | $T8 %][% L.select_tag('shop.taxzone_id', SELF.taxzone_id, value_key = 'id', title_key = 'name', with_empty = 0, default = SELF.shop.taxzone_id, default_value_key='id' ) %]
[% 'Protocol' | $T8 %][% L.select_tag('shop.protocol', SELF.protocols value_key = 'id', title_key = 'name', with_empty = 0, default = SELF.shop.protocol, default_value_key='id' ) %]
[% 'Server' | $T8 %][%- L.input_tag("shop.server", SELF.shop.server, size=size) %]
[% 'Port' | $T8 %][%- L.input_tag("shop.port", SELF.shop.port, size=5) %]
[% 'Proxy' | $T8 %][%- L.input_tag("shop.proxy", SELF.shop.proxy, size=size) %]
[% 'Path' | $T8 %][%- L.input_tag("shop.path", SELF.shop.path, size=size) %]
[% 'Realm' | $T8 %][%- L.input_tag("shop.realm", SELF.shop.realm, size=size) %]
[% 'User' | $T8 %][%- L.input_tag("shop.login", SELF.shop.login, size=size) %]
[% 'Password' | $T8 %][%- L.input_tag("shop.password", SELF.shop.password, size=size) %]
[% 'Last ordernumber' | $T8 %][%- L.input_tag("shop.last_order_number", SELF.shop.last_order_number, size=12) %]
[% 'Orders to fetch' | $T8 %][%- L.input_tag("shop.orders_to_fetch", SELF.shop.orders_to_fetch, size=12) %]
[% '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) %]
[% 'Use Long Description from Parts for Shop Long Description' | $T8 %][% L.yes_no_tag('shop.use_part_longdescription', SELF.shop.use_part_longdescription) %]
+ +
+ + +