Koha-clms/members
Marc Véron 0abbcf2c2c Bug 17100: Do not display payments if patron has nothing to pay
This alternative patch moves logic and formatting to the template file.

To test:
* without patch
  1/ find a patron with no lines in accountlines table : print summary shows no "account fines and payments" => OK
  2/ find a patron with some lines in accountlines table and the total amount > 0 : print summary shows a table "account fines and payments" with fines to recover => OK
  3/ find a patron with some lines in accountlines table but the total amount = 0 : print summary shows a table "account fines and payments" with nothing in it => NOK

* with the patch, same cases as before :
  1/ same as without patch
  2/ same as without patch
  3/ print summary does not show "account fines and payments"

- Additionally, verify that formatting follows syspref 'CurrencyFormat'
- Verify that amount column is right-aligned

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 492a64cef9)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 7602198e60)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-08-24 12:50:08 +02:00
..
boraccount.pl 15623 - Spelling mistake in boraccount.pl Test - Search for writen, if not found fix is correct 2016-01-29 16:02:00 +01:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 14544: Get rid of GetSomeShelfNames 2015-11-05 09:58:02 -03:00
discharge.pl Bug 15823: Can still access patron discharge slip without having the syspref on 2016-05-16 09:22:05 +02:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
guarantor_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
mancredit.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
maninvoice.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
member-flags.pl Bug 16154: CGI->multi_param - Declare a list 2016-05-16 14:38:51 +02:00
member-password.pl Bug 15542 [QA Followup] - Tidy member-password.pl 2016-01-25 13:04:46 +01:00
member.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
memberentry.pl Bug 16154: Fix some other occurrences 2016-05-16 14:43:23 +02:00
members-home.pl Bug 12525: FIX patron lists dropdown is empty 2015-09-07 11:49:03 -03:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 10904: (QA followup) Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled 2015-11-02 12:34:46 -03:00
mod_debarment.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
moremember.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
nl-search.pl Bug 16154: CGI->multi_param - Force scalar context 2016-05-16 14:42:43 +02:00
notices.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
patronimage.pl Bug 14566: Fix permissions in patronimage.pl 2015-08-24 10:29:49 -03:00
pay.pl Bug 14605 - Corrects the individual fine's description 2016-06-16 11:15:12 +02:00
paycollect.pl Bug 17052: Display patron category description in the sidebar of paycollect 2016-08-24 11:28:00 +02:00
print_overdues.pl Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
printfeercpt.pl Bug 15622 - Spelling mistake in printfeercpt.pl writen -> written 2016-02-26 16:40:44 +01:00
printinvoice.pl Bug 15621: Spelling mistake in printinvice.pl 2016-01-29 16:01:58 +01:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
readingrec.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
routing-lists.pl Bug 16429 - Fix root problem 2016-05-16 13:46:21 +02:00
setstatus.pl Bug 14910: Redirect to the circulation module after a renew 2015-10-02 14:22:16 -03:00
statistics.pl Bug 15542: Always display the patron's info the same way. 2016-01-25 13:04:42 +01:00
summary-print.pl Bug 17100: Do not display payments if patron has nothing to pay 2016-08-24 12:50:08 +02:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00