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

SF.net SVN: ledger-smb:[3100] trunk



Revision: 3100
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3100&view=rev
Author:   einhverfr
Date:     2010-10-18 21:51:49 +0000 (Mon, 18 Oct 2010)

Log Message:
-----------
Correcting API issue for 1099 reportability checkboxes.

Modified Paths:
--------------
    trunk/LedgerSMB/AA.pm
    trunk/bin/aa.pl

Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm	2010-10-18 17:07:18 UTC (rev 3099)
+++ trunk/LedgerSMB/AA.pm	2010-10-18 21:51:49 UTC (rev 3100)
@@ -1433,7 +1433,7 @@
 sub get_taxcheck
 {
 
-   my ( $self,$form,$entry_id,$dbh) = @_;
+   my ( $self,$entry_id,$dbh) = @_;
 
    my $query=qq|select reportable from ac_tax_form where entry_id=?|;
    my $sth=$dbh->prepare($query);

Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl	2010-10-18 17:07:18 UTC (rev 3099)
+++ trunk/bin/aa.pl	2010-10-18 21:51:49 UTC (rev 3100)
@@ -322,7 +322,7 @@
  			$form->{"entry_id_$i"} =
                           $form->{acc_trans}{$key}->[ $i - 1 ]->{entry_id};
 
-			$form->{"taxformcheck_$i"}=1 if(AA->get_taxcheck($form,$form->{"entry_id_$i"},$form->{dbh}));
+			$form->{"taxformcheck_$i"}=1 if(AA->get_taxcheck($form->{"entry_id_$i"},$form->{dbh}));
 
                        $form->{rowcount}++;
                         $netamount += $form->{"${akey}_$i"};


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