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

SF.net SVN: ledger-smb:[5124] branches/1.3



Revision: 5124
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5124&view=rev
Author:   einhverfr
Date:     2012-08-21 09:17:23 +0000 (Tue, 21 Aug 2012)
Log Message:
-----------
On further reflection it is definitely necessary to stop this since it is pulling the early payment discount.  Discount is now *not set* after multiple parts selected.  This will come as a welcome surprise if any since before it was setting it to 100 x the early payment discount....

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/bin/io.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-08-21 09:14:21 UTC (rev 5123)
+++ branches/1.3/Changelog	2012-08-21 09:17:23 UTC (rev 5124)
@@ -8,7 +8,7 @@
 * Fixed warning about incorrect method for ar/ap transactions (Chris T)
 * Fixed fatal gettext errors in ar_EG, fi, nb po's (Havard S)
 * Fixed prices being selected on RFQ (Chris T, h/t Erik H)
-* Fixed discount * 100 on multiple parts select (Chris T, h/T Istvan P)
+* Fixed discount wrong after multiple parts selection (Chris T, h/T Istvan P)
 
 Changelog for 1.3.22
 * Fixed error when trying to save multiple make/models for a part (Chris T)

Modified: branches/1.3/bin/io.pl
===================================================================
--- branches/1.3/bin/io.pl	2012-08-21 09:14:21 UTC (rev 5123)
+++ branches/1.3/bin/io.pl	2012-08-21 09:17:23 UTC (rev 5124)
@@ -630,7 +630,8 @@
             $i++;
 
             $form->{"qty_$i"}      = $qty;
-            $form->{"discount_$i"} = $form->{discount};
+            # We should unset this since it is pulling from the customer/vendor
+            # $form->{"discount_$i"} = $form->{discount};
             $form->{"reqdate_$i"}  = $form->{reqdate}
               if $form->{type} !~ /_quotation/;
 

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