Revision c17605b2
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
- ID c17605b2b68ad3129d8d140024b4f209796404bd
- Vorgänger ea5b6825
templates/design40_webpages/shop_order/list.html | ||
---|---|---|
27 | 27 |
<thead class="links-condensed"> |
28 | 28 |
<tr> |
29 | 29 |
<th>[% 'Shop' | $T8 %]</th> |
30 |
<th> |
|
31 |
[% IF FORM.sort_by == 'order_date' %] |
|
32 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=order_date&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
33 |
[% 'Shop orderdate' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
34 |
[% ELSE %] |
|
35 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=order_date&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
36 |
[% 'Shop orderdate' | $T8 %]</a> |
|
37 |
[% END %] |
|
38 |
<br> |
|
39 |
[% IF FORM.sort_by == 'itime' %] |
|
40 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=itime&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
41 |
[% 'Importdate' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
42 |
[% ELSE %] |
|
43 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=itime&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
44 |
[% 'Importdate' | $T8 %]</a> |
|
45 |
[% END %] |
|
46 |
</th> |
|
47 |
<th> |
|
48 |
[% IF FORM.sort_by == 'shop_ordernumber' %] |
|
49 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_ordernumber&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
50 |
[% 'Shop ordernumber' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
51 |
[% ELSE %] |
|
52 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_ordernumber&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
53 |
[% 'Shop ordernumber' | $T8 %]</a> |
|
54 |
[% END %] |
|
55 |
</th> |
|
56 |
<th> |
|
57 |
[% IF FORM.sort_by == 'shop_customer_number' %] |
|
58 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_number&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
59 |
[% 'Shop customernumber' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
60 |
[% ELSE %] |
|
61 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_number&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
62 |
[% 'Shop customernumber' | $T8 %]</a> |
|
63 |
[% END %] |
|
64 |
</th> |
|
65 |
<th> |
|
66 |
[% 'Shop Customer Address' | $T8 %]<br> |
|
67 |
[% IF FORM.sort_by == 'customer_lastname' %] |
|
68 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_lastname&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
69 |
[% 'Name' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a>| |
|
70 |
[% ELSE %] |
|
71 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_lastname&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
72 |
[% 'Name' | $T8 %]</a>| |
|
73 |
[% END %] |
|
74 |
[% IF FORM.sort_by == 'customer_zipcode' %] |
|
75 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_zipcode&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
76 |
[% 'Zip' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a>| |
|
77 |
[% ELSE %] |
|
78 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_zipcode&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
79 |
[% 'Zip' | $T8 %]</a>| |
|
80 |
[% END %] |
|
81 |
[% IF FORM.sort_by == 'customer_country' %] |
|
82 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_country&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
83 |
[% 'Country' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
84 |
[% ELSE %] |
|
85 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_country&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
86 |
[% 'Country' | $T8 %]</a> |
|
87 |
[% END %] |
|
88 |
</th> |
|
89 |
<th> |
|
90 |
[% 'Shop Billing Address' | $T8 %]<br> |
|
91 |
[% IF FORM.sort_by == 'billing_lastname' %] |
|
92 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_lastname&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
93 |
[% 'Name' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %] |
|
94 |
</a>| |
|
95 |
[% ELSE %] |
|
96 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_lastname&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
97 |
[% 'Name' | $T8 %] |
|
98 |
</a>| |
|
99 |
[% END %] |
|
100 |
[% IF FORM.sort_by == 'billing_zipcode' %] |
|
101 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_zipcode&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
102 |
[% 'Zip' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %] |
|
103 |
</a>| |
|
104 |
[% ELSE %] |
|
105 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_zipcode&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
106 |
[% 'Zip' | $T8 %]</a>| |
|
107 |
[% END %] |
|
108 |
[% IF FORM.sort_by == 'billing_country' %] |
|
109 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_country&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
110 |
[% 'Country' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %] |
|
111 |
</a> |
|
112 |
[% ELSE %] |
|
113 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_country&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
114 |
[% 'Country' | $T8 %] |
|
115 |
</a> |
|
116 |
[% END %] |
|
117 |
</th> |
|
118 |
<th> |
|
119 |
[% 'Shop Delivery Address' | $T8 %]<br> |
|
120 |
[% IF FORM.sort_by == 'delivery_lastname' %] |
|
121 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_lastname&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
122 |
[% 'Name' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a>| |
|
123 |
[% ELSE %] |
|
124 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_lastname&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
125 |
[% 'Name' | $T8 %]</a>| |
|
126 |
[% END %] |
|
127 |
[% IF FORM.sort_by == 'delivery_zipcode' %] |
|
128 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_zipcode&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
129 |
[% 'Zip' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a>| |
|
130 |
[% ELSE %] |
|
131 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_zipcode&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
132 |
[% 'Zip' | $T8 %]</a>| |
|
133 |
[% END %] |
|
134 |
[% IF FORM.sort_by == 'delivery_country' %] |
|
135 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_country&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
136 |
[% 'Country' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
137 |
[% ELSE %] |
|
138 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_country&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
139 |
[% 'Country' | $T8 %]</a> |
|
30 |
[% FOREACH column = [ |
|
31 |
# [ column = [ row = [ element = [ element_text, element_value ], ... ], ... ], ... ] |
|
32 |
# a link is only generated if 'element_value' is set, otherwise the text is displayed |
|
33 |
[ [ [LxERP.t8('Shop orderdate'), 'order_date']], |
|
34 |
[ [LxERP.t8('Importdate'), 'itime']]], |
|
35 |
[ [ [LxERP.t8('Shop ordernumber'), 'shop_ordernumber']]], |
|
36 |
[ [ [LxERP.t8('Shop customernumber'), 'shop_customer_number']]], |
|
37 |
[ [ [LxERP.t8('Shop Customer Address')]], |
|
38 |
[ [LxERP.t8('Name'), 'customer_lastname'], ['|'], [LxERP.t8('Zip'), 'customer_zipcode'], ['|'], [LxERP.t8('Country'), 'customer_country']]], |
|
39 |
[ [ [LxERP.t8('Shop Customer Address')]], |
|
40 |
[ [LxERP.t8('Name'), 'billing_lastname'], ['|'], [LxERP.t8('Zip'), 'billing_zipcode'], ['|'], [LxERP.t8('Country'), 'billing_country']]], |
|
41 |
[ [ [LxERP.t8('Shop Customer Address')]], |
|
42 |
[ [LxERP.t8('Name'), 'delivery_lastname'], ['|'], [LxERP.t8('Zip'), 'delivery_zipcode'], ['|'], [LxERP.t8('Country'), 'delivery_country']]], |
|
43 |
[ [ [LxERP.t8('Notes'), 'shop_customer_comment']]], |
|
44 |
[ [ [LxERP.t8('Positions'), 'positions']], |
|
45 |
[ [LxERP.t8('Amount'), 'amount']], |
|
46 |
[ [LxERP.t8('Shippingcosts'), 'shipping_costs']]] |
|
47 |
] %] |
|
48 |
|
|
49 |
<th> |
|
50 |
[% FOREACH row = column %] |
|
51 |
[% IF !loop.first %] |
|
52 |
<br> |
|
53 |
[% END %] |
|
54 |
[% FOREACH element = row %] |
|
55 |
[% SET element_text = element.0 %] |
|
56 |
[% SET element_value = element.1 %] |
|
57 |
[% IF element_value %] |
|
58 |
[% SET sort_dir = (1 - FORM.sort_dir) * (FORM.sort_by == element_value) %] |
|
59 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=[% element_value %]&sort_dir=[% sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
60 |
[% element_text %] |
|
61 |
[% IF FORM.sort_by == element_value %] |
|
62 |
[% IF sort_dir == 1 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %] |
|
63 |
[% END %] |
|
64 |
</a> |
|
65 |
[% ELSE %] |
|
66 |
[% element_text %] |
|
67 |
[% END %] |
|
68 |
[% END %] |
|
140 | 69 |
[% END %] |
141 |
</th> |
|
142 |
<th> |
|
143 |
[% IF FORM.sort_by == 'shop_customer_comment' %] |
|
144 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_comment&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
145 |
[% 'Notes' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
146 |
[% ELSE %] |
|
147 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_comment&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
148 |
[% 'Notes' | $T8 %]</a> |
|
70 |
</th> |
|
149 | 71 |
[% END %] |
150 |
</th> |
|
151 |
<th> |
|
152 |
[% IF FORM.sort_by == 'positions' %] |
|
153 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=positions&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
154 |
[% 'Positions' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a><br> |
|
155 |
[% ELSE %] |
|
156 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=positions&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> [% 'Positions' | $T8 %]</a><br> |
|
157 |
[% END %] |
|
158 |
[% IF FORM.sort_by == 'amount' %] |
|
159 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=amount&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
160 |
[% 'Amount' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a><br> |
|
161 |
[% ELSE %] |
|
162 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=amount&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> [% 'Amount' | $T8 %]</a><br> |
|
163 |
[% END %] |
|
164 |
[% IF FORM.sort_by == 'shipping_costs' %] |
|
165 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shipping_costs&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
166 |
[% 'Shippingcosts' | $T8 %][% IF FORM.sort_dir == 0 %]<img src="image/down.png">[% ELSE %]<img src="image/up.png">[% END %]</a> |
|
167 |
[% ELSE %] |
|
168 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shipping_costs&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> [% 'Shippingcosts' | $T8 %]</a> |
|
169 |
[% END %] |
|
170 |
</th> |
|
171 | 72 |
<th>[% 'Action' | $T8 %]<br>[% L.checkbox_tag('check_all') %]</th> |
172 | 73 |
</tr> |
173 | 74 |
</thead> |
templates/webpages/shop_order/list.html | ||
---|---|---|
11 | 11 |
<thead> |
12 | 12 |
<tr class="listheading"> |
13 | 13 |
<th>[% 'Shop' | $T8 %]</th> |
14 |
<th>[% IF FORM.sort_by == 'order_date' %] |
|
15 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=order_date&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
16 |
[% 'Shop orderdate' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
17 |
[% ELSE %] |
|
18 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=order_date&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
19 |
[% 'Shop orderdate' | $T8 %]</a> |
|
20 |
[% END %] |
|
21 |
<br> |
|
22 |
[% IF FORM.sort_by == 'itime' %] |
|
23 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=itime&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
24 |
[% 'Importdate' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
25 |
[% ELSE %] |
|
26 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=itime&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
27 |
[% 'Importdate' | $T8 %]</a> |
|
28 |
[% END %] |
|
29 |
</th> |
|
30 |
<th>[% IF FORM.sort_by == 'shop_ordernumber' %] |
|
31 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_ordernumber&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
32 |
[% 'Shop ordernumber' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
33 |
[% ELSE %] |
|
34 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_ordernumber&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
35 |
[% 'Shop ordernumber' | $T8 %]</a> |
|
36 |
[% END %] |
|
37 |
</th> |
|
38 |
<th>[% IF FORM.sort_by == 'shop_customer_number' %] |
|
39 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_number&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
40 |
[% 'Shop customernumber' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
41 |
[% ELSE %] |
|
42 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_number&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
43 |
[% 'Shop customernumber' | $T8 %]</a> |
|
44 |
[% END %] |
|
45 |
</th> |
|
46 |
<th>[% 'Shop Customer Address' | $T8 %]<br> |
|
47 |
[% IF FORM.sort_by == 'customer_lastname' %] |
|
48 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_lastname&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
49 |
[% 'Name' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>| |
|
50 |
[% ELSE %] |
|
51 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_lastname&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
52 |
[% 'Name' | $T8 %]</a>| |
|
53 |
[% END %] |
|
54 |
[% IF FORM.sort_by == 'customer_zipcode' %] |
|
55 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_zipcode&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
56 |
[% 'Zip' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>| |
|
57 |
[% ELSE %] |
|
58 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_zipcode&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
59 |
[% 'Zip' | $T8 %]</a>| |
|
60 |
[% END %] |
|
61 |
[% IF FORM.sort_by == 'customer_country' %] |
|
62 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_country&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
63 |
[% 'Country' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
64 |
[% ELSE %] |
|
65 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=customer_country&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
66 |
[% 'Country' | $T8 %]</a> |
|
67 |
[% END %] |
|
68 |
</th> |
|
69 |
<th>[% 'Shop Billing Address' | $T8 %]</br> |
|
70 |
[% IF FORM.sort_by == 'billing_lastname' %] |
|
71 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_lastname&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
72 |
[% 'Name' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>| |
|
73 |
[% ELSE %] |
|
74 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_lastname&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
75 |
[% 'Name' | $T8 %]</a>| |
|
76 |
[% END %] |
|
77 |
[% IF FORM.sort_by == 'billing_zipcode' %] |
|
78 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_zipcode&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
79 |
[% 'Zip' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>| |
|
80 |
[% ELSE %] |
|
81 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_zipcode&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
82 |
[% 'Zip' | $T8 %]</a>| |
|
83 |
[% END %] |
|
84 |
[% IF FORM.sort_by == 'billing_country' %] |
|
85 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_country&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
86 |
[% 'Country' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
87 |
[% ELSE %] |
|
88 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=billing_country&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
89 |
[% 'Country' | $T8 %]</a> |
|
90 |
[% END %] |
|
91 |
</th> |
|
92 |
<th>[% 'Shop Delivery Address' | $T8 %]</br> |
|
93 |
[% IF FORM.sort_by == 'delivery_lastname' %] |
|
94 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_lastname&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
95 |
[% 'Name' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>| |
|
96 |
[% ELSE %] |
|
97 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_lastname&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
98 |
[% 'Name' | $T8 %]</a>| |
|
99 |
[% END %] |
|
100 |
[% IF FORM.sort_by == 'delivery_zipcode' %] |
|
101 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_zipcode&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
102 |
[% 'Zip' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>| |
|
103 |
[% ELSE %] |
|
104 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_zipcode&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
105 |
[% 'Zip' | $T8 %]</a>| |
|
106 |
[% END %] |
|
107 |
[% IF FORM.sort_by == 'delivery_country' %] |
|
108 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_country&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
109 |
[% 'Country' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
110 |
[% ELSE %] |
|
111 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=delivery_country&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
112 |
[% 'Country' | $T8 %]</a> |
|
113 |
[% END %] |
|
14 |
[% FOREACH column = [ |
|
15 |
# [ column = [ row = [ element = [ element_text, element_value ], ... ], ... ], ... ] |
|
16 |
# a link is only generated if 'element_value' is set, otherwise the text is displayed |
|
17 |
[ [ [LxERP.t8('Shop orderdate'), 'order_date']], |
|
18 |
[ [LxERP.t8('Importdate'), 'itime']]], |
|
19 |
[ [ [LxERP.t8('Shop ordernumber'), 'shop_ordernumber']]], |
|
20 |
[ [ [LxERP.t8('Shop customernumber'), 'shop_customer_number']]], |
|
21 |
[ [ [LxERP.t8('Shop Customer Address')]], |
|
22 |
[ [LxERP.t8('Name'), 'customer_lastname'], ['|'], [LxERP.t8('Zip'), 'customer_zipcode'], ['|'], [LxERP.t8('Country'), 'customer_country']]], |
|
23 |
[ [ [LxERP.t8('Shop Customer Address')]], |
|
24 |
[ [LxERP.t8('Name'), 'billing_lastname'], ['|'], [LxERP.t8('Zip'), 'billing_zipcode'], ['|'], [LxERP.t8('Country'), 'billing_country']]], |
|
25 |
[ [ [LxERP.t8('Shop Customer Address')]], |
|
26 |
[ [LxERP.t8('Name'), 'delivery_lastname'], ['|'], [LxERP.t8('Zip'), 'delivery_zipcode'], ['|'], [LxERP.t8('Country'), 'delivery_country']]], |
|
27 |
[ [ [LxERP.t8('Notes'), 'shop_customer_comment']]], |
|
28 |
[ [ [LxERP.t8('Positions'), 'positions']], |
|
29 |
[ [LxERP.t8('Amount'), 'amount']], |
|
30 |
[ [LxERP.t8('Shippingcosts'), 'shipping_costs']]] |
|
31 |
] %] |
|
32 |
|
|
33 |
<th> |
|
34 |
[% FOREACH row = column %] |
|
35 |
[% IF !loop.first %] |
|
36 |
<br> |
|
37 |
[% END %] |
|
38 |
[% FOREACH element = row %] |
|
39 |
[% SET element_text = element.0 %] |
|
40 |
[% SET element_value = element.1 %] |
|
41 |
[% IF element_value %] |
|
42 |
[% SET sort_dir = (1 - FORM.sort_dir) * (FORM.sort_by == element_value) %] |
|
43 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=[% element_value %]&sort_dir=[% sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
44 |
[% element_text %] |
|
45 |
[% IF FORM.sort_by == element_value %] |
|
46 |
[% IF sort_dir == 1 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %] |
|
47 |
[% END %] |
|
48 |
</a> |
|
49 |
[% ELSE %] |
|
50 |
[% element_text %] |
|
51 |
[% END %] |
|
52 |
[% END %] |
|
53 |
[% END %] |
|
114 | 54 |
</th> |
115 |
<th>[% IF FORM.sort_by == 'shop_customer_comment' %] |
|
116 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_comment&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
117 |
[% 'Notes' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
118 |
[% ELSE %] |
|
119 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shop_customer_comment&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
120 |
[% 'Notes' | $T8 %]</a> |
|
121 | 55 |
[% END %] |
122 |
</th> |
|
123 |
<th> |
|
124 |
[% IF FORM.sort_by == 'positions' %] |
|
125 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=positions&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
126 |
[% 'Positions' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a><br> |
|
127 |
[% ELSE %] |
|
128 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=positions&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> [% 'Positions' | $T8 %]</a><br> |
|
129 |
[% END %] |
|
130 |
[% IF FORM.sort_by == 'amount' %] |
|
131 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=amount&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
132 |
[% 'Amount' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a><br> |
|
133 |
[% ELSE %] |
|
134 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=amount&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> [% 'Amount' | $T8 %]</a><br> |
|
135 |
[% END %] |
|
136 |
[% IF FORM.sort_by == 'shipping_costs' %] |
|
137 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shipping_costs&sort_dir=[% 1 - FORM.sort_dir %]&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> |
|
138 |
[% 'Shippingcosts' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a> |
|
139 |
[% ELSE %] |
|
140 |
<a href ="controller.pl?action=ShopOrder/list&filter.transferred:eq_ignore_empty=[% FORM.filter.transferred_eq_ignore_empty %]&sort_by=shipping_costs&sort_dir=0&filter.order_date:date::ge=[% FORM.filter.order_date_date__ge %]&filter.order_date:date::le=[% FORM.filter.order_date_date__le %]&filter.obsolete=[% FORM.filter.obsolete %]" class="sort_link"> [% 'Shippingcosts' | $T8 %]</a> |
|
141 |
[% END %] |
|
142 |
</th> |
|
143 | 56 |
<th>[% 'Action' | $T8 %]<br>[% L.checkbox_tag('check_all') %]</th> |
144 | 57 |
</tr> |
145 | 58 |
</thead> |
Auch abrufbar als: Unified diff
Shopimport: Generierung von Tabellenkopf