summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LedgerSMB/AA.pm18
-rw-r--r--bin/aa.pl4
2 files changed, 11 insertions, 11 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm
index 3621180b..de95fbda 100644
--- a/LedgerSMB/AA.pm
+++ b/LedgerSMB/AA.pm
@@ -784,7 +784,7 @@ sub transactions {
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 @@ sub transactions {
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 );
diff --git a/bin/aa.pl b/bin/aa.pl
index 742c7a06..85324570 100644
--- a/bin/aa.pl
+++ b/bin/aa.pl
@@ -1729,7 +1729,7 @@ sub transactions {
. $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 @@ sub transactions {
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++;