Bugzilla – Attachment 44682 Details for
Bug 15136
Display item's homebranch in patron's fines list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15136: Use TT plugin to display the branch's name
Bug-15136-Use-TT-plugin-to-display-the-branchs-nam.patch (text/plain), 2.31 KB, created by
Jonathan Druart
on 2015-11-10 09:02:08 UTC
(
hide
)
Description:
Bug 15136: Use TT plugin to display the branch's name
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-11-10 09:02:08 UTC
Size:
2.31 KB
patch
obsolete
>From da38e924d203182cc6600a68012f8f49b768169f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 10 Nov 2015 09:00:07 +0000 >Subject: [PATCH] Bug 15136: Use TT plugin to display the branch's name > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 3 ++- > members/boraccount.pl | 3 --- > 2 files changed, 2 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 75a67b0..32202a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -1,4 +1,5 @@ > [% USE Koha %] >+[% USE Branches %] > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Patrons › Account for [% INCLUDE 'patron-title.inc' %]</title> >@@ -102,7 +103,7 @@ $(document).ready(function() { > [%- END -%] > [%- IF account.description %], [% account.description %][% END %] > [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">View item</a> [% END %][% account.title |html %]</td> >- <td>[%- IF account.homebranch %][% account.homebranch %][% END %]</td> >+ <td>[% Branches.GetName( account.homebranch ) %]</td> > <td>[% account.note | html_line_break %]</td> > [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> > [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td> >diff --git a/members/boraccount.pl b/members/boraccount.pl >index abe1c01..ea63f29 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -89,9 +89,6 @@ foreach my $accountline ( @{$accts}) { > $accountline->{payment} = 1; > $reverse_col = 1; > } >- if ($accountline->{homebranch}) { >- $accountline->{homebranch} = C4::Branch::GetBranchName($accountline->{homebranch}); >- } > } > > $template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' ); >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15136
:
44630
|
44644
|
44671
|
44681
|
44682
|
71559
|
71560
|
76112
|
76308
|
77174
|
79711