Revert "retrieve_items in IR.pm bzgl. notes überarbeitet"
authorJan Büren <jan@kivitendo-premium.de>
Mon, 14 Dec 2015 14:34:49 +0000 (15:34 +0100)
committerJan Büren <jan@kivitendo-premium.de>
Mon, 14 Dec 2015 14:34:49 +0000 (15:34 +0100)
This reverts commit 8ce157d5872ae618bddee07147e0f902a3b3e31d.

Die DB-Aliase werden doch benötigt.

SL/IR.pm

index b0aa134..55987af 100644 (file)
--- a/SL/IR.pm
+++ b/SL/IR.pm
@@ -1285,9 +1285,9 @@ sub retrieve_item {
     qq|SELECT
          p.id, p.partnumber, p.description, p.lastcost AS sellprice, p.listprice,
          p.unit, p.assembly, p.onhand, p.formel,
-         p.not_discountable,
+         p.notes AS partnotes, p.notes AS longdescription, p.not_discountable,
          p.inventory_accno_id, p.price_factor_id,
-         p.ean, p.notes,
+         p.ean,
 
          pfac.factor AS price_factor,