From 5de351cbf604acf1ab6d2118b187aff3d88dec63 Mon Sep 17 00:00:00 2001 From: David Bourgault Date: Tue, 26 Sep 2017 10:58:21 -0400 Subject: [PATCH] Bug 5620 - Patch corrections, fixes to template files Patch should now apply Small fixes to use of template plugin AuthorisedValues --- .../atomicupdate/bug5620_Add_Mode_Of_Payment.sql | 6 ++-- .../prog/en/modules/members/paycollect.tt | 34 ++++++++++------------ 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug5620_Add_Mode_Of_Payment.sql b/installer/data/mysql/atomicupdate/bug5620_Add_Mode_Of_Payment.sql index 2dc58ea..b3e8196 100644 --- a/installer/data/mysql/atomicupdate/bug5620_Add_Mode_Of_Payment.sql +++ b/installer/data/mysql/atomicupdate/bug5620_Add_Mode_Of_Payment.sql @@ -1,6 +1,6 @@ ALTER table accountlines ADD COLUMN paymentmode TEXT NOT NULL; INSERT INTO authorised_value_categories VALUES ('PAYMODE'); INSERT INTO authorised_values (category, authorised_value, lib, lib_opac) VALUES -('PAYMODE','CASH','Cash', 'Cash'), -('PAYMODE','CC','Credit Card', 'Credit Card'), -('PAYMODE','DEBIG','Debit', 'Debit'); +('PAYMODE','CASH', 'Cash', 'Cash'), +('PAYMODE','CC', 'Credit Card', 'Credit Card'), +('PAYMODE','DEBIT', 'Debit', 'Debit'); 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 606063e..3e52214 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -152,11 +152,10 @@ function moneyFormat(textObj) { - @@ -216,24 +215,23 @@ function moneyFormat(textObj) { Total amount outstanding: [% total | format('%.2f') %] -
  • - - - -
  • -
  • - - -
  • - -
  • +
  • + + + +
  • +
  • + + +
  • +
  • -
  • +
    -- 2.7.4