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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-6 / +33 lines)
Lines 437-442 Link Here
437
                                From any library
437
                                From any library
438
                            </option>
438
                            </option>
439
439
440
			    [% IF holdallowed == 3 %]
441
                            <option value="3" selected="selected">
442
                            [% ELSE %]
443
                            <option value="3">
444
                            [% END %]
445
                                From local hold group
446
                            </option>
447
440
                            [% IF holdallowed == 1 %]
448
                            [% IF holdallowed == 1 %]
441
                                <option value="1" selected="selected">
449
                                <option value="1" selected="selected">
442
                            [% ELSE %]
450
                            [% ELSE %]
Lines 472-477 Link Here
472
                                </option>
480
                                </option>
473
                            [% END %]
481
                            [% END %]
474
482
483
			    [% IF hold_fulfillment_policy == 'holdgroup' %]
484
                                <option value="holdgroup" selected="selected">
485
                                    item's hold group
486
                                </option>
487
                            [% ELSE %]
488
                                <option value="holdgroup">
489
                                    item's hold group
490
                                </option>
491
                            [% END %]
492
475
                            [% IF hold_fulfillment_policy == 'homebranch' %]
493
                            [% IF hold_fulfillment_policy == 'homebranch' %]
476
                                <option value="homebranch" selected="selected">
494
                                <option value="homebranch" selected="selected">
477
                                    item's home library
495
                                    item's home library
Lines 613-623 Link Here
613
    [% END %]
631
    [% END %]
614
632
615
    <div id="refund-lost-item-fee-on-return" class="container">
633
    <div id="refund-lost-item-fee-on-return" class="container">
616
  [% IF current_branch == '*' %]
634
        [% IF current_branch == '*' %]
617
    <h3>Default lost item fee refund on return policy</h3>
635
            <h3>Default lost item fee refund on return policy</h3>
618
  [% ELSE %]
636
        [% ELSE %]
619
    <h3>Lost item fee refund on return policy for [% Branches.GetName(current_branch) | html %]</h3>
637
            <h3>Lost item fee refund on return policy for [% Branches.GetName(current_branch) | html %]</h3>
620
  [% END %]
638
        [% END %]
621
        <p>Specify the default policy for lost item fees on return.
639
        <p>Specify the default policy for lost item fees on return.
622
        </p>
640
        </p>
623
        <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
641
        <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
Lines 703-708 Link Here
703
        </p>
721
        </p>
704
        <ul>
722
        <ul>
705
            <li><strong>From any library:</strong> Patrons from any library may put this item on hold. <cite>(default if none is defined)</cite></li>
723
            <li><strong>From any library:</strong> Patrons from any library may put this item on hold. <cite>(default if none is defined)</cite></li>
724
            <li><strong>From local hold group:</strong> Only patrons from libraries in the same item's home library hold groups may put this book on hold.</li>
706
            <li><strong>From home library:</strong> Only patrons from the item's home library may put this book on hold.</li>
725
            <li><strong>From home library:</strong> Only patrons from the item's home library may put this book on hold.</li>
707
            <li><strong>No holds allowed:</strong> No patron may put this book on hold.</li>
726
            <li><strong>No holds allowed:</strong> No patron may put this book on hold.</li>
708
        </ul>
727
        </ul>
Lines 734-739 Link Here
734
                            <td>
753
                            <td>
735
                                [% IF holdallowed == 2 %]
754
                                [% IF holdallowed == 2 %]
736
                                    <span>From any library</span>
755
                                    <span>From any library</span>
756
				[% ELSIF holdallowed == 3 %]
757
                                    <span>From local hold group</span>
737
                                [% ELSIF holdallowed == 1 %]
758
                                [% ELSIF holdallowed == 1 %]
738
                                    <span>From home library</span>
759
                                    <span>From home library</span>
739
                                [% ELSE %]
760
                                [% ELSE %]
Lines 745-750 Link Here
745
                                    <span>any library</span>
766
                                    <span>any library</span>
746
                                [% ELSIF hold_fulfillment_policy == 'homebranch' %]
767
                                [% ELSIF hold_fulfillment_policy == 'homebranch' %]
747
                                    <span>item's home library</span>
768
                                    <span>item's home library</span>
769
                                [% ELSIF hold_fulfillment_policy == 'holdgroup' %]
770
                                    <span>item's hold group</span>
748
                                [% ELSIF hold_fulfillment_policy == 'holdingbranch' %]
771
                                [% ELSIF hold_fulfillment_policy == 'holdingbranch' %]
749
                                    <span>item's holding library</span>
772
                                    <span>item's holding library</span>
750
                                [% END %]
773
                                [% END %]
Lines 775-780 Link Here
775
                    <td>
798
                    <td>
776
                        <select name="holdallowed">
799
                        <select name="holdallowed">
777
                            <option value="2">From any library</option>
800
                            <option value="2">From any library</option>
801
                            <option value="3">From local hold group</option>
778
                            <option value="1">From home library</option>
802
                            <option value="1">From home library</option>
779
                            <option value="0">No holds allowed</option>
803
                            <option value="0">No holds allowed</option>
780
                        </select>
804
                        </select>
Lines 785-790 Link Here
785
                                any library
809
                                any library
786
                            </option>
810
                            </option>
787
811
812
                            <option value="holdgroup">
813
                                item's hold group
814
                            </option>
815
788
                            <option value="homebranch">
816
                            <option value="homebranch">
789
                                item's home library
817
                                item's home library
790
                            </option>
818
                            </option>
791
- 

Return to bug 22284