Lines 188-195
Link Here
|
188 |
<td><input type="radio" name="Line" value="reserves.branchcode" checked="checked" /></td> |
188 |
<td><input type="radio" name="Line" value="reserves.branchcode" checked="checked" /></td> |
189 |
<td><input type="radio" name="Column" value="reserves.branchcode" /></td> |
189 |
<td><input type="radio" name="Column" value="reserves.branchcode" /></td> |
190 |
<td><select name="filter_reserves.branchcode" id="resbranchcode"> |
190 |
<td><select name="filter_reserves.branchcode" id="resbranchcode"> |
|
|
191 |
[% IF Branches.InIndependentBranchesMode({syspref=>'IndependentBranchesHideOtherBranchesItems'}) %] |
192 |
[% PROCESS options_for_libraries libraries => Branches.all( search_params => { branchcode => Branches.GetLoggedInBranchcode() } ) %] |
193 |
[% ELSE %] |
191 |
<option value=""> </option> |
194 |
<option value=""> </option> |
192 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
195 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
|
|
196 |
[% END %] |
193 |
</select> |
197 |
</select> |
194 |
</td> |
198 |
</td> |
195 |
</tr> |
199 |
</tr> |
Lines 198-205
Link Here
|
198 |
<td><input type="radio" name="Line" value="items.holdingbranch" /></td> |
202 |
<td><input type="radio" name="Line" value="items.holdingbranch" /></td> |
199 |
<td><input type="radio" name="Column" value="items.holdingbranch" /></td> |
203 |
<td><input type="radio" name="Column" value="items.holdingbranch" /></td> |
200 |
<td><select name="filter_items.holdingbranch" id="holdingbranch"> |
204 |
<td><select name="filter_items.holdingbranch" id="holdingbranch"> |
|
|
205 |
[% IF Branches.InIndependentBranchesMode({syspref=>'IndependentBranchesHideOtherBranchesItems'}) %] |
206 |
[% PROCESS options_for_libraries libraries => Branches.all( search_params => { branchcode => Branches.GetLoggedInBranchcode() } ) %] |
207 |
[% ELSE %] |
201 |
<option value=""> </option> |
208 |
<option value=""> </option> |
202 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
209 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
|
|
210 |
[% END %] |
203 |
</select> |
211 |
</select> |
204 |
</td> |
212 |
</td> |
205 |
</tr> |
213 |
</tr> |
Lines 208-215
Link Here
|
208 |
<td><input type="radio" name="Line" value="items.homebranch" /></td> |
216 |
<td><input type="radio" name="Line" value="items.homebranch" /></td> |
209 |
<td><input type="radio" name="Column" value="items.homebranch" /></td> |
217 |
<td><input type="radio" name="Column" value="items.homebranch" /></td> |
210 |
<td><select name="filter_items.homebranch" id="homebranch"> |
218 |
<td><select name="filter_items.homebranch" id="homebranch"> |
|
|
219 |
[% IF Branches.InIndependentBranchesMode({syspref=>'IndependentBranchesHideOtherBranchesItems'}) %] |
220 |
[% PROCESS options_for_libraries libraries => Branches.all( search_params => { branchcode => Branches.GetLoggedInBranchcode() } ) %] |
221 |
[% ELSE %] |
211 |
<option value=""> </option> |
222 |
<option value=""> </option> |
212 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
223 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
|
|
224 |
[% END %] |
213 |
</select> |
225 |
</select> |
214 |
</td> |
226 |
</td> |
215 |
</tr> |
227 |
</tr> |