From c93607ffbca9c34e6c69382f512541b7a84eb9d6 Mon Sep 17 00:00:00 2001
From: "m.mansour" <m.mansour@mmansour.aditosoftware.local>
Date: Fri, 28 Jun 2019 10:40:41 +0200
Subject: [PATCH] Update Preview_view

---
 .../OfferitemPreview_view.aod                 | 28 ++++++++++---------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/neonView/OfferitemPreview_view/OfferitemPreview_view.aod b/neonView/OfferitemPreview_view/OfferitemPreview_view.aod
index 4a13f1d933..2e87d1704e 100644
--- a/neonView/OfferitemPreview_view/OfferitemPreview_view.aod
+++ b/neonView/OfferitemPreview_view/OfferitemPreview_view.aod
@@ -5,29 +5,21 @@
   <layout>
     <headerFooterLayout>
       <name>layout</name>
-      <header>Header</header>
     </headerFooterLayout>
   </layout>
   <children>
-    <cardViewTemplate>
-      <name>Header</name>
-      <iconField>IMAGE</iconField>
-      <titleField>ITEMNAME</titleField>
-      <subtitleField>PRODUCT_ID</subtitleField>
-      <entityField>#ENTITY</entityField>
-    </cardViewTemplate>
     <genericViewTemplate>
       <name>Info</name>
       <showDrawer v="true" />
       <entityField>#ENTITY</entityField>
       <fields>
         <entityFieldLink>
-          <name>3b207cf2-c621-4e7d-b7aa-32feace5fe04</name>
-          <entityField>INFO</entityField>
+          <name>171901d8-32a2-4689-aeb3-e00936172330</name>
+          <entityField>ITEMPOSITION</entityField>
         </entityFieldLink>
         <entityFieldLink>
-          <name>c0c04d1c-90a7-4c0b-9323-1f0783757987</name>
-          <entityField>GROUPCODEID</entityField>
+          <name>335b6954-46ab-4235-9681-3ebd261af72a</name>
+          <entityField>PRODUCT_ID</entityField>
         </entityFieldLink>
         <entityFieldLink>
           <name>e792d720-187f-4aa1-917c-1c8065222b72</name>
@@ -54,7 +46,17 @@
           <entityField>OPTIONAL</entityField>
         </entityFieldLink>
         <entityFieldLink>
-          <name>9868560c-41c7-4641-b0f1-627a61b796b3</name>
+          <name>3b207cf2-c621-4e7d-b7aa-32feace5fe04</name>
+          <entityField>INFO</entityField>
+        </entityFieldLink>
+      </fields>
+    </genericViewTemplate>
+    <genericViewTemplate>
+      <name>Price</name>
+      <entityField>#ENTITY</entityField>
+      <fields>
+        <entityFieldLink>
+          <name>4ced54f6-0d81-489b-b57b-432a75b77481</name>
           <entityField>TotalPrice</entityField>
         </entityFieldLink>
       </fields>
-- 
GitLab