X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fcirc%2Freturns.tt;h=72f9ee367f27fb3d3dde11230aaaa0d27efa4b0a;hb=5dcb7435b7d0e720edc334c8eef7be875f2eb5d9;hp=ddf3144c805667a8cfca1c6ad5ef41758fc1329e;hpb=00a13c57254bc1fe66d8b2896ac1be63503d4cb4;p=koha_fer diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index ddf3144c80..72f9ee367f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1,48 +1,95 @@ [% USE KohaDates %] +[% USE Branches %] +[% USE Koha %] +[% USE Borrowers %] +[% USE AuthorisedValues %] + [% INCLUDE 'doc-head-open.inc' %] Koha › Circulation › Check in [% title |html %] [% INCLUDE 'doc-head-close.inc' %] + +[% INCLUDE 'calendar.inc' %] + + + [% INCLUDE 'header.inc' %] [% INCLUDE 'checkin-search.inc' %] @@ -81,13 +128,24 @@ function Dopop(link) { [% END %] + +[% IF return_date_was_overriden && Borrowers.IsDebarred( borrower ) %] +
+

+ + [% borrower.firstname %] [% borrower.surname %] + + is restricted. Please verify this patron should still be restricted. +

+
+[% END %] [% IF ( wrongbranch ) %] -

Cannot Check In

This item must be checked in at its home library. NOT CHECKED IN

+

Cannot check in

This item must be checked in at its home library. NOT CHECKED IN

[% END %] -[% IF ( WrongTransfer ) %]

Please return [% title |html %] to [% TransferWaitingAt %]

Print slip or Cancel transfer

+[% IF ( WrongTransfer ) %]

Please return [% title |html %] to [% Branches.GetName( TransferWaitingAt ) %]

Print slip or Cancel transfer

[% IF ( wborcnum ) %]
Hold for:
  • [% borsurname %], [% borfirstname %] ([% borcnum %])
  • @@ -115,7 +173,7 @@ function Dopop(link) { [% IF ( soundon ) %] - + [% END %]
    @@ -158,7 +216,7 @@ function Dopop(link) { [% IF ( diffbranch ) %] [% IF ( soundon ) %] - + [% END %]

    Hold needing transfer found: [% title |html %]

    @@ -201,14 +259,14 @@ function Dopop(link) {

    Please return [% title or "item" |html %] to [% homebranchname %]
    ( Print slip )

    [% IF ( soundon ) %] - + [% END %] [% END %] [% IF ( needstransfer ) %] [% IF ( soundon ) %] - + [% END %]

    This item needs to be transferred to [% homebranchname %]

    Transfer now?
    @@ -234,7 +292,7 @@ function Dopop(link) { [% IF ( diffbranch ) %] [% IF ( soundon ) %] - + [% END %]

    Item consigned:

    @@ -262,7 +320,7 @@ function Dopop(link) { [% IF ( soundon ) %] - + [% END %]
    @@ -308,11 +366,29 @@ function Dopop(link) {
    [% END %] -[% ELSE %] +[% END %] [% IF ( errmsgloop ) %]
    +

    Check in message

    [% FOREACH errmsgloo IN errmsgloop %] + [% IF ( errmsgloo.NotForLoanStatusUpdated ) %] +

    + Not for loan status updated + from + [% IF errmsgloo.NotForLoanStatusUpdated.from %] + [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) %] + [% ELSE %] + being available for loan + [% END %] + to + [% IF errmsgloo.NotForLoanStatusUpdated.to %] + [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) %] + [% ELSE %] + being available for loan + [% END %] +

    + [% END %] [% IF ( errmsgloo.badbarcode ) %]

    No item with barcode: [% errmsgloo.msg %]

    [% END %] @@ -327,37 +403,59 @@ function Dopop(link) { [% END %] [% IF ( errmsgloo.waslost ) %]

    Item was lost, now found.

    + [% IF ( LostItemFeeRefunded ) %] +

    A refund has been applied to the borrowing patron's account.

    + [% ELSE %] +

    Any lost item fees for this item will remain on the patron's account

    + [% END %] [% END %] [% IF ( errmsgloo.withdrawn ) %] -

    Item is withdrawn.

    + [% IF BlockReturnOfWithdrawnItems %] +
    Cannot check in
    +

    Item is withdrawn. NOT CHECKED IN

    + [% ELSE %] +

    Item is withdrawn.

    + [% END %] [% END %] [% IF ( errmsgloo.debarred ) %]

    [% errmsgloo.debarname %]([% errmsgloo.debarcardnumber %]) is now debarred until [% errmsgloo.debarred | $KohaDates %]

    [% END %] + [% IF ( errmsgloo.prevdebarred ) %] +

    Reminder: Patron was earlier restricted until [% errmsgloo.prevdebarred | $KohaDates %]

    + [% END %] [% END %] [% IF ( soundon ) %] - + [% END %] [% ELSE %] [% IF ( soundon ) %] - + [% END %] [% END %]
    -[% END %] + +[% IF ( checkinmsg ) %] + [% IF ( checkinmsgtype == 'alert' ) %] +
    + [% ELSE %] +
    + [% END %] +

    [% checkinmsg | html_line_break %]

    +
    +[% END%]
    -
    +
    - Check In + Check in [% IF ( exemptfine ) %] @@ -367,6 +465,23 @@ function Dopop(link) { [% END %] + + [% IF Koha.Preference('SpecifyReturnDate') %] +
    +
    Specify return date [% INCLUDE 'date-format.inc' %]:
    + + + + + [% IF ( return_date_override_remember ) %] + + [% ELSE %] + + [% END %] + + +
    + [% END %] [% FOREACH inputloo IN inputloop %] @@ -379,54 +494,33 @@ function Dopop(link) {
    Options - -
      - [% IF ( overduecharges ) %] -
    • + [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %] +

      [% IF ( exemptfine ) %] [% ELSE %] [% END %] -

    • +

      [% END %] -
    • +

      [% IF ( dropboxmode ) %] [% ELSE %] [% END %] - -

    • -
    + +

    -[% IF ( returned ) %] -
    - - - - - -
    Item informationPatron information
    [% title |html %] - - [% riborsurname %], [% ribortitle %] [% riborfirstname %] ([% riborcnum %]) - [% IF ( flagset ) %] - ([% FOREACH flagloo IN flagloop %] - [% flagloo.flag %] - [% IF ( flagloo.charges ) %] of [% flagloo.chargeamount %] [% END %] - , - [% END %])[% END %] -
    -[% END %] [% IF ( riloop ) %]

    Checked-in items

    - + [% FOREACH riloo IN riloop %] @@ -442,6 +536,8 @@ function Dopop(link) { [% riloo.itemtitle |html %] + +
    Due dateTitle Author BarcodeShelving LocationCall numberType PatronNote
    Due dateTitle Author BarcodeHome libraryHolding libraryShelving locationCall numberType PatronNote
    [% riloo.itemauthor %] [% riloo.barcode %][% riloo.homebranch %][% riloo.holdingbranch %] [% riloo.location %] [% riloo.itemcallnumber %] [% riloo.itemtype %] [% riloo.ccode %]