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

SF.net SVN: ledger-smb:[3035] branches/1.2/bin/is.pl



Revision: 3035
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3035&view=rev
Author:   einhverfr
Date:     2010-07-30 03:53:23 +0000 (Fri, 30 Jul 2010)

Log Message:
-----------
HST migration fix

Modified Paths:
--------------
    branches/1.2/bin/is.pl

Modified: branches/1.2/bin/is.pl
===================================================================
--- branches/1.2/bin/is.pl	2010-07-29 16:29:56 UTC (rev 3034)
+++ branches/1.2/bin/is.pl	2010-07-30 03:53:23 UTC (rev 3035)
@@ -541,6 +541,7 @@
     if ( !$form->{taxincluded} ) {
         foreach $item (keys %{$form->{taxes}}) {
             my $taccno = $item;
+            next if !$form->{"${taccno}_total"};
 	    $form->{invtotal} += $form->round_amount($form->{taxes}{$item}, 2);
             $form->{"${taccno}_total"} =
                   $form->format_amount( \%myconfig,


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