[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3037] addons/1.3/assets/trunk
- Subject: SF.net SVN: ledger-smb:[3037] addons/1.3/assets/trunk
- From: ..hidden..
- Date: Fri, 30 Jul 2010 20:19:09 +0000
Revision: 3037
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3037&view=rev
Author: einhverfr
Date: 2010-07-30 20:19:09 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
Adding depriate through for asset import.
Modified Paths:
--------------
addons/1.3/assets/trunk/UI/asset/import_asset.html
addons/1.3/assets/trunk/scripts/asset.pl
Modified: addons/1.3/assets/trunk/UI/asset/import_asset.html
===================================================================
--- addons/1.3/assets/trunk/UI/asset/import_asset.html 2010-07-30 17:41:51 UTC (rev 3036)
+++ addons/1.3/assets/trunk/UI/asset/import_asset.html 2010-07-30 20:19:09 UTC (rev 3037)
@@ -36,6 +36,14 @@
value = asset_class
} ?>
<!-- end set for javascript automation -CT -->
+<div class="inputrow" id="daterow">
+<?lsmb PROCESS input element_data = {
+ type = "text"
+ class = "date"
+ label = text("Depreciate Through") #"
+ name = "report_date"
+ value = report_date
+} ?>
<div class="inputrow" id="filerow">
<?lsmb PROCESS input element_data = {
name = "import_file"
Modified: addons/1.3/assets/trunk/scripts/asset.pl
===================================================================
--- addons/1.3/assets/trunk/scripts/asset.pl 2010-07-30 17:41:51 UTC (rev 3036)
+++ addons/1.3/assets/trunk/scripts/asset.pl 2010-07-30 20:19:09 UTC (rev 3037)
@@ -848,7 +848,7 @@
my @rresults = $asset->call_procedure(
procname => 'asset_report__begin_import',
args => [$asset->{asset_classes}->[0]->{id},
- 'today']
+ $asset->{report_date}]
);
my $report_results = shift @rresults;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.