Author: apatel
Date: Mon Nov 9 21:55:45 2009
New Revision: 834251
URL:
http://svn.apache.org/viewvc?rev=834251&view=revLog:
Improve Invoice Terms rendering. Using UiLables and Currency formatting.
Modified:
ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml
Modified: ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml?rev=834251&r1=834250&r2=834251&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml Mon Nov 9 21:55:45 2009
@@ -643,9 +643,9 @@
<display-entity entity-name="TermType" description="${description}"/>
</field>
<field name="dueDate"><display/></field>
- <field name="amount"><display/></field>
- <field name="paidAmount"><display/></field>
- <field name="outstandingAmount"><display/></field>
+ <field name="amount"><display type="currency" currency="${invoice.currencyUomId}"/></field>
+ <field name="paidAmount"><display type="currency" currency="${invoice.currencyUomId}"/></field>
+ <field name="outstandingAmount"><display type="currency" currency="${invoice.currencyUomId}"/></field>
</form>
<form name="ListCustomerInvoices" extends="ListInvoices" list-name="invoices"
Modified: ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml?rev=834251&r1=834250&r2=834251&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/InvoiceScreens.xml Mon Nov 9 21:55:45 2009
@@ -154,6 +154,7 @@
<screen name="invoiceOverview">
<section>
<actions>
+ <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="PageTitleInvoiceOverview"/>
<set field="tabButtonItem" value="invoiceOverview"/>
<set field="invoiceId" from-field="parameters.invoiceId"/>