X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/aacd66960ed7b1f4430c7e623e516e26cad9752d..0b26e5752e295:/templates/webpages/order/tabs/basic_data.html
diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html
index c968a9473..8e4776ca6 100644
--- a/templates/webpages/order/tabs/basic_data.html
+++ b/templates/webpages/order/tabs/basic_data.html
@@ -212,6 +212,9 @@
+ [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
+
+ [%- END -%]
[%- 'Price Factor' | $T8 %] |
[%- 'Unit' | $T8 %] |
@@ -223,7 +226,7 @@
[%- FOREACH item = SELF.order.items_sorted %]
- [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id TYPE=SELF.type ALL_PRICE_FACTORS=SELF.all_price_factors %]
+ [%- PROCESS order/tabs/_row.html ITEM=item ID=(item.id||item.new_fake_id) TYPE=SELF.type ALL_PRICE_FACTORS=SELF.all_price_factors %]
[%- END %]