X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fshop_order%2F_transfer_status.html;fp=templates%2Fwebpages%2Fshop_order%2F_transfer_status.html;h=24b7bf97d1bc4ea1544a76cae9fcfdf7d205a51d;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=0000000000000000000000000000000000000000;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git diff --git a/templates/webpages/shop_order/_transfer_status.html b/templates/webpages/shop_order/_transfer_status.html new file mode 100644 index 000000000..24b7bf97d --- /dev/null +++ b/templates/webpages/shop_order/_transfer_status.html @@ -0,0 +1,59 @@ +[%- USE LxERP -%][%- USE L -%][%- USE HTML -%] +[% SET data = job.data_as_hash %] + +
+ [% LxERP.t8("This status output will be refreshed every five seconds.") %] +
++
++ [% L.link("#", LxERP.t8("Close window"), onclick="kivi.ShopOrder.processClose();") %] +
[% LxERP.t8("Current status:") %] | ++ [% 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 %] + | +||||
---|---|---|---|---|---|
[% LxERP.t8("Number of orders created:") %] | +[% IF data.status > 0 %][% HTML.escape(data.num_order_created) %] / [% HTML.escape(data.shop_order_record_ids.size) %][% ELSE %]â[% END %] | +||||
[% LxERP.t8("Errors during conversion:") %] | +
+[% IF !data.status %]
+ â
+[% ELSIF !data.conversion_errors.size %]
+ [% LxERP.t8("No errors have occurred.") %]
+[% ELSE %]
+
|
+