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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt (-2 / +1 lines)
Lines 88-94 Link Here
88
                        <select id="holdingbranch" name="holdingbranch">
88
                        <select id="holdingbranch" name="holdingbranch">
89
                            <option value="">LEAVE UNCHANGED</option>
89
                            <option value="">LEAVE UNCHANGED</option>
90
                            [% FOREACH b IN Branches.all() %]
90
                            [% FOREACH b IN Branches.all() %]
91
                                [% IF course_item.holdingbranch.defined && ( ( course.enabled == 'yes' && b.value == item.holdingbranch ) || ( course.enabled == 'no' && b.value == course_item.holdingbranch ) ) %]
91
                                [% IF course_item.holdingbranch.defined && ( ( course.enabled == 'yes' && b.branchcode == item.holdingbranch ) || ( course.enabled == 'no' && b.branchcode == course_item.holdingbranch ) ) %]
92
                                    <option value="[% b.branchcode | html %]" selected="selected">[% b.branchname | html %]</option>
92
                                    <option value="[% b.branchcode | html %]" selected="selected">[% b.branchname | html %]</option>
93
                                [% ELSE %]
93
                                [% ELSE %]
94
                                    <option value="[% b.branchcode | html %]">[% b.branchname | html %]</option>
94
                                    <option value="[% b.branchcode | html %]">[% b.branchname | html %]</option>
95
- 

Return to bug 22652