[ofbiz-framework] branch trunk updated: Improved: adding product to purchase order auto assigned PRODUCT_ORDER_ITEM (OFBIZ-9339)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: adding product to purchase order auto assigned PRODUCT_ORDER_ITEM (OFBIZ-9339)

akashjain
This is an automated email from the ASF dual-hosted git repository.

akashjain pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 98f495a  Improved: adding product to purchase order auto assigned PRODUCT_ORDER_ITEM (OFBIZ-9339)
98f495a is described below

commit 98f495a79c7e566e42cfe48d652f7477ec43df2d
Author: Akash Jain <[hidden email]>
AuthorDate: Tue Sep 1 21:06:15 2020 +0530

    Improved: adding product to purchase order auto assigned PRODUCT_ORDER_ITEM (OFBIZ-9339)
   
    Thanks, Wai for report.
---
 applications/order/config/OrderUiLabels.xml         | 3 +++
 applications/order/template/entry/cart/ShowCart.ftl | 1 +
 2 files changed, 4 insertions(+)

diff --git a/applications/order/config/OrderUiLabels.xml b/applications/order/config/OrderUiLabels.xml
index b52188d..30826f2 100644
--- a/applications/order/config/OrderUiLabels.xml
+++ b/applications/order/config/OrderUiLabels.xml
@@ -3980,6 +3980,9 @@
         <value xml:lang="zh-CN">订货日期</value>
         <value xml:lang="zh-TW">下訂單的日期</value>
     </property>
+    <property key="OrderDefaultOrderItemTypeValue">
+        <value xml:lang="en">default value will be PRODUCT_ORDER_ITEM</value>
+    </property>
     <property key="OrderDeliveryScheduleInfo">
         <value xml:lang="ar">معلومات جدول التوصيل</value>
         <value xml:lang="de">Informationen zur Lieferplanung</value>
diff --git a/applications/order/template/entry/cart/ShowCart.ftl b/applications/order/template/entry/cart/ShowCart.ftl
index 22b305a..4dbe6ad 100644
--- a/applications/order/template/entry/cart/ShowCart.ftl
+++ b/applications/order/template/entry/cart/ShowCart.ftl
@@ -156,6 +156,7 @@ under the License.
                         <option value="${orderItemType.orderItemTypeId}">${orderItemType.description}</option>
                         </#list>
                       </select>
+                      <span class="tooltip">${uiLabelMap.OrderDefaultOrderItemTypeValue}</span>
                     </div>
                   </td>
                 </tr>