Author: jacopoc
Date: Tue Feb 23 16:32:35 2010
New Revision: 915416
URL:
http://svn.apache.org/viewvc?rev=915416&view=revLog:
Added information about depreciations to fixed asset list.
Modified:
ofbiz/trunk/applications/accounting/widget/FixedAssetForms.xml
Modified: ofbiz/trunk/applications/accounting/widget/FixedAssetForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/FixedAssetForms.xml?rev=915416&r1=915415&r2=915416&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/FixedAssetForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/FixedAssetForms.xml Tue Feb 23 16:32:35 2010
@@ -31,6 +31,11 @@
<field-map field-name="viewSize" from-field="viewSize"/>
</service>
</actions>
+ <row-actions>
+ <service service-name="calculateFixedAssetDepreciation" result-map="assetDepreciationResultMap">
+ <field-map field-name="fixedAssetId" from-field="fixedAssetId"/>
+ </service>
+ </row-actions>
<field name="fixedAssetId" widget-style="linktext">
<hyperlink also-hidden="false" description="${fixedAssetId}" target="EditFixedAsset">
<parameter param-name="fixedAssetId"/>
@@ -47,6 +52,12 @@
</sub-hyperlink>
</display-entity>
</field>
+ <field name="dateAcquired"><display/></field>
+ <field name="expectedEndOfLife"><display/></field>
+ <field name="purchaseCost"><display type="currency" currency="${purchaseCostUomId}"/></field>
+ <field name="salvageValue"><display type="currency" currency="${purchaseCostUomId}"/></field>
+ <field name="depreciation"><display type="currency" currency="${purchaseCostUomId}"/></field>
+ <field name="plannedPastDepreciationTotal"><display description="${assetDepreciationResultMap.plannedPastDepreciationTotal}"/></field>
<on-event-update-area event-type="paginate" area-id="search-results" area-target="FixedAssetSearchResults"/>
</form>