X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fcirc%2Fcirculation.tt;h=a24fece83ca69ea38dfd15b550f2cf77d5b0cb3f;hb=2a9ad2691295ab1d2b70706f380c93e626c48d88;hp=71809af85085a9a3aa38300db51b7f2ebc02f71f;hpb=9fa2818899bf4495ca94c6d311ec750d39298167;p=koha-ffzg.git
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
index 71809af850..a24fece83c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -1,39 +1,63 @@
[% USE raw %]
[% USE Asset %]
+[% USE Context %]
[% USE Koha %]
[% USE Branches %]
[% USE KohaDates %]
[% USE Categories %]
-[% USE ColumnsSettings %]
+[% USE TablesSettings %]
[% USE ItemTypes %]
[% USE Price %]
[% USE AuthorisedValues %]
+[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
+[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %]
[% SET destination = "circ" %]
- Koha › Circulation
[% IF patron %]
- › Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
- [% END %]
+ Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %] › [% END %]
+
+ Circulation › Koha
[% INCLUDE 'doc-head-close.inc' %]
- [% INCLUDE 'header.inc' %]
+ [% WRAPPER 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]
+[% END %]
-
- Home ›
- Circulation ›
- [% IF patron %]
- Checkouts › [% INCLUDE 'patron-title.inc' %]
- [% ELSE %]
- Checkouts
- [% END %]
-
+ [% WRAPPER 'sub-header.inc' %]
+
+ [% END %]
@@ -44,6 +68,8 @@
[% INCLUDE 'members-toolbar.inc' %]
[% END %]
+
Checkouts
+
[% IF ( was_renewed ) %]
Patron's account has been renewed until [% expiry | $KohaDates %]
@@ -53,9 +79,8 @@
Patron was automatically switched by reading the patron card during checking out. Ensure you are working with the right patron.
[% END %]
- [% IF additional_materials %]
-
Note about the accompanying materials:
- [% additional_materials | html %]
+ [% IF ADDITIONAL_MATERIALS && !NEEDSCONFIRMATION %]
+
Note about the accompanying materials: [% ADDITIONAL_MATERIALS | html %]
[% END %]
@@ -68,7 +93,7 @@
[% END %]
[% IF alert.HIGHHOLDS %]
-
High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).
+
High demand item. Loan period was not shortened due to override. Shortened due date would have been [% alert.HIGHHOLDS.returndate | $KohaDates %] ([% alert.HIGHHOLDS.duration | html %] days).
[% END %]
[% IF alert.RETURNED_FROM_ANOTHER %]
@@ -80,8 +105,8 @@
[% END %]
[% IF ( NEEDSCONFIRMATION ) %]
-
- [% IF CAN_user_circulate_force_checkout %]
+
+ [% IF CAN_user_circulate_force_checkout or ADDITIONAL_MATERIALS %]
Please confirm checkout
[% ELSE %]
Cannot check out
@@ -97,6 +122,7 @@
[% END %]
+
[% IF ( DEBT ) %]
The patron has a debt of [% DEBT | $Price %].
[% END %]
@@ -105,24 +131,36 @@
The patron's guarantees collectively have a debt of [% DEBT_GUARANTEES | $Price %].
[% END %]
+ [% IF ( DEBT_GUARANTORS ) %]
+
The patron's guarantors and their other guarantees collectively have a debt of [% DEBT_GUARANTORS | $Price %].
+ [% END %]
+
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %]
Rental charge for this item: [% RENTALCHARGE | $Price %]
[% END %]
[% IF ( RENEW_ISSUE ) %]
-
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is currently checked out to this patron. Renew?
+
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is currently checked out to this patron. Renew?
[% END %]
[% IF ( RESERVE_WAITING ) %]
-
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) has been waiting for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% reswaitingdate | $KohaDates %]
+
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) has been waiting for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% reswaitingdate | $KohaDates %]
+ [% END %]
+
+ [% IF ( TRANSFERRED ) %]
+
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is on hold for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) and being transferred to [% Branches.GetName( resbranchcode ) | html %]
+ [% END %]
+
+ [% IF ( PROCESSING ) %]
+
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is being processed for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %]
[% END %]
[% IF ( RESERVED ) %]
-
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) has been on hold for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% resreservedate | $KohaDates %]
+
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) has been on hold for [% resfirstname | html %] [% ressurname | html %] ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% resreservedate | $KohaDates %]
Item [% getTitleMessageIteminfo | html %] ([% getBarcodeMessageIteminfo | html %]) is checked out to [% issued_firstname | html %] [% issued_surname | html %] ([% issued_cardnumber | html %]).
[% IF CAN_user_circulate_force_checkout %]
Check in and check out?
[% END %]
@@ -152,13 +190,13 @@
[% IF ( NOT_FOR_LOAN_FORCING ) %]
[% IF ( itemtype_notforloan ) %]
- Item type is normally not for loan.
+ Item type is normally not for loan.
[% ELSIF ( item_notforloan ) %]
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %]
- Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %].
+ Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %].
[% END %]
[% IF CAN_user_circulate_force_checkout %]
- Check out anyway?
+ Check out anyway?
[% END %]
[% END %]
@@ -184,7 +222,7 @@
[% END %]
[% IF PREVISSUE %]
-
Patron has previously checked out this title: [% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]. Check out anyway?
+
Patron has previously checked out this title: [% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]. Check out anyway?
[% END %]
[% IF BIBLIO_ALREADY_ISSUED %]
@@ -195,6 +233,21 @@
[% END %]
[% END %]
+
+ [% IF ADDITIONAL_MATERIALS %]
+
+ Please confirm that the accompanying materials are present: [% ADDITIONAL_MATERIALS | html %]
+
+ [% END %]
+
+ [% IF RECALLED %]
+ [% IF RECALLED.waiting %]
+
Item [% RECALLED.biblio.title | html %] ([% RECALLED.item.barcode | html %]) has been waiting for [% RECALLED.patron.firstname | html %] [% RECALLED.patron.surname | html %] ([% RECALLED.patron.cardnumber | html %]) at [% Branches.GetName( RECALLED.pickup_library_id ) | html %] since [% RECALLED.waiting_date | $KohaDates %]
+ [% ELSIF RECALLED.requested or RECALLED.overdue %]
+
Item [% RECALLED.biblio.title | html %] [% IF RECALLED.item %]([% RECALLED.item.barcode | html %])[% END %] has been recalled by [% RECALLED.patron.firstname | html %] [% RECALLED.patron.surname | html %] ([% RECALLED.patron.cardnumber | html %]) at [% Branches.GetName( RECALLED.pickup_library_id ) | html %] since [% RECALLED.created_date | $KohaDates %]
+ [% END %]
+ [% END %]
+
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
@@ -226,6 +279,39 @@
[% END %]
+ [% IF ( TRANSFERRED ) %]
+
+
+
+
+
+
+ [% END %]
+
+ [% IF ( PROCESSING ) %]
+
+
+
+
+
+
+ [% END %]
+
+ [% IF ( RECALLED ) %]
+
+
+
+
+
+ [% IF RECALLED.waiting %]
+
+
+
+
+
+ [% END %]
+ [% END %]
+
@@ -235,7 +321,7 @@
[% IF ( INVALID_DATE ) %]
-
+
[% ELSE %]
@@ -256,23 +342,43 @@
[% END # /IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
- [% IF ( RESERVED ) %]
-
- [% END %]
+ [% END # /IF ADDITIONAL_MATERIALS %]
- [% IF ( RESERVE_WAITING ) %]
+ [% IF ( RESERVED or RESERVE_WAITING or TRANSFERRED or PROCESSING ) %]
+ [% END %]
+
+ [% IF ( RECALLED ) %]
+
[% END %]
@@ -282,7 +388,7 @@
- [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
+ [% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %]
[% IF ( RENEW_ISSUE ) %]
[% ELSE %]
@@ -293,7 +399,7 @@
[% END %]
- [% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %]
+ [% IF ( RESERVED || ISSUED_TO_ANOTHER || RECALLED ) && (CAN_user_reserveforothers_place_holds ) %]
[% UNLESS noissues %]
[% END %]
@@ -302,19 +408,23 @@
[% END # /NEEDSCONFIRMATION %]
[% IF ( IMPOSSIBLE ) %]
-
+
[% IF ( UNKNOWN_BARCODE ) %]
Barcode not found
[% END %]
+ [% IF ( DEBT_GUARANTORS ) %]
+
The patron's guarantors and their other guarantees collectively have a debt of [% DEBT_GUARANTORS | $Price %].
+ [% END %]
+
[% IF ( STATS ) %]
Local use recorded
[% END %]
[% IF ( INVALID_DATE ) %]
-
The due date "[% INVALID_DATE | html %]" is invalid
+
The due date "[% INVALID_DATE | $KohaDates %]" is invalid
[% END %]
[% IF ( UNKNOWN_BARCODE ) %]
@@ -411,6 +521,10 @@
[% IF ( USERBLOCKEDOVERDUE ) %]
Checkouts are BLOCKED because patron has overdue items.
[% END %]
+
+ [% IF ( RECALLED_INTRANSIT ) %]
+
Item has been recalled and is in transit for pickup at [% Branches.GetName( RECALLED_INTRANSIT ) | html %].