Lines 533-541
Link Here
|
533 |
<th> </th> |
533 |
<th> </th> |
534 |
</tr> |
534 |
</tr> |
535 |
[% FOREACH c IN categorycodes %] |
535 |
[% FOREACH c IN categorycodes %] |
536 |
[% SET patron_maxissueqty = CirculationRules.Get( branchcode, c, undef, 'patron_maxissueqty' ) %] |
536 |
[% SET patron_maxissueqty = CirculationRules.Search( branchcode, c, undef, 'patron_maxissueqty' ) %] |
537 |
[% SET patron_maxonsiteissueqty = CirculationRules.Get( branchcode, c, undef, 'patron_maxonsiteissueqty' ) %] |
537 |
[% SET patron_maxonsiteissueqty = CirculationRules.Search( branchcode, c, undef, 'patron_maxonsiteissueqty' ) %] |
538 |
[% SET max_holds = CirculationRules.Get( branchcode, c, undef, 'max_holds' ) %] |
538 |
[% SET max_holds = CirculationRules.Search( branchcode, c, undef, 'max_holds' ) %] |
539 |
|
539 |
|
540 |
[% IF patron_maxissueqty || patron_maxonsiteissueqty || max_holds %] |
540 |
[% IF patron_maxissueqty || patron_maxonsiteissueqty || max_holds %] |
541 |
<tr> |
541 |
<tr> |
Lines 561-569
Link Here
|
561 |
[% END %] |
561 |
[% END %] |
562 |
</td> |
562 |
</td> |
563 |
<td> |
563 |
<td> |
564 |
[% SET rule_value = CirculationRules.Get( branch_cat_rule_loo.branchcode || '*', branch_cat_rule_loo.categorycode, branch_cat_rule_loo.itemtype, 'max_holds' ) %] |
564 |
[% IF max_holds.defined && max_holds != '' %] |
565 |
[% IF rule_value.defined && rule_value != '' %] |
565 |
[% max_holds | html %] |
566 |
[% rule_value | html %] |
|
|
567 |
[% ELSE %] |
566 |
[% ELSE %] |
568 |
<span>Unlimited</span> |
567 |
<span>Unlimited</span> |
569 |
[% END %] |
568 |
[% END %] |
570 |
- |
|
|