@@ -, +, @@
- Move some content out of table cells
- Improve table markup with ,
, and
- Improve breadcrumb specificity on paycollect.pl
- Add clearer messages for different actions (Pay selected fines, pay an
individual fine, etc.
- Add client-side warning to pay.pl when writing-off all
- Correcting terminology: When a verb, "write off," when a noun: "Writeoff."
---
.../intranet-tmpl/prog/en/modules/members/pay.tt | 35 ++++-
.../prog/en/modules/members/paycollect.tt | 155 +++++++++-----------
2 files changed, 98 insertions(+), 92 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
@@ -1,6 +1,18 @@
[% INCLUDE 'doc-head-open.inc' %]
Koha › Patrons › Pay Fines for [% borrower.firstname %] [% borrower.surname %]
[% INCLUDE 'doc-head-close.inc' %]
+
[% INCLUDE 'header.inc' %]
@@ -30,6 +42,7 @@
+
Fines & Charges
Sel
@@ -40,14 +53,21 @@
Amount
Amount Outstanding
-
+
+
+
+
Total Due:
+
[% total | format('%.2f') %]
+
+
+
[% FOREACH account_grp IN accounts %]
[% FOREACH line IN account_grp.accountlines %]
[% IF ( line.amountoutstanding > 0 ) %]
-
+
[% END %]
@@ -81,15 +101,12 @@
[% END %]
[% END %]
-
-
Total Due:
-
[% total | format('%.2f') %]
-
+
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt
@@ -57,7 +57,7 @@ function moneyFormat(textObj) {
[% INCLUDE 'header.inc' %]
[% INCLUDE 'patron-search.inc' %]
-
Home › Patrons › Pay Fines for [% borrower.firstname %] [% borrower.surname %]
+
Home › Patrons › Pay Fines for [% borrower.firstname %] [% borrower.surname %] › [% IF ( pay_individual ) %]Pay an individual fine[% ELSIF ( writeoff_individual ) %]Write off an individual fine[% ELSE %][% IF ( selected_accts ) %]Pay an amount toward selected fines[% ELSE %]Pay an amount toward all fines[% END %][% END %]