Koha/koha-tmpl/intranet-tmpl/prog
Marc Véron 492a64cef9 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>
2016-08-18 16:14:28 +00:00
..
css Bug 16538: Improve the style of progress bars 2016-07-15 18:06:08 +00:00
en Bug 17100: Do not display payments if patron has nothing to pay 2016-08-18 16:14:28 +00:00
img Bug 16080 [Revised] Remove unused images from the staff client 2016-04-29 13:56:55 +00:00
js Bug 16310 - Remove the use of "onclick" from audio alerts template 2016-08-01 14:35:27 +00:00
pdf
sound