Author: diveshdutta
Date: Sat May 21 13:56:57 2016
New Revision: 1744948
URL:
http://svn.apache.org/viewvc?rev=1744948&view=revLog:
[OFBIZ-7102] When PO is created and approved and user adds new item in PO, new item is in created status. Now we have a button to approve that item , thought that button's name is misleading. Changed button name from Approve Order to Approve item.
Modified:
ofbiz/trunk/applications/order/config/OrderUiLabels.xml
ofbiz/trunk/applications/order/template/order/OrderItems.ftl
Modified: ofbiz/trunk/applications/order/config/OrderUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/config/OrderUiLabels.xml?rev=1744948&r1=1744947&r2=1744948&view=diff==============================================================================
--- ofbiz/trunk/applications/order/config/OrderUiLabels.xml (original)
+++ ofbiz/trunk/applications/order/config/OrderUiLabels.xml Sat May 21 13:56:57 2016
@@ -2206,6 +2206,9 @@
<value xml:lang="zh-CN">ä»»æ订åç±»å</value>
<value xml:lang="zh-TW">ä»»ä½è¨å®é¡å</value>
</property>
+ <property key="OrderApproveItem">
+ <value xml:lang="en">Approve Item</value>
+ </property>
<property key="OrderApproveOrder">
<value xml:lang="ar">اÙÙ
ÙاÙÙØ© عÙ٠أÙ
ر اÙبÙع\اÙشراء</value>
<value xml:lang="de">Auftrag bestätigen</value>
Modified: ofbiz/trunk/applications/order/template/order/OrderItems.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/template/order/OrderItems.ftl?rev=1744948&r1=1744947&r2=1744948&view=diff==============================================================================
--- ofbiz/trunk/applications/order/template/order/OrderItems.ftl (original)
+++ ofbiz/trunk/applications/order/template/order/OrderItems.ftl Sat May 21 13:56:57 2016
@@ -195,7 +195,7 @@ under the License.
</div>
<#if ("ITEM_CREATED" == (currentItemStatus.statusId) && "ORDER_APPROVED" == (orderHeader.statusId)) && security.hasEntityPermission("ORDERMGR", "_UPDATE", session)>
<div>
- <a href="javascript:document.OrderApproveOrderItem_${orderItem.orderItemSeqId?default("")}.submit()" class="buttontext">${uiLabelMap.OrderApproveOrder}</a>
+ <a href="javascript:document.OrderApproveOrderItem_${orderItem.orderItemSeqId?default("")}.submit()" class="buttontext">${uiLabelMap.OrderApproveItem}</a>
<form name="OrderApproveOrderItem_${orderItem.orderItemSeqId?default("")}" method="post" action="<@ofbizUrl>changeOrderItemStatus</@ofbizUrl>">
<input type="hidden" name="statusId" value="ITEM_APPROVED"/>
<input type="hidden" name="orderId" value="${orderId!}"/>