Koha/koha-tmpl
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
..
intranet-tmpl Bug 17100: Do not display payments if patron has nothing to pay 2016-08-18 16:14:28 +00:00
opac-tmpl Bug 17117: Patron personal details not displayed unless branch update request is enabled 2016-08-18 15:59:42 +00:00
favicon.ico Getting rid of pesky favicon.ico log message 2005-06-14 23:22:11 +00:00
index.html /koha-tmpl/ is now the documentroot for opac and intranet pages (remember koha-html is deprecated and should be removed very soon) 2003-03-18 14:17:56 +00:00
intranet.html fix for #290 2003-04-09 08:40:28 +00:00
opac.html fix for #290 2003-04-09 08:40:28 +00:00