Lines 993-999
Link Here
|
993 |
</tr> |
993 |
</tr> |
994 |
[% FOREACH c IN categorycodes %] |
994 |
[% FOREACH c IN categorycodes %] |
995 |
[% NEXT UNLESS c %] |
995 |
[% NEXT UNLESS c %] |
996 |
[% SET open_article_requests_limit = CirculationRules.Search( branchcode, c, undef, 'open_article_requests_limit' ) %] |
996 |
[% SET i = undef %] |
|
|
997 |
[% SET open_article_requests_limit = all_rules.$c.$i.open_article_requests_limit %] |
997 |
|
998 |
|
998 |
[% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %] |
999 |
[% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %] |
999 |
<tr> |
1000 |
<tr> |
Lines 1047-1055
Link Here
|
1047 |
<th> </th> |
1048 |
<th> </th> |
1048 |
</tr> |
1049 |
</tr> |
1049 |
[% FOREACH c IN categorycodes %] |
1050 |
[% FOREACH c IN categorycodes %] |
1050 |
[% SET c = '*' UNLESS c.defined AND c != '' %] |
1051 |
[% SET i = undef %] |
1051 |
|
1052 |
[% SET article_request_fee = all_rules.$c.$i.article_request_fee %] |
1052 |
[% SET article_request_fee = CirculationRules.Search( current_branch, c, undef, 'article_request_fee' ) %] |
|
|
1053 |
|
1053 |
|
1054 |
[% IF ( article_request_fee.defined && article_request_fee != '' ) %] |
1054 |
[% IF ( article_request_fee.defined && article_request_fee != '' ) %] |
1055 |
<tr> |
1055 |
<tr> |
Lines 1313-1321
Link Here
|
1313 |
<th> </th> |
1313 |
<th> </th> |
1314 |
</tr> |
1314 |
</tr> |
1315 |
[% FOREACH i IN itemtypeloop %] |
1315 |
[% FOREACH i IN itemtypeloop %] |
1316 |
[% SET holdallowed = CirculationRules.Search( branchcode, undef, i.itemtype, 'holdallowed' ) %] |
1316 |
[% SET it = i.itemtype %] |
1317 |
[% SET hold_fulfillment_policy = CirculationRules.Search( branchcode, undef, i.itemtype, 'hold_fulfillment_policy' ) %] |
1317 |
[% SET c = undef %] |
1318 |
[% SET returnbranch = CirculationRules.Search( branchcode, undef, i.itemtype, 'returnbranch' ) %] |
1318 |
[% SET holdallowed = all_rules.$c.$it.holdallowed %] |
|
|
1319 |
[% SET hold_fulfillment_policy = all_rules.$c.$it.hold_fulfillment_policy %] |
1320 |
[% SET returnbranch = all_rules.$c.$it.returnbranch %] |
1319 |
|
1321 |
|
1320 |
[% IF holdallowed || hold_fulfillment_policy || returnbranch %] |
1322 |
[% IF holdallowed || hold_fulfillment_policy || returnbranch %] |
1321 |
<tr> |
1323 |
<tr> |
1322 |
- |
|
|