Author: erwan
Date: Thu Apr 14 12:45:58 2011
New Revision: 1092197
URL: http://svn.apache.org/viewvc?rev=1092197&view=rev
Log:
OFBIZ-4232 A patch from Deepak Dixit : Agreement item product price should be
display as per the currencyUomId set for respective agreement item.
Modified:
ofbiz/trunk/applications/accounting/widget/AgreementForms.xml
Modified: ofbiz/trunk/applications/accounting/widget/AgreementForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AgreementForms.xml?rev=1092197&r1=1092196&r2=1092197&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Thu Apr 14
12:45:58 2011
@@ -298,7 +298,7 @@ under the License.
<field name="internalName" entry-name="productId">
<display-entity entity-name="Product" key-field-name="productId"
description="${internalName}"/>
</field>
- <field name="price" widget-area-style="align-text"><display/></field>
+ <field name="price"><display type="currency"
currency="${agreementItem.currencyUomId}"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}"
widget-style="buttontext">
<hyperlink target="removeAgreementItemProduct"
description="${uiLabelMap.CommonRemove}" also-hidden="false">
<parameter param-name="productId"/>
@@ -328,7 +328,7 @@ under the License.
<field name="internalName" entry-name="productId">
<display-entity entity-name="Product" key-field-name="productId"
description="${internalName}"/>
</field>
- <field name="lastPrice"
widget-area-style="align-text"><display/></field>
+ <field name="lastPrice"><display type="currency"
currency="${agreementItem.currencyUomId}"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}"
widget-style="buttontext">
<hyperlink target="removeAgreementItemSupplierProduct"
description="${uiLabelMap.CommonRemove}" also-hidden="false">
<parameter param-name="minimumOrderQuantity"/>
@@ -364,7 +364,7 @@ under the License.
<field name="internalName" entry-name="productId">
<display-entity entity-name="Product" key-field-name="productId"
description="${internalName}"/>
</field>
- <field name="price" title-area-style="tableheadmedium"
widget-area-style="align-text"><display/></field>
+ <field name="price" title-area-style="tableheadmedium"><display
type="currency" currency="${agreementItem.currencyUomId}"/></field>
</form>
<form name="ListAgreementItemSupplierProductsForReport"
list-name="agreementProducts" target="" title="" type="list"
odd-row-style="alternate-row" default-table-style="basic-table
hover-bar">
@@ -373,7 +373,7 @@ under the License.
<field name="internalName" entry-name="productId">
<display-entity entity-name="Product" key-field-name="productId"
description="${internalName}"/>
</field>
- <field name="lastPrice" title-area-style="tableheadmedium"
widget-area-style="align-text"><display/></field>
+ <field name="lastPrice" title-area-style="tableheadmedium"><display
type="currency" currency="${agreementItem.currencyUomId}"/></field>
</form>
<form name="EditAgreementItemProduct" type="single"
target="updateAgreementItemProduct" title=""
default-map-name="agreementProductAppl"
header-row-style="header-row" default-table-style="basic-table">