[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3071] addons/1.3/assets/trunk/scripts/asset.pl



Revision: 3071
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3071&view=rev
Author:   einhverfr
Date:     2010-09-27 15:49:21 +0000 (Mon, 27 Sep 2010)

Log Message:
-----------
Correcting approval logic for disposal reports on summary screen

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-09-24 17:07:51 UTC (rev 3070)
+++ addons/1.3/assets/trunk/scripts/asset.pl	2010-09-27 15:49:21 UTC (rev 3071)
@@ -765,7 +765,7 @@
     my ($request) = @_;
     for my $l (0 .. $request->{rowcount}){
         if ($request->{"report_$l"}){
-            my $approved = LedgerSMB::DBObject::Asset_Report->new(base => $request, copy => 'base');
+            my $approved = LedgerSMB::DBObject::Asset_Report->new(base => $request);
             $approved->{id} = $request->{"report_$l"};
             $approved->approve;
         }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.