Bugzilla – Attachment 66261 Details for
Bug 14803
Rental and fine fees are not updating on circulation screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14803 follow-up: outstanding-fees-amount is a class, not id
Bug-14803-follow-up-outstanding-fees-amount-is-a-c.patch (text/plain), 2.61 KB, created by
Srdjan Jankovic
on 2017-08-21 02:52:20 UTC
(
hide
)
Description:
Bug 14803 follow-up: outstanding-fees-amount is a class, not id
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2017-08-21 02:52:20 UTC
Size:
2.61 KB
patch
obsolete
>From 8376ce9d90dd5ce479c053860f642de57949e63e Mon Sep 17 00:00:00 2001 >From: Srdjan <srdjan@catalyst.net.nz> >Date: Mon, 21 Aug 2017 14:39:49 +1200 >Subject: [PATCH] Bug 14803 follow-up: outstanding-fees-amount is a class, not > id > >Multiple outstanding-fees-amount displays on the page >--- > koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc >index 5fba935..4dde50a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc >@@ -8,7 +8,7 @@ KOHA.Checkouts.NoIssuesCharge = [% Koha.Preference('noissuescharge') || "null" % > </script> > <li id="outstanding-fees" style="display: none;"> > <span class="circ-hlt">Fees & Charges:</span> >- Patron has outstanding fees & charges of <span id="outstanding-fees-amount"></span> >+ Patron has outstanding fees & charges of <span class="outstanding-fees-amount"></span> > </a>. > > [% IF !Koha.Preference('AllowFineOverride') %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 2da55d8..13a6535 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -565,7 +565,7 @@ function validate1(date) { > > <div id="finesandcharges"> > [% IF ( totaldue_raw ) %] >- <p>Total due: [% totaldue %]</p> >+ <p>Total due: <span class="outstanding-fees-amount">[% totaldue %]</span></p> > [% ELSE %] > <p>No outstanding charges</p> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 84fc82a..5624327 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -26,7 +26,7 @@ KOHA.Checkouts = { > > var noissue = KOHA.Checkouts.NoIssuesCharge !== null && data.owing >= KOHA.Checkouts.NoIssuesCharge; > $("#outstanding-fees").toggle(data.owing > 0); >- $("#outstanding-fees-amount").text(data.owing_formatted); >+ $(".outstanding-fees-amount").text(data.owing_formatted); > $("#outstanding-fees-over-limit").toggle(noissue); > KOHA.Checkouts.ToggleInput(!noissue); > } ); >-- >2.7.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 14803
:
52208
|
52209
|
52210
|
52473
|
52474
|
53406
|
53482
|
60629
|
60630
|
60631
|
62294
|
62432
|
63047
|
63153
|
63230
|
65696
|
65697
|
65698
|
65783
|
65868
|
66261
|
73541
|
73542
|
98891
|
98892
|
115620
|
115621