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

SF.net SVN: ledger-smb: [1051] branches/1.2



Revision: 1051
          http://svn.sourceforge.net/ledger-smb/?rev=1051&view=rev
Author:   einhverfr
Date:     2007-04-09 15:16:39 -0700 (Mon, 09 Apr 2007)

Log Message:
-----------
Correcting sales tax display bug in order entry screen

Modified Paths:
--------------
    branches/1.2/Changelog
    branches/1.2/bin/oe.pl

Modified: branches/1.2/Changelog
===================================================================
--- branches/1.2/Changelog	2007-04-09 22:15:27 UTC (rev 1050)
+++ branches/1.2/Changelog	2007-04-09 22:16:39 UTC (rev 1051)
@@ -1,3 +1,7 @@
+Changelog for 1.2.2
+* Corrected sales tax display bug in order entry screen
+
+
 Changelog for LedgerSMB 1.2.1
 * Modifed AM.pm to correctly use globals from ledgersmb.conf (Joshua Drake)
 * Simplified backup functions in AM.pm (Joshua Drake)

Modified: branches/1.2/bin/oe.pl
===================================================================
--- branches/1.2/bin/oe.pl	2007-04-09 22:15:27 UTC (rev 1050)
+++ branches/1.2/bin/oe.pl	2007-04-09 22:16:39 UTC (rev 1051)
@@ -608,8 +608,9 @@
       foreach my $item (@taxes) {
         my $taccno = $item->account;
 	$form->{"${taccno}_total"} = $form->format_amount(\%myconfig, 
-	  $item->value, 2);
+	  $form->{"${taccno}_rate"} * $form->{"${taccno}_base"}, 2);
 	
+	
 	$tax .= qq|
 	      <tr>
 		<th align=right>$form->{"${taccno}_description"}</th>


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