View | Details | Raw Unified | Return to bug 22970
Collapse All | Expand All

(-)a/course_reserves/batch_add_items.pl (+4 lines)
Lines 37-42 my $barcodes = $cgi->param('barcodes') || q{}; Link Here
37
37
38
my $itype         = $cgi->param('itype');
38
my $itype         = $cgi->param('itype');
39
my $ccode         = $cgi->param('ccode');
39
my $ccode         = $cgi->param('ccode');
40
my $homebranch    = $cgi->param('homebranch');
40
my $holdingbranch = $cgi->param('holdingbranch');
41
my $holdingbranch = $cgi->param('holdingbranch');
41
my $location      = $cgi->param('location');
42
my $location      = $cgi->param('location');
42
my $staff_note    = $cgi->param('staff_note');
43
my $staff_note    = $cgi->param('staff_note');
Lines 44-49 my $public_note = $cgi->param('public_note'); Link Here
44
45
45
my $itype_enabled         = scalar $cgi->param('itype_enabled') ? 1 : 0;
46
my $itype_enabled         = scalar $cgi->param('itype_enabled') ? 1 : 0;
46
my $ccode_enabled         = scalar $cgi->param('ccode_enabled') ? 1 : 0;
47
my $ccode_enabled         = scalar $cgi->param('ccode_enabled') ? 1 : 0;
48
my $homebranch_enabled    = scalar $cgi->param('homebranch_enabled') ? 1 : 0;
47
my $holdingbranch_enabled = scalar $cgi->param('holdingbranch_enabled') ? 1 : 0;
49
my $holdingbranch_enabled = scalar $cgi->param('holdingbranch_enabled') ? 1 : 0;
48
my $location_enabled      = scalar $cgi->param('location_enabled') ? 1 : 0;
50
my $location_enabled      = scalar $cgi->param('location_enabled') ? 1 : 0;
49
51
Lines 87-96 if ( $course_id && $course ) { Link Here
87
                itype                 => $itype,
89
                itype                 => $itype,
88
                ccode                 => $ccode,
90
                ccode                 => $ccode,
89
                holdingbranch         => $holdingbranch,
91
                holdingbranch         => $holdingbranch,
92
                homebranch            => $homebranch,
90
                location              => $location,
93
                location              => $location,
91
                itype_enabled         => $itype_enabled,
94
                itype_enabled         => $itype_enabled,
92
                ccode_enabled         => $ccode_enabled,
95
                ccode_enabled         => $ccode_enabled,
93
                holdingbranch_enabled => $holdingbranch_enabled,
96
                holdingbranch_enabled => $holdingbranch_enabled,
97
                homebranch_enabled    => $homebranch_enabled,
94
                location_enabled      => $location_enabled,
98
                location_enabled      => $location_enabled,
95
            );
99
            );
96
100
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt (-1 / +11 lines)
Lines 71-76 Link Here
71
                        </li>
71
                        </li>
72
72
73
                        <li>
73
                        <li>
74
                            <label class="required" for="homebranch">Home library:</label>
75
                            <input type="checkbox" value="1" class="field-toggle" data-pulldown="homebranch" name="homebranch_enabled" id="homebranch_enabled" />
76
                            <select id="homebranch" name="homebranch" disabled="disabled">
77
                                <option value=""></option>
78
                                [% FOREACH b IN Branches.all() %]
79
                                    <option value="[% b.branchcode | html %]">[% b.branchname | html %]</option>
80
                                [% END %]
81
                            </select>
82
                        </li>
83
84
                        <li>
74
                            <label class="required" for="holdingbranch">Holding library:</label>
85
                            <label class="required" for="holdingbranch">Holding library:</label>
75
                            <input type="checkbox" value="1" class="field-toggle" data-pulldown="holdingbranch" name="holdingbranch_enabled" id="holdingbranch_enabled" />
86
                            <input type="checkbox" value="1" class="field-toggle" data-pulldown="holdingbranch" name="holdingbranch_enabled" id="holdingbranch_enabled" />
76
                            <select id="holdingbranch" name="holdingbranch" disabled="disabled">
87
                            <select id="holdingbranch" name="holdingbranch" disabled="disabled">
77
- 

Return to bug 22970