[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[2895] addons/1.3/assets/trunk/scripts/asset.pl
- Subject: SF.net SVN: ledger-smb:[2895] addons/1.3/assets/trunk/scripts/asset.pl
- From: ..hidden..
- Date: Wed, 17 Feb 2010 17:33:34 +0000
Revision: 2895
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2895&view=rev
Author: einhverfr
Date: 2010-02-17 17:33:33 +0000 (Wed, 17 Feb 2010)
Log Message:
-----------
minor script changes
Modified Paths:
--------------
addons/1.3/assets/trunk/scripts/asset.pl
Modified: addons/1.3/assets/trunk/scripts/asset.pl
===================================================================
--- addons/1.3/assets/trunk/scripts/asset.pl 2010-02-14 23:38:40 UTC (rev 2894)
+++ addons/1.3/assets/trunk/scripts/asset.pl 2010-02-17 17:33:33 UTC (rev 2895)
@@ -29,7 +29,16 @@
}
$dep->save;
}
- search_reports($request);
+ $request->{message} = $request->{_locale}->text('Depreciation Successful');
+ my $template = LedgerSMB::Template->new(
+ user =>$request->{_user},
+ locale => $request->{_locale},
+ path => 'UI',
+ template => 'info',
+ format => 'HTML'
+ );
+ $template->render($request);
+
}
sub asset_category_screen {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.