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

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



Revision: 1083
          http://svn.sourceforge.net/ledger-smb/?rev=1083&view=rev
Author:   einhverfr
Date:     2007-04-17 15:33:05 -0700 (Tue, 17 Apr 2007)

Log Message:
-----------
Resolving bug 169959

Modified Paths:
--------------
    branches/1.2/Changelog
    branches/1.2/LedgerSMB/Form.pm

Modified: branches/1.2/Changelog
===================================================================
--- branches/1.2/Changelog	2007-04-17 22:20:52 UTC (rev 1082)
+++ branches/1.2/Changelog	2007-04-17 22:33:05 UTC (rev 1083)
@@ -1,6 +1,9 @@
 Changelog for 1.2.4
 * Fixed internal functions avgcost() and lastcost() to not use float (Joshua D)
+* Fixed error posting vendor invoice with fraction costs.  (Chris M)
+* Fixed sales tax display issue on invoice/order entry screen (Chris T)
 
+
 Changelog for 1.2.3
 * Corrected per-user locale selection (Seneca)
 * Corrected partial commits for invoices and orders (Chris T)

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2007-04-17 22:20:52 UTC (rev 1082)
+++ branches/1.2/LedgerSMB/Form.pm	2007-04-17 22:33:05 UTC (rev 1083)
@@ -214,7 +214,7 @@
         delete $self->{pre};
 
         if ( !$self->{header} ) {
-            $self->eader;
+            $self->header;
         }
 
         print
@@ -2726,6 +2726,10 @@
             $s{print},     $s{email},     $s{message}
         ) = split /,/, $self->{recurring};
 
+	if ($s{howmany} == 0){
+		$self->error("Cannot set to recur 0 times");
+	}
+
         for (qw(reference message)) { $s{$_} = $self->unescape( $s{$_} ) }
         for (qw(repeat howmany payment)) { $s{$_} *= 1 }
 


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