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

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



Revision: 1959
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1959&view=rev
Author:   einhverfr
Date:     2007-12-07 09:19:41 -0800 (Fri, 07 Dec 2007)

Log Message:
-----------
Adding vendor number on transactions/outstanding result screens

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

Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm	2007-12-07 05:12:39 UTC (rev 1958)
+++ trunk/LedgerSMB/AA.pm	2007-12-07 17:19:41 UTC (rev 1959)
@@ -784,7 +784,7 @@
 		          a.duedate, a.netamount, a.amount, ($paid) AS paid,
 		          a.invoice, a.datepaid, a.terms, a.notes,
 		          a.shipvia, a.shippingpoint, ee.name AS employee, 
-		          vce.name,
+		          vce.name, vc.meta_number,
 		          a.entity_id, a.till, me.name AS manager, a.curr,
 		          ex.$buysell AS exchangerate, 
 		          d.description AS department, 
@@ -812,14 +812,14 @@
         shippingpoint => 14,
         employee      => 15,
         name          => 16,
-        manager       => 19,
-        curr          => 20,
-        department    => 22,
-        ponumber      => 23,
-        accno         => 24,
-        source        => 25,
-        project       => 26,
-        description   => 27
+        manager       => 20,
+        curr          => 21,
+        department    => 23,
+        ponumber      => 24,
+        accno         => 25,
+        source        => 26,
+        project       => 27,
+        description   => 28
     );
 
     my @a = ( transdate, invnumber, name );

Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl	2007-12-07 05:12:39 UTC (rev 1958)
+++ trunk/bin/aa.pl	2007-12-07 17:19:41 UTC (rev 1959)
@@ -1729,7 +1729,7 @@
       . $locale->text('PO Number')
       . "</a></th>";
     $column_header{name} =
-      "<th><a class=listheading href=$href&sort=name>$name</a></th>";
+      "<th>".$locale->text('Account')."</th><th><a class=listheading href=$href&sort=name>$name</a></th>";
     $column_header{netamount} =
       "<th class=listheading>" . $locale->text('Amount') . "</th>";
     $column_header{tax} =
@@ -1940,7 +1940,7 @@
 qq|<td><a href=ca.pl?path=$form->{path}&login=$form->{login}&sessionid=$form->{sessionid}&action=list_transactions&accounttype=standard&accno=$ref->{accno}&fromdate=$form->{transdatefrom}&todate=$form->{transdateto}&sort=transdate&l_subtotal=$form->{l_subtotal}&prevreport=$callback>$ref->{accno}</a></td>|;
 
         $column_data{name} =
-qq|<td><a href=ct.pl?path=$form->{path}&login=$form->{login}&sessionid=$form->{sessionid}&action=edit&id=$ref->{"$form->{vc}_id"}&db=$form->{vc}&callback=$callback>$ref->{name}</a></td>|;
+qq|<td>$ref->{meta_number}</td><td><a href=ct.pl?path=$form->{path}&login=$form->{login}&sessionid=$form->{sessionid}&action=edit&id=$ref->{"$form->{vc}_id"}&db=$form->{vc}&callback=$callback>$ref->{name}</a></td>|;
 
         if ( $ref->{id} != $sameid ) {
             $j++;


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