Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fb136c79

Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt

  • ID fb136c7994473ba71f9dade683c5e1f1543a7aa0
  • Vorgänger c47333a1
  • Nachfolger 19af626b

Neues Design 2019 Standard-Code templates/webpages/shop_order/_transfer_status.html

Unterschiede anzeigen:

templates/webpages/shop_order/_transfer_status.html
[% USE L %]
[% USE HTML %]
[% SET data = job.data_as_hash %]
<!-- STANDARD-EINZUG IN DER KIVITENDO-PROGRAMMIERUNG IST 2 LEERZEICHEN - BITTE IN ZUKUNFT EINHALTEN! -->
<h2>[% LxERP.t8("Watch status") %]</h2>
[% L.hidden_tag('', job.id, id="smt_job_id") %]
JOBID: [% job.id %] <p>
[% LxERP.t8("This status output will be refreshed every five seconds.") %]
</p>
<p>
JOBID: <b>[% job.id %]</b><br>
[% LxERP.t8("This status output will be refreshed every five seconds.") %]
</p>
<p>
[% L.link("#", LxERP.t8("Close window"), onclick="kivi.ShopOrder.processClose();") %]
<table>
<tr>
<th valign="top" align="left">[% LxERP.t8("Current status:") %]</th>
<td valign="top">
[% IF !data.status %]
[% LxERP.t8("waiting for job to be started") %]
[% ELSIF data.status == 1 %]
[% LxERP.t8("Converting to deliveryorder") %]
[% ELSE %]
[% LxERP.t8("Done.") %]
[% END %]
</td>
</tr>
<tr>
<th valign="top" align="left">[% LxERP.t8("Number of orders created:") %]</th>
<td valign="top">[% IF data.status > 0 %][% HTML.escape(data.num_order_created) %] / [% HTML.escape(data.shop_order_record_ids.size) %][% ELSE %]–[% END %]</td>
</tr>
<tr>
<th valign="top" align="left">[% LxERP.t8("Errors during conversion:") %]</th>
<td valign="top">
<div class="buttons">
[% L.link("#", LxERP.t8("Close window"), onclick="kivi.ShopOrder.processClose();", class="button neutral") %]
</div>
<table class="tbl-horizontal col">
<tbody>
<tr>
<th>[% LxERP.t8("Current status:") %]</th>
<td>
[% IF !data.status %]
[% LxERP.t8("waiting for job to be started") %]
[% ELSIF data.status == 1 %]
[% LxERP.t8("Converting to deliveryorder") %]
[% ELSE %]
[% LxERP.t8("Done.") %]
[% END %]
</td>
</tr>
<tr>
<th>[% LxERP.t8("Number of orders created:") %]</th>
<td>[% IF data.status > 0 %][% HTML.escape(data.num_order_created) %] / [% HTML.escape(data.shop_order_record_ids.size) %][% ELSE %]–[% END %]</td>
</tr>
</tbody>
</table>
<h3>[% LxERP.t8("Errors during conversion:") %]</h3>
[% IF !data.status %]
[% ELSIF !data.conversion_errors.size %]
[% LxERP.t8("No errors have occurred.") %]
[% LxERP.t8("No errors have occurred.") %]
[% ELSE %]
<table>
<tr class="listheader">
<th>[% LxERP.t8("Shoporder") %]</th>
<th>[% LxERP.t8("Error") %]</th>
</tr>
[% FOREACH error = data.conversion_errors %]
<tr>
<td valign="top">[% HTML.escape(error.number) %]</td>
<td valign="top">[% FOREACH message = error.message %][% HTML.escape(message) %]<br>[% END %]</td>
</tr>
[% END %]
</table>
[% END %]
</td>
</tr>
</table>
</p>
<table clas="tbl-list">
<thead>
<tr>
<th>[% LxERP.t8("Shoporder") %]</th>
<th>[% LxERP.t8("Error") %]</th>
</tr>
</thead>
<tbody>
[% FOREACH error = data.conversion_errors %]
<tr>
<td>[% HTML.escape(error.number) %]</td>
<td>[% FOREACH message = error.message %][% HTML.escape(message) %]<br>[% END %]</td>
</tr>
[% END %]
</tbody>
</table>
[% END %]

Auch abrufbar als: Unified diff