From 48345f055b58943f9249f2ebf0b12569155f33a6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 21 Oct 2011 10:19:30 -0400 Subject: [PATCH] Bug 7080 - Revised - Clean up interface on fine payment screens Content-Type: text/plain; charset="utf-8" - 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." Revision: Correcting tab label case according to Bug 2780 guidelines --- .../prog/en/modules/members/mancredit.tt | 4 +- .../prog/en/modules/members/maninvoice.tt | 4 +- .../intranet-tmpl/prog/en/modules/members/pay.tt | 47 ++++--- .../prog/en/modules/members/paycollect.tt | 159 +++++++++----------- 4 files changed, 106 insertions(+), 108 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt index abc1df1..f783350 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt @@ -27,8 +27,8 @@ $(document).ready(function(){
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt index 6393550..318bd59 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt @@ -27,8 +27,8 @@ $(document).ready(function(){
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt index 8b0a545..d883958 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -1,19 +1,23 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Pay Fines for [% borrower.firstname %] [% borrower.surname %] [% INCLUDE 'doc-head-close.inc' %] + [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] - -
@@ -28,8 +32,8 @@ function confirmWriteoffAll() {
@@ -38,6 +42,7 @@ function confirmWriteoffAll() { + @@ -48,14 +53,21 @@ function confirmWriteoffAll() { - + + + + + + + + [% FOREACH account_grp IN accounts %] [% FOREACH line IN account_grp.accountlines %] [% END %] [% END %] - - - - +
Fines & Charges SelAmount Amount Outstanding
Total Due:[% total | format('%.2f') %]
[% IF ( line.amountoutstanding > 0 ) %] - + [% END %] @@ -89,15 +101,12 @@ function confirmWriteoffAll() {
Total Due:[% total | format('%.2f') %]
- - - + + + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt index ba18215..c3bdc1e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -57,7 +57,7 @@ function moneyFormat(textObj) { [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] - +
@@ -77,10 +77,10 @@ function moneyFormat(textObj) { Pay fines
  • - Create Manual Invoice + Create manual invoice
  • - Create Manual Credit + Create manual credit
  • @@ -103,50 +103,50 @@ function moneyFormat(textObj) { + +
    + Pay an individual fine - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +
    DescriptionAccount TypeNotify idLevelAmountAmount Outstanding
    - [% description %] [% title %] - [% accounttype %][% notify_id %][% notify_level %][% amount | format('%.2f') %][% amountoutstanding | format('%.2f') %]
    Total Amount Payable : [% amountoutstanding | format('%.2f') %]
    Collect From Patron: +
    DescriptionAccount TypeNotify idLevelAmountAmount Outstanding
    Total amount payable:[% amountoutstanding | format('%.2f') %]
    + [% description %] [% title %] + [% accounttype %][% notify_id %][% notify_level %][% amount | format('%.2f') %][% amountoutstanding | format('%.2f') %]
    + +
      + +
    1. + - - - - - - - Cancel - - +
    2. +
    +
    - + [% ELSIF ( writeoff_individual ) %]
    +
    + Write off an individual fine @@ -159,33 +159,27 @@ function moneyFormat(textObj) { - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
    DescriptionAccount TypeNotify idLevelAmountAmount Outstanding
    [% description %] [% title %][% accounttype %][% notify_id %][% notify_level %][% amount | format('%.2f') %][% amountoutstanding | format('%.2f') %]
    Writeoff This Charge?
    - - Cancel -
    DescriptionAccount TypeNotify idLevelAmountAmount Outstanding
    Total amount to be written off:[% amountoutstanding | format('%.2f') %]
    [% description %] [% title %][% accounttype %][% notify_id %][% notify_level %][% amount | format('%.2f') %][% amountoutstanding | format('%.2f') %]
    +
    +
    [% ELSE %] @@ -194,27 +188,22 @@ function moneyFormat(textObj) { - - - - - - - - - - - - - - -
    Total Amount Outstanding : [% total | format('%.2f') %]
    Collect From Patron: +
    + [% IF ( selected_accts ) %]Pay an amount toward selected fines[% ELSE %]Pay an amount toward all fines[% END %] +
      +
    1. + Total amount outstanding: + [% total | format('%.2f') %] +
    2. +
    3. + -
    - - Cancel -
    + + + + [% END %]
    -- 1.7.3