]> wagnertech.de Git - mfinanz.git/commitdiff
WebshopApi: kleinere Fehler nach Aufräumarbeiten
authorWerner Hahn <wh@futureworldsearch.net>
Tue, 26 Sep 2017 10:05:17 +0000 (12:05 +0200)
committerWerner Hahn <wh@futureworldsearch.net>
Tue, 26 Sep 2017 10:26:21 +0000 (12:26 +0200)
SL/ShopConnector/ALL.pm
templates/webpages/shop_order/show.html

index e579fb48a6e1c5f338d8a1c21c68faeadbe85ee6..4aebe89376dc600eb4a20e7fa03abdcfe98de969 100644 (file)
@@ -2,6 +2,8 @@ package SL::ShopConnector::ALL;
 
 use strict;
 
+use SL::ShopConnector::Shopware;
+
 my %shop_connector_by_name = (
   shopware    => 'SL::ShopConnector::Shopware',
 );
index a4f2c7a1027fdfa23bcb19fefd03af48c46fda59..561bba8b5d73d859b9547eedb212e1110cea515f 100644 (file)
         <th>[% 'Extended'          | $T8 %]</th>
       </tr>
       <tr class="listrow">
-        <td>[% loop.index                                      %]</td>
+      [% FOREACH pos = IMPORT.shop_order_items %]
+        <td>[% loop.index+1                                      %]</td>
         <td>[% HTML.escape(pos.partnumber)                     %]</td>
         <td>[% HTML.escape(pos.description)                    %]</td>
         <td>[% pos.quantity_as_number                          %]</td>