Bugzilla – Attachment 71560 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.35 KB, created by
Nick Clemens (kidclamp)
on 2018-02-13 17:15:17 UTC
(
hide
)
Description:
Bug 15136: Use TT plugin to display the branch's name
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-02-13 17:15:17 UTC
Size:
2.35 KB
patch
obsolete
>From bef1f34d8983dde06e69626f068472ae45505609 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 702b5b5..b9732fe 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 %] > [% USE ColumnsSettings %] > [% USE Price %] >@@ -110,7 +111,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 %]">[% account.title |html %]</a>[% END %]</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" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount | $Price %]</td> > [% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding | $Price %]</td> >diff --git a/members/boraccount.pl b/members/boraccount.pl >index 6214508..7f6bfda 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -94,9 +94,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 ( $patron->category->category_type =~ /^(A|I)$/ ); >-- >2.1.4
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