From 8bd48e18d5d0096bc9b1ef13c7a84934c0d6cf6d Mon Sep 17 00:00:00 2001 From: Werner Hahn Date: Tue, 26 Sep 2017 12:05:17 +0200 Subject: [PATCH] =?utf8?q?WebshopApi:=20kleinere=20Fehler=20nach=20Aufr?= =?utf8?q?=C3=A4umarbeiten?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/ShopConnector/ALL.pm | 2 ++ templates/webpages/shop_order/show.html | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SL/ShopConnector/ALL.pm b/SL/ShopConnector/ALL.pm index e579fb48a..4aebe8937 100644 --- a/SL/ShopConnector/ALL.pm +++ b/SL/ShopConnector/ALL.pm @@ -2,6 +2,8 @@ package SL::ShopConnector::ALL; use strict; +use SL::ShopConnector::Shopware; + my %shop_connector_by_name = ( shopware => 'SL::ShopConnector::Shopware', ); diff --git a/templates/webpages/shop_order/show.html b/templates/webpages/shop_order/show.html index a4f2c7a10..561bba8b5 100644 --- a/templates/webpages/shop_order/show.html +++ b/templates/webpages/shop_order/show.html @@ -184,7 +184,8 @@ [% 'Extended' | $T8 %] - [% loop.index %] + [% FOREACH pos = IMPORT.shop_order_items %] + [% loop.index+1 %] [% HTML.escape(pos.partnumber) %] [% HTML.escape(pos.description) %] [% pos.quantity_as_number %] -- 2.20.1