summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-07 17:09:37 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-07 17:09:37 +0000
commit93307bb7725a770afe28916dab82381477ac0e12 (patch)
treea8123f2c3f1b9e16fa1251d59b0e9e6ad130c4fc /LedgerSMB
parent234d29d55937e667d01fd12ccd699d53848d01d1 (diff)
Fixing broken language selection in aging report.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1531 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/RP.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/LedgerSMB/RP.pm b/LedgerSMB/RP.pm
index 7933cd37..922de64c 100644
--- a/LedgerSMB/RP.pm
+++ b/LedgerSMB/RP.pm
@@ -1626,7 +1626,7 @@ sub aging {
'' as $form->{ct}fax,
'' as $form->{ct}taxnumber,
a.invnumber, a.transdate, a.till, a.ordnumber,
- a.ponumber, a.notes,
+ a.ponumber, a.notes, c.language_code,
CASE WHEN
EXTRACT(days FROM age(a.transdate)/30)
= 0
@@ -1667,7 +1667,6 @@ sub aging {
$ref->{module} = 'ps' if $ref->{till};
$ref->{exchangerate} = 1
unless $ref->{exchangerate};
- $ref->{language_code} = $item->{language_code};
push @{ $form->{AG} }, $ref;
}