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=c51fed1db20142ef41a602c934cc4a4e6d676ad2;hb=5d6c092921919526ade501facb1220f8a108a08f;hp=4224ab11c62f231f38144bc4f7eee5f4a12c8188;hpb=afa94246d3d13993b7add9b34b40be977945f8fd;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 4224ab11c6..5e6704478b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1,51 +1,99 @@ +[% USE KohaDates %] +[% USE Branches %] +[% USE Koha %] +[% USE Borrowers %] +[% USE AuthorisedValues %] + [% INCLUDE 'doc-head-open.inc' %] -Koha › Circulation › Check In [% title |html %] +Koha › Circulation › Check in [% title |html %] [% INCLUDE 'doc-head-close.inc' %] + +[% INCLUDE 'calendar.inc' %] + + - + + [% INCLUDE 'header.inc' %] [% INCLUDE 'checkin-search.inc' %] - +
@@ -54,8 +102,14 @@ function Dopop(link) {
+[% IF additional_materials %] +
Note about the accompanying materials:
+ [% additional_materials %] +
+[% END %] + [% IF ( collectionItemNeedsTransferred ) %] -
This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]
+
This item is part of a Rotating Collection and needs to be Transferred to [% collectionBranch %]
[% END %] @@ -68,23 +122,34 @@ function Dopop(link) { [% IF ( waiting_holds ) %] -
+

[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.

Check out to this patron.

[% 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 %] 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 %])
  • -
  • [% wboraddress %][% IF ( wboraddress2 ) %]
    +
  • [% wborstnum %] [% wboraddress %][% IF ( wboraddress2 ) %]
    [% wboraddress2 %]
    [% END %] [% wborcity %] [% wborzip %]
  • [% IF ( wborphone ) %]
  • [% wborphone %]
  • [% END %] @@ -96,7 +161,7 @@ function Dopop(link) { - + [% END %]
[% END %] @@ -108,16 +173,16 @@ function Dopop(link) { [% IF ( soundon ) %] - -[% END %] - -
-

Hold Found (item is already waiting): [% title |html %]

+ +[% END %] + +
+

Hold found (item is already waiting): [% title |html %]

[% IF ( reservenotes ) %]

Notes: [% reservenotes %]

[% END %]

Hold for:

  • [% borsurname %], [% borfirstname %] ([% borcnum %])
  • -
  • [% boraddress %]
    +
  • [% borstnum %] [% boraddress %]
    [% IF ( boraddress2 ) %][% boraddress2 %]
    [% END %] [% borcity %] [% borzip %]
  • [% IF ( borphone ) %]
  • [% borphone %]
  • [% END %] @@ -132,7 +197,7 @@ function Dopop(link) {
    - + [% FOREACH inputloo IN inputloop %] @@ -150,12 +215,15 @@ function Dopop(link) { [% IF ( diffbranch ) %] -
    + [% IF ( soundon ) %] + + [% END %] +

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

    Hold for:

    • [% borsurname %], [% borfirstname %] ([% borcnum %])
    • -
    • [% boraddress %]
      +
    • [% borstnum %] [% boraddress %]
      [% IF ( boraddress2 ) %][% boraddress2 %]
      [% END %] [% borcity %] [% borzip %]
    • [% IF ( borphone ) %]
    • [% borphone %]
    • [% END %] @@ -171,7 +239,7 @@ function Dopop(link) { - + [% FOREACH inputloo IN inputloop %] @@ -186,15 +254,26 @@ function Dopop(link) { [% END %] [% IF ( transfer ) %] - -
      -

      Please return [% title or "item" |html %] to [% homebranchname %]

      [% END %] + +
      +

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

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

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

      - Transfer Now?
      + [% IF ( soundon ) %] + + [% END %] +

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

      + Transfer now?
      + [% IF itemnumber %] + + [% END %] @@ -208,11 +287,14 @@ function Dopop(link) { [% END %]
      - [% END %] + [% END %] [% IF ( diffbranch ) %] -

      Item Consigned:

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

      Item consigned:

      @@ -236,20 +318,20 @@ function Dopop(link) { [% IF ( reserved ) %] - -[% IF ( soundon ) %] - -[% END %] - -
      -

      Hold Found: [% title |html %]

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

      Hold found: [% title |html %]

      [% IF ( reservenotes ) %]

      Notes: [% reservenotes %]

      [% END %]
      Hold for:
      • [% borsurname %], [% borfirstname %] ([% borcnum %])
      • -
      • [% boraddress %]
        +
      • [% borstnum %] [% boraddress %]
        [% IF ( boraddress2 ) %][% boraddress2 %]
        [% END %] [% borcity %] [% borzip %]
      • [% IF ( borphone ) %]
      • [% borphone %]
      • [% END %] @@ -264,11 +346,11 @@ function Dopop(link) { [% END %]
        [% IF ( transfertodo ) %] - - + + [% ELSE %] - + [% END %] [% FOREACH inputloo IN inputloop %] @@ -284,13 +366,31 @@ 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 %]

      +

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

      [% END %] [% IF ( errmsgloo.ispermanent ) %]

      Please return to [% errmsgloo.msg %]

      @@ -298,36 +398,64 @@ function Dopop(link) { [% IF ( errmsgloo.notissued ) %]

      Not checked out.

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

      Local use recorded

      + [% 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 ) %] @@ -337,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 %] @@ -349,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 ) %] -
      [% title |html %]
      - - - - - -
      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

      +

      Checked-in items

      - + [% FOREACH riloo IN riloop %] @@ -412,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 %]