Revision 6f4e11d0
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/shop_order/_transfer_status.html | ||
---|---|---|
2 | 2 |
[% USE L %] |
3 | 3 |
[% USE HTML %] |
4 | 4 |
[% SET data = job.data_as_hash %] |
5 |
<!-- STANDARD-EINZUG IN DER KIVITENDO-PROGRAMMIERUNG IST 2 LEERZEICHEN - BITTE IN ZUKUNFT EINHALTEN! --> |
|
5 | 6 |
|
6 | 7 |
<h2>[% LxERP.t8("Watch status") %]</h2> |
7 | 8 |
|
8 | 9 |
[% L.hidden_tag('', job.id, id="smt_job_id") %] |
9 | 10 |
|
10 |
JOBID: [% job.id %] <p> |
|
11 |
[% LxERP.t8("This status output will be refreshed every five seconds.") %] |
|
12 |
</p> |
|
13 | 11 |
<p> |
12 |
JOBID: <b>[% job.id %]</b><br> |
|
13 |
[% LxERP.t8("This status output will be refreshed every five seconds.") %] |
|
14 | 14 |
</p> |
15 |
<p> |
|
16 |
[% L.link("#", LxERP.t8("Close window"), onclick="kivi.ShopOrder.processClose();") %] |
|
17 |
<table> |
|
18 |
<tr> |
|
19 |
<th valign="top" align="left">[% LxERP.t8("Current status:") %]</th> |
|
20 |
<td valign="top"> |
|
21 |
[% IF !data.status %] |
|
22 |
[% LxERP.t8("waiting for job to be started") %] |
|
23 |
[% ELSIF data.status == 1 %] |
|
24 |
[% LxERP.t8("Converting to deliveryorder") %] |
|
25 |
[% ELSE %] |
|
26 |
[% LxERP.t8("Done.") %] |
|
27 |
[% END %] |
|
28 |
</td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<th valign="top" align="left">[% LxERP.t8("Number of orders created:") %]</th> |
|
32 |
<td valign="top">[% IF data.status > 0 %][% HTML.escape(data.num_order_created) %] / [% HTML.escape(data.shop_order_record_ids.size) %][% ELSE %]–[% END %]</td> |
|
33 |
</tr> |
|
34 |
|
|
35 |
|
|
36 |
<tr> |
|
37 |
<th valign="top" align="left">[% LxERP.t8("Errors during conversion:") %]</th> |
|
38 |
<td valign="top"> |
|
15 |
|
|
16 |
|
|
17 |
<div class="buttons"> |
|
18 |
[% L.link("#", LxERP.t8("Close window"), onclick="kivi.ShopOrder.processClose();", class="button neutral") %] |
|
19 |
</div> |
|
20 |
|
|
21 |
<table class="tbl-horizontal col"> |
|
22 |
<tbody> |
|
23 |
<tr> |
|
24 |
<th>[% LxERP.t8("Current status:") %]</th> |
|
25 |
<td> |
|
26 |
[% IF !data.status %] |
|
27 |
[% LxERP.t8("waiting for job to be started") %] |
|
28 |
[% ELSIF data.status == 1 %] |
|
29 |
[% LxERP.t8("Converting to deliveryorder") %] |
|
30 |
[% ELSE %] |
|
31 |
[% LxERP.t8("Done.") %] |
|
32 |
[% END %] |
|
33 |
</td> |
|
34 |
</tr> |
|
35 |
<tr> |
|
36 |
<th>[% LxERP.t8("Number of orders created:") %]</th> |
|
37 |
<td>[% IF data.status > 0 %][% HTML.escape(data.num_order_created) %] / [% HTML.escape(data.shop_order_record_ids.size) %][% ELSE %]–[% END %]</td> |
|
38 |
</tr> |
|
39 |
</tbody> |
|
40 |
</table> |
|
41 |
|
|
42 |
|
|
43 |
<h3>[% LxERP.t8("Errors during conversion:") %]</h3> |
|
39 | 44 |
[% IF !data.status %] |
40 | 45 |
– |
41 | 46 |
[% ELSIF !data.conversion_errors.size %] |
42 |
[% LxERP.t8("No errors have occurred.") %] |
|
47 |
[% LxERP.t8("No errors have occurred.") %]
|
|
43 | 48 |
[% ELSE %] |
44 |
<table> |
|
45 |
<tr class="listheader"> |
|
46 |
<th>[% LxERP.t8("Shoporder") %]</th> |
|
47 |
<th>[% LxERP.t8("Error") %]</th> |
|
48 |
</tr> |
|
49 |
|
|
50 |
[% FOREACH error = data.conversion_errors %] |
|
51 |
<tr> |
|
52 |
<td valign="top">[% HTML.escape(error.number) %]</td> |
|
53 |
<td valign="top">[% FOREACH message = error.message %][% HTML.escape(message) %]<br>[% END %]</td> |
|
54 |
</tr> |
|
55 |
[% END %] |
|
56 |
</table> |
|
57 |
[% END %] |
|
58 |
</td> |
|
59 |
</tr> |
|
60 |
</table> |
|
61 |
</p> |
|
49 |
<table clas="tbl-list"> |
|
50 |
<thead> |
|
51 |
<tr> |
|
52 |
<th>[% LxERP.t8("Shoporder") %]</th> |
|
53 |
<th>[% LxERP.t8("Error") %]</th> |
|
54 |
</tr> |
|
55 |
</thead> |
|
56 |
<tbody> |
|
57 |
[% FOREACH error = data.conversion_errors %] |
|
58 |
<tr> |
|
59 |
<td>[% HTML.escape(error.number) %]</td> |
|
60 |
<td>[% FOREACH message = error.message %][% HTML.escape(message) %]<br>[% END %]</td> |
|
61 |
</tr> |
|
62 |
[% END %] |
|
63 |
</tbody> |
|
64 |
</table> |
|
65 |
[% END %] |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/shop_order/_transfer_status.html