Bug 20516: Show patron's library in pending discharges table

Test plan:
1. Enable syspref useDischarge
2. Login to OPAC and ask for a discharge (tab on the left)
3. Login to intranet, you should see a message about pending discharges,
   and a link. Click on the link.
4. Confirm that there is a 'Library' column in the table that is
   displaying the patron's library

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Julian Maurice 2018-04-04 14:08:37 +02:00 committed by Jonathan Druart
parent 61d51c9b11
commit c2fcaac302
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
<thead>
<tr>
<th>Patron</th>
<th>Library</th>
<th>Allow</th>
</tr>
</thead>
@ -28,6 +29,7 @@
[% FOREACH d IN pending_discharges %]
<tr>
<td><a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% d.borrower.borrowernumber %]">[% d.borrower.surname %], [% d.borrower.firstname %]</a></td>
<td>[% d.borrower.branchcode.branchname %]</td>
<td><a href="/cgi-bin/koha/members/discharges.pl?op=allow&borrowernumber=[% d.borrower.borrowernumber %]">Allow</a></td>
</tr>
[% END %]