[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%] [% L.stylesheet_tag('webshop') %] [%- INCLUDE 'common/flash.html' %]
[% 'Shop' | $T8 %] | [% FOREACH column = [ # [ column = [ row = [ element = [ element_text, element_value ], ... ], ... ], ... ] # a link is only generated if 'element_value' is set, otherwise the text is displayed [ [ [LxERP.t8('Shop orderdate'), 'order_date']], [ [LxERP.t8('Importdate'), 'itime']]], [ [ [LxERP.t8('Shop ordernumber'), 'shop_ordernumber']]], [ [ [LxERP.t8('Shop customernumber'), 'shop_customer_number']]], [ [ [LxERP.t8('Shop Customer Address')]], [ [LxERP.t8('Name'), 'customer_lastname'], ['|'], [LxERP.t8('Zip'), 'customer_zipcode'], ['|'], [LxERP.t8('Country'), 'customer_country']]], [ [ [LxERP.t8('Shop Customer Address')]], [ [LxERP.t8('Name'), 'billing_lastname'], ['|'], [LxERP.t8('Zip'), 'billing_zipcode'], ['|'], [LxERP.t8('Country'), 'billing_country']]], [ [ [LxERP.t8('Shop Customer Address')]], [ [LxERP.t8('Name'), 'delivery_lastname'], ['|'], [LxERP.t8('Zip'), 'delivery_zipcode'], ['|'], [LxERP.t8('Country'), 'delivery_country']]], [ [ [LxERP.t8('Notes'), 'shop_customer_comment']]], [ [ [LxERP.t8('Positions'), 'positions']], [ [LxERP.t8('Amount'), 'amount']], [ [LxERP.t8('Shippingcosts'), 'shipping_costs']]] ] %]
[% FOREACH row = column %]
[% IF !loop.first %]
[% END %] [% FOREACH element = row %] [% SET element_text = element.0 %] [% SET element_value = element.1 %] [% IF element_value %] [% SET sort_dir = (1 - FORM.sort_dir) * (FORM.sort_by == element_value) %] [% element_text %] [% IF FORM.sort_by == element_value %] [% IF sort_dir == 1 %] ![]() ![]() |
[% END %]
[% 'Action' | $T8 %] [% L.checkbox_tag('check_all') %] |
---|