Bugzilla – Attachment 77174 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: Add homebranch of borrowed items to patron accounts tab
Bug-15136-Add-homebranch-of-borrowed-items-to-patr.patch (text/plain), 2.95 KB, created by
Jonathan Druart
on 2018-07-20 16:42:43 UTC
(
hide
)
Description:
Bug 15136: Add homebranch of borrowed items to patron accounts tab
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-07-20 16:42:43 UTC
Size:
2.95 KB
patch
obsolete
>From 78844ac363ce5f10410318bb24f2bc3204aa375d Mon Sep 17 00:00:00 2001 >From: Vassilis Kanellopoulos <contact@kanellov.com> >Date: Mon, 9 Nov 2015 11:20:21 +0200 >Subject: [PATCH] Bug 15136: Add homebranch of borrowed items to patron > accounts tab > >Test plan: >1 - View the accounts tab for a patron with fines >2 - Note there is no homebranch displayed to see where charges came from >3 - Apply patch >4 - Reload the page and note that you see the 'Home library' column > >Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> >Followed the test plan and it works. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >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 a7f508d7ae..5bc592be80 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -1,5 +1,6 @@ > [% USE Asset %] > [% USE Koha %] >+[% USE Branches %] > [% USE KohaDates %] > [% USE ColumnsSettings %] > [% USE AuthorisedValues %] >@@ -19,6 +20,7 @@ > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Account for [% INCLUDE 'patron-title.inc' %]</div> > > <div id="doc3" class="yui-t2"> >+ > <div id="bd"> > <div id="yui-main"> > <div class="yui-b"> >@@ -40,6 +42,7 @@ > <tr> > <th class="title-string">Date</th> > <th>Description of charges</th> >+ <th>Home library</th> > <th>Note</th> > <th>Amount</th> > <th>Outstanding</th> >@@ -61,6 +64,7 @@ > [%- IF account.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) %][% END %] > [%- IF account.description %], [% account.description %][% END %] > [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.item.biblionumber %]&itemnumber=[% account.itemnumber %]">[% account.item.biblio.title |html %]</a>[% END %]</td> >+ <td>[% IF account.itemnumber %][% Branches.GetName( account.item.homebranch ) %][% END %]</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> >@@ -89,7 +93,7 @@ > [% END %] > <tfoot> > <tr> >- <td colspan="4">Total due</td> >+ <td colspan="5">Total due</td> > [% IF ( totalcredit ) %] > <td class="credit" style="text-align: right;">[% total | $Price %]</td> > [% ELSE %] >-- >2.11.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