From 1cffd05a6256f76536a16706fc3c303ae0b837f3 Mon Sep 17 00:00:00 2001 From: Peter Schulgin Date: Mon, 6 Jan 2014 18:42:00 +0100 Subject: [PATCH] Buchungsliste: Kontonamen werden nicht angezeigt. Behebt #2239 --- bin/mozilla/ca.pl | 6 ++++-- templates/webpages/ca/list.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index c2fd6a218..37c82e8af 100644 --- a/bin/mozilla/ca.pl +++ b/bin/mozilla/ca.pl @@ -153,8 +153,8 @@ sub list { $::lxdebug->enter_sub; $::auth->assert('report'); - $::form->{title} = $::locale->text('List Transactions') . " - " . $::locale->text('Account') . " $::form->{accno}"; - + $::form->{title} = $::locale->text('List Transactions') . " - " . $::locale->text('Account') . " $::form->{accno}" . " - " . $::form->{description}; + $::form->header; print $::form->parse_html_template('ca/list', { year => DateTime->today->year, @@ -184,6 +184,8 @@ sub format_debit_credit { sub list_transactions { $main::lxdebug->enter_sub(); +use Data::Dumper; + my $form = $main::form; my %myconfig = %main::myconfig; my $locale = $main::locale; diff --git a/templates/webpages/ca/list.html b/templates/webpages/ca/list.html index e779a66e6..1bd5ff666 100644 --- a/templates/webpages/ca/list.html +++ b/templates/webpages/ca/list.html @@ -5,7 +5,7 @@
[% L.hidden_tag('accno', accno) %] -[% L.hidden_tag('decription', description) %] +[% L.hidden_tag('description', description) %] [% L.hidden_tag('sort', 'transdate') %] [% L.hidden_tag('accounttype', accounttype) %] -- 2.20.1