]> git.koha-community.org Git - koha.git/commit
Bug 20691: Implement fines view
authorKyle M Hall <kyle@bywatetsolutions.com>
Wed, 22 May 2019 06:20:13 +0000 (03:20 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 11 Sep 2019 07:53:51 +0000 (08:53 +0100)
commit5583a0a42c193b4992b3550e4d26bae0ae2630e7
treead9a0aacebff31645e6de800d41f2e6d122203f1
parent1ad03f5509ea287c7402c64577595a9c8cd60dfb
Bug 20691: Implement fines view

This patch implements the logic to show guarantee's fines with guarantor user.

To test:
1) Apply (if not already done) steps 1 to 5 of previous patch
2) Apply this patch
3) Set OPACFinesTab and AllowStaffToSetFinesVisibilityForGuarantor preference to "Allow"
4) Find a guarantee and in accounting create a manual invoice
5) Enter OPAC with guarantor user
CHECK => In summary there is no "Relatives fines" tab
6) On intranet edit guarantee and set "Show fines to guarantors" to "Yes" and save
7) Reload guarantor's OPAC
SUCCESS => You see a "Relatives fines" tab with guarantee's fines information
8) Sign off

Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
opac/opac-account.pl
opac/opac-user.pl