From 270f3119c9b813db9d536488c8cfcceaf4ee24bc Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Tue, 7 Feb 2017 19:52:15 +0200 Subject: [PATCH] Bug 7534: Add configuration to admin/branches.pl This patch adds a configuration option for pickup locations. To test: 1. Apply patch 2. Go to cgi-bin/koha/admin/branches.pl 3. Observe there is a new column "Pickup location" 4. Click "Edit" for any library 5. Scroll to bottom of the page and select "No" 6. Click "Submit" 7. Observe your library in Libraries-table, notice the value of "Pickup location" has changed to "No" Signed-off-by: Koha Team AMU --- admin/branches.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/admin/branches.pl b/admin/branches.pl index abe3e5a..34dde0d 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -76,6 +76,7 @@ if ( $op eq 'add_form' ) { branchip branchnotes opac_info + pickup_location ); my $is_a_modif = $input->param('is_a_modif'); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index 7a5f22a..5ec817a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -192,6 +192,7 @@ tinyMCE.init({
  • Can be entered as a single IP, or a subnet such as 192.168.1.*
  • +
  • @@ -227,6 +228,7 @@ tinyMCE.init({ Address Properties IP + Pickup location Actions @@ -268,6 +270,7 @@ tinyMCE.init({ [% END %] [% library.branchip %] + [% IF library.pickup_location %]Yes[% ELSE %]No[% END %] Edit Delete -- 2.7.4