Koha/circ
Fridolin Somers cbd8655157 Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin
The template plugin Branches contains a method GetLoggedInBranchcode that returns current branch code.
This patch adds GetLoggedInBranchname to get current branch name.
It is used to replace vars LoginBranchname and LoginBranchcode sent to all templates in C4/Auth.pm.

In labels and patrons cards modules, I choose to remove a unseless display of
current branch in a hint.

In acqui/acqui-home.tt, I choose to remove a useless display of current
branch and also because table of founds contains a filter on library.

Test plan:
Check pages source code to see branch code or name is correct.
list of the pages:
/cgi-bin/koha/acqui/acqui-home.pl
/cgi-bin/koha/catalogue/detail.pl?biblionumber=XXX
/cgi-bin/koha/circ/branchoverdues.pl
/cgi-bin/koha/circ/set-library.pl
/cgi-bin/koha/circ/offline.pl
/cgi-bin/koha/labels/label-edit-batch.pl?op=new
/cgi-bin/koha/labels/label-manage.pl
/cgi-bin/koha/patroncards/edit-batch.pl
/cgi-bin/koha/patroncards/manage.pl
OPAC:
/cgi-bin/koha/opac-detail.pl?biblionumber=XXX

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-23 11:17:27 +02:00
..
add_message.pl
article-request-slip.pl
article-requests.pl
bookcount.pl
branchoverdues.pl
branchtransfers.pl Bug 25868: Fix transfers page to show effective itemtype 2020-07-20 12:44:54 +02:00
checkout-notes.pl
circulation-home.pl
circulation.pl Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
del_message.pl
hold-transfer-slip.pl Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
offline-mf.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
offline.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
on-site_checkouts.pl
overdue.pl Bug 24840: Replace DateTime->now with dt_from_string 2020-04-08 11:54:23 +01:00
pendingreserves.pl Bug 25798: Add copyright year to "Holds to pull" report 2020-07-20 17:45:31 +02:00
renew.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
request-article.pl
reserveratios.pl Bug 24907: Add 'include suspended' to holds ratio report 2020-03-24 10:59:36 +00:00
returns.pl Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
set-library.pl Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin 2020-07-23 11:17:27 +02:00
transfer-slip.pl
transferstoreceive.pl
view_holdsqueue.pl
waitingreserves.pl Bug 24436: Add handling for reserve transfer triggers 2020-03-20 15:59:45 +00:00
ypattrodue-attr-search-authvalue.pl
ysearch.pl Bug 15400: (follow-up) Restore 'years' string, remove untranslatable string 2020-06-29 12:37:02 +02:00