From e728a1d64dc27b3045e302b3666c3f1ecf779803 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Jun 2014 17:26:37 +0200 Subject: [PATCH] Bug 12447: Fines tabs do not show selected When you are on pay.pl, maninvoite.pl and mancredit.pl, the Fines tab should be selected. Test plan: Go on these 3 pages and verify the Fines tabs is correctly selected --- members/mancredit.pl | 1 + members/maninvoice.pl | 2 +- members/pay.pl | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/members/mancredit.pl b/members/mancredit.pl index 0ba52f3..9b20d53 100755 --- a/members/mancredit.pl +++ b/members/mancredit.pl @@ -109,6 +109,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) { is_child => ($data->{'category_type'} eq 'C'), activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), RoutingSerials => C4::Context->preference('RoutingSerials'), + finesview => 1, ); output_html_with_http_headers $input, $cookie, $template->output; } diff --git a/members/maninvoice.pl b/members/maninvoice.pl index 4bf294a..7a7b9ef 100755 --- a/members/maninvoice.pl +++ b/members/maninvoice.pl @@ -39,7 +39,6 @@ my $flagsrequired = { borrowers => 1 }; my $borrowernumber=$input->param('borrowernumber'); - # get borrower details my $data=GetMember('borrowernumber'=>$borrowernumber); my $add=$input->param('add'); @@ -136,6 +135,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) { is_child => ($data->{'category_type'} eq 'C'), activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), RoutingSerials => C4::Context->preference('RoutingSerials'), + finesview => 1, ); output_html_with_http_headers $input, $cookie, $template->output; } diff --git a/members/pay.pl b/members/pay.pl index 3e36073..9aafaf9 100755 --- a/members/pay.pl +++ b/members/pay.pl @@ -106,6 +106,7 @@ for (@names) { $template->param( activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), RoutingSerials => C4::Context->preference('RoutingSerials'), + finesview => 1, ); add_accounts_to_template(); -- 2.0.0.rc2