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

(-)a/C4/Circulation.pm (-2 lines)
Lines 1845-1852 sub AddReturn { Link Here
1845
        }
1845
        }
1846
    }
1846
    }
1847
1847
1848
    my $item = GetItem($itemnumber) or die "GetItem($itemnumber) failed";
1849
1850
        # full item data, but no borrowernumber or checkout info (no issue)
1848
        # full item data, but no borrowernumber or checkout info (no issue)
1851
    my $hbr = GetBranchItemRule($item->{'homebranch'}, $item->{'itype'})->{'returnbranch'} || "homebranch";
1849
    my $hbr = GetBranchItemRule($item->{'homebranch'}, $item->{'itype'})->{'returnbranch'} || "homebranch";
1852
        # get the proper branch to which to return the item
1850
        # get the proper branch to which to return the item
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-36 lines)
Lines 653-693 $(document).ready(function () { Link Here
653
            [% END %]
653
            [% END %]
654
            [% IF ( errmsgloo.withdrawn ) %]
654
            [% IF ( errmsgloo.withdrawn ) %]
655
                [% IF BlockReturnOfWithdrawnItems %]
655
                [% IF BlockReturnOfWithdrawnItems %]
656
                    <h5>Cannot check in</h5>
657
                    <p><strong>NOT CHECKED IN</strong></p>
658
                    <p class="problem">Item is withdrawn.</p>
659
                [% ELSE %]
660
                    <p class="problem">Item is withdrawn.</p>
661
                [% END %]
662
            [% END %]
663
            [% IF ( errmsgloo.debarred ) %]
664
                <p class="problem"><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% errmsgloo.debarborrowernumber %]">[% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %])</a> is now debarred until [% errmsgloo.debarred | $KohaDates %].</p>
665
            [% END %]
666
            [% IF ( errmsgloo.prevdebarred ) %]
667
                <p class="problem"><b>Reminder: </b>Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %].</p>
668
            [% END %]
669
            [% IF ( errmsgloo.badbarcode ) %]
670
                <p class="problem">No item with barcode: [% errmsgloo.msg | html %]</p>
671
            [% END %]
672
            [% IF ( errmsgloo.ispermanent ) %]
673
                <p class="problem">Please return item to: [% Branches.GetName( errmsgloo.msg ) %]</p>
674
            [% END %]
675
            [% IF ( errmsgloo.notissued ) %]
676
                <p class="problem">Not checked out.</p>
677
            [% END %]
678
            [% IF ( errmsgloo.localuse) %]
679
                <p class="problem">Local use recorded</p>
680
            [% END %]
681
            [% IF ( errmsgloo.waslost ) %]
682
                <p class="problem">Item was lost, now found.</p>
683
                [% IF ( LostItemFeeRefunded ) %]
684
                    <p class="problem">A refund has been applied to the borrowing patron's account.</p>
685
                [% ELSE %]
686
                    <p class="problem">Any lost item fees for this item will remain on the patron's account.</p>
687
                [% END %]
688
            [% END %]
689
            [% IF ( errmsgloo.withdrawn ) %]
690
                [% IF BlockReturnOfWithdrawnItems %]
691
                   <h5>Cannot check in</h5>
656
                   <h5>Cannot check in</h5>
692
                   <p><strong>NOT CHECKED IN</strong></p>
657
                   <p><strong>NOT CHECKED IN</strong></p>
693
                   <p class="problem">Item is withdrawn.</p>
658
                   <p class="problem">Item is withdrawn.</p>
694
- 

Return to bug 14576