Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 444983ea

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 444983ea46e884d174b004dc49d00a78d34b8df0
  • Vorgänger 55035612
  • Nachfolger b9c13b70

Neues kivitendo Design Aenderungen in templates/webpages/shop*

Dateien shop_order/* shop_part/* shops/*

Unterschiede anzeigen:

templates/webpages/shop_order/_transfer_status.html
1
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%]
1
[% USE LxERP %]
2
[% USE L %]
3
[% USE HTML %]
2 4
[% SET data = job.data_as_hash %]
5
<!-- STANDARD-EINZUG IN DER KIVITENDO-PROGRAMMIERUNG IST 2 LEERZEICHEN - BITTE IN ZUKUNFT EINHALTEN! -->
3 6

  
4 7
<h2>[% LxERP.t8("Watch status") %]</h2>
5 8

  
6 9
[% L.hidden_tag('', job.id, id="smt_job_id") %]
7 10

  
8
JOBID: [% job.id %] <p>
9
 [% LxERP.t8("This status output will be refreshed every five seconds.") %]
10
</p>
11 11
<p>
12
  JOBID: <b>[% job.id %]</b><br>
13
  [% LxERP.t8("This status output will be refreshed every five seconds.") %]
12 14
</p>
13
<p>
14
 [% L.link("#", LxERP.t8("Close window"), onclick="kivi.ShopOrder.processClose();") %]
15
 <table>
16
  <tr>
17
   <th valign="top" align="left">[% LxERP.t8("Current status:") %]</th>
18
   <td valign="top">
19
    [% IF !data.status %]
20
     [% LxERP.t8("waiting for job to be started") %]
21
    [% ELSIF data.status == 1 %]
22
     [% LxERP.t8("Converting to deliveryorder") %]
23
     [% ELSE %]
24
     [% LxERP.t8("Done.") %]
25
    [% END %]
26
   </td>
27
  </tr>
28
  <tr>
29
   <th valign="top" align="left">[% LxERP.t8("Number of orders created:") %]</th>
30
   <td valign="top">[% IF data.status > 0 %][% HTML.escape(data.num_order_created) %] / [% HTML.escape(data.shop_order_record_ids.size) %][% ELSE %]–[% END %]</td>
31
  </tr>
32

  
33

  
34
  <tr>
35
   <th valign="top" align="left">[% LxERP.t8("Errors during conversion:") %]</th>
36
   <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>
37 44
[% IF !data.status %]
38 45
39 46
[% ELSIF !data.conversion_errors.size %]
40
 [% LxERP.t8("No errors have occurred.") %]
47
  [% LxERP.t8("No errors have occurred.") %]
41 48
[% ELSE %]
42
    <table>
43
     <tr class="listheader">
44
      <th>[% LxERP.t8("Shoporder") %]</th>
45
      <th>[% LxERP.t8("Error") %]</th>
46
     </tr>
47

  
48
 [% FOREACH error = data.conversion_errors %]
49
     <tr>
50
      <td valign="top">[% HTML.escape(error.number) %]</td>
51
      <td valign="top">[% FOREACH message = error.message %][% HTML.escape(message) %]<br>[% END %]</td>
52
     </tr>
53
 [% END %]
54
    </table>
55
[% END %]
56
   </td>
57
  </tr>
58
 </table>
59
</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