Bugzilla – Attachment 54479 Details for
Bug 17100
On summary print, "Account fines and payments" is displayed even if there is nothing to pay
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17100: Restore previous logic
Bug-17100-Restore-previous-logic.patch (text/plain), 2.87 KB, created by
Jonathan Druart
on 2016-08-15 14:14:11 UTC
(
hide
)
Description:
Bug 17100: Restore previous logic
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-15 14:14:11 UTC
Size:
2.87 KB
patch
obsolete
>From 346d06609fc40234e74d2e52c56d28baf1244143 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 15 Aug 2016 15:11:19 +0100 >Subject: [PATCH] Bug 17100: Restore previous logic > >There is no need to change the previous logic here, so let's restore it. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../prog/en/modules/members/moremember-print.tt | 25 +++++++++++----------- > 1 file changed, 12 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >index 93b59d4..66f13d7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >@@ -94,7 +94,7 @@ > [% END %] > </table> > [% END %] >- [% IF accounts && ( totaldue < 0 || totaldue > 0 ) %] >+ [% IF accounts && totaldue != 0 %] > <table> > <caption>Account fines and payments</caption> > <tr> >@@ -105,18 +105,17 @@ > </tr> > > [% FOREACH account IN accounts %] >- [% IF ( account.amountoutstanding < 0 ) || ( account.amountoutstanding > 0 ) %] >- <tr> >- <td> >- [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% END %] >- [% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] >- [% IF ( account.itemnumber ) %]</a>[% END %] >- </td> >- <td>[% account.date | $KohaDates %]</td> >- <td style="text-align:right;">[% account.amount | $Price %]</td> >- <td style="text-align:right;">[% account.amountoutstanding | $Price %]</td> >- </tr> >- [% END %] >+ [% NEXT IF account.amountoutstanding == 0 %] >+ <tr> >+ <td> >+ [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% END %] >+ [% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] >+ [% IF ( account.itemnumber ) %]</a>[% END %] >+ </td> >+ <td>[% account.date | $KohaDates %]</td> >+ <td style="text-align:right;">[% account.amount | $Price %]</td> >+ <td style="text-align:right;">[% account.amountoutstanding | $Price %]</td> >+ </tr> > [% END %] > > <tfoot> >-- >2.8.1
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 17100
:
54260
|
54261
|
54270
|
54312
|
54478
| 54479