Revision b081e2d9
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/mass_delivery_order_print/list_delivery_orders.html | ||
---|---|---|
4 | 4 |
|
5 | 5 |
<h1>[% FORM.title %]</h1> |
6 | 6 |
|
7 |
[%- INCLUDE "common/flash.html" %]
|
|
7 |
[% INCLUDE "common/flash.html" %] |
|
8 | 8 |
|
9 | 9 |
[% LIST_ACTION = 'action_list_delivery_orders' %] |
10 |
[%- PROCESS 'mass_delivery_order_print/_filter.html' filter=SELF.filter %]
|
|
10 |
[% PROCESS 'mass_delivery_order_print/_filter.html' filter=SELF.filter %] |
|
11 | 11 |
|
12 | 12 |
[% IF nowshow==1 %] |
13 | 13 |
[% delivery_orders = SELF.delivery_order_models.get; |
14 | 14 |
MODELS = SELF.delivery_order_models %] |
15 |
[%- IF !delivery_orders.size %]
|
|
15 |
[% IF !delivery_orders.size %] |
|
16 | 16 |
<p> |
17 |
[%- LxERP.t8("There are currently no delivery orders, or none matches your filter conditions.") %]
|
|
17 |
[% LxERP.t8("There are currently no delivery orders, or none matches your filter conditions.") %] |
|
18 | 18 |
</p> |
19 |
[%- ELSE %]
|
|
19 |
[% ELSE %] |
|
20 | 20 |
|
21 | 21 |
<form method="post" action="controller.pl"> |
22 | 22 |
<table width="100%"> |
23 | 23 |
<thead> |
24 |
<tr class="listheading">
|
|
24 |
<tr> |
|
25 | 25 |
<th>[% L.checkbox_tag("", id="check_all", checkall="[data-checkall=1]") %]</th> |
26 | 26 |
<th>[% L.sortable_table_header("transdate") %]</th> |
27 | 27 |
<th>[% L.sortable_table_header("reqdate") %]</th> |
... | ... | |
33 | 33 |
</thead> |
34 | 34 |
|
35 | 35 |
<tbody> |
36 |
[%- FOREACH delivery_order = delivery_orders %]
|
|
36 |
[% FOREACH delivery_order = delivery_orders %] |
|
37 | 37 |
[% delivery_order_id = delivery_order.id |
38 | 38 |
sales_order = delivery_order.sales_order %] |
39 | 39 |
<tr class="listrow"> |
... | ... | |
45 | 45 |
<td>[% HTML.escape(delivery_order.customer.name) %]</td> |
46 | 46 |
<td>[% HTML.escape(SELF.make_shipto_title(delivery_order.shipto || delivery_order.custom_shipto)) %]</td> |
47 | 47 |
</tr> |
48 |
[%- END %]
|
|
48 |
[% END %] |
|
49 | 49 |
</tbody> |
50 | 50 |
</table> |
51 | 51 |
|
... | ... | |
70 | 70 |
[% L.submit_tag("action_print", LxERP.t8("Print")) %] |
71 | 71 |
</p> |
72 | 72 |
</form> |
73 |
[%- END %] |
|
74 |
[%- END %] |
|
73 |
[% END %] |
|
74 |
[% END %] |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/mass_delivery_order_print/list_delivery_orders.html