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=75e05b390d74b2c541e938fd5492830647f21f96;hb=88e27fce3f47dcca8fc4a7134fc0dc0b21e52e9c;hp=39548f83730e72186a1a8011c11aa4a7cc03a4b8;hpb=67af1025862cb4caf9426f1bb6e236dc2124f1cd;p=koha_fer
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 39548f8373..75e05b390d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -1,4 +1,9 @@
+[% USE Branches %]
[% USE KohaDates %]
+[% IF ( export_remove_fields OR export_with_csv_profile ) %]
+ [% SET exports_enabled = 1 %]
+[% END %]
+[% USE AuthorisedValues %]
[% INCLUDE 'doc-head-open.inc' %]
[% SET destination = "circ" %]
Koha › Circulation
@@ -8,45 +13,60 @@
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'calendar.inc' %]
-[% IF ( UseTablesortForCirc ) %][% END %]
-
-
+[% IF ( UseTablesortForCirc ) %]
+[% INCLUDE 'datatables.inc' %][% END %]
+
+
+[% INCLUDE 'timepicker.inc' %]
+
@@ -290,7 +168,7 @@ function validate1(date) {
-[% IF ( dateexpiry ) %]
Patron's account has been renewed until [% dateexpiry %]
[% END %]
+[% IF ( was_renewed ) %]
Patron's account has been renewed until [% expiry %]
[% END %]
[% IF additional_materials %]
Note about the accompanying materials:
@@ -310,11 +188,19 @@ function validate1(date) {
-
Please confirm checkout
+[% IF CAN_user_circulate_force_checkout %]
+
Please confirm checkout
+[% ELSE %]
+
Cannot check out
+[% END %]
[%IF ( AGE_RESTRICTION ) %]
-
Age restriction [% AGE_RESTRICTION %]. Check out anyway?
+
Age restriction [% AGE_RESTRICTION %].
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
[% END %]
[% IF ( DEBT ) %]
@@ -334,7 +220,11 @@ function validate1(date) {
[% END %]
[% IF ( ISSUED_TO_ANOTHER ) %]
-
Item [% getTitleMessageIteminfo %] ([% getBarcodeMessageIteminfo %]) is checked out to [% issued_firstname %] [% issued_surname %] ([% issued_cardnumber %]). Check in and check out?
+
Item [% getTitleMessageIteminfo %] ([% getBarcodeMessageIteminfo %]) is checked out to [% issued_firstname %] [% issued_surname %] ([% issued_cardnumber %]).
+ [% IF CAN_user_circulate_force_checkout %]
+ Check in and check out?
+ [% END %]
+
[% END %]
[% IF ( TOO_MANY ) %]
@@ -350,19 +240,46 @@ function validate1(date) {
[% END %]
[% IF ( NOT_FOR_LOAN_FORCING ) %]
-
Item is normally not for loan. Check out anyway?
+
+ [% IF ( itemtype_notforloan ) %]
+ Item type is normally not for loan.
+ [% ELSIF ( item_notforloan ) %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
+ Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
+ [% END %]
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
[% END %]
[% IF ( USERBLOCKEDOVERDUE ) %]
-
Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). Check out anyway?
+
Patron has [% USERBLOCKEDOVERDUE %] overdue item(s).
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
[% END %]
[% IF ( ITEM_LOST ) %]
-
This item has been lost with a status of "[% ITEM_LOST %]". Check out anyway?
+
This item has been lost with a status of "[% ITEM_LOST %]".
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
[% END %]
[% IF HIGHHOLDS %]
-
High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?
+
High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?
+[% END %]
+
+[% IF BIBLIO_ALREADY_ISSUED %]
+
+ Patron has already checked out another item from this record.
+ [% IF CAN_user_circulate_force_checkout %]
+ Check out anyway?
+ [% END %]
+
[% END %]
@@ -373,6 +290,8 @@ function validate1(date) {
});
[% END %]
+
+[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
+[% END %]
@@ -429,7 +353,7 @@ function validate1(date) {
[% IF ( IMPOSSIBLE ) %]
[% IF ( soundon ) %]
-
+
[% END %]
@@ -445,16 +369,44 @@ function validate1(date) {
[% END %]
[% IF ( UNKNOWN_BARCODE ) %]
-
The barcode was not found [% barcode |html %]
+
The barcode was not found [% barcode |html %]
[% IF ( fast_cataloging ) %]
[% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
Fast cataloging
[% END %]
[% END %]
+
+ [% IF ( FALLBACK ) %]
+ [% IF options %]
+ The following items were found by searching:
+ [% FOREACH book IN options %]
+
+
+ [% END %]
+ [% ELSE %]
+ No items were found by searching.
+ [% END %]
+ [% END %]
+
+
[% END %]
[% IF ( NOT_FOR_LOAN ) %]
-
Item not for loan
+
+ [% IF ( itemtype_notforloan ) %]
+ Item type not for loan.
+ [% ELSIF ( item_notforloan ) %]
+ [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
+ Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %].
+ [% END %]
+
[% END %]
[% IF ( WTHDRAWN ) %]
@@ -489,8 +441,12 @@ function validate1(date) {
Patron's card is expired
[% END %]
+ [% IF ( TOO_MANY ) %]
+
Too many checked out. [% current_loan_count %] checked out, only [% max_loans_allowed %] are allowed.
+ [% END %]
+
[% IF ( ITEMNOTSAMEBRANCH ) %]
-
This item belongs to [% itemhomebranch %] and cannot be issued from this location.
+
This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.
[% END %]
[% IF ( USERBLOCKEDREMAINING ) %]
@@ -505,7 +461,7 @@ function validate1(date) {
[% ELSE %]
[% IF ( soundon ) %]
-
+
[% END %]
[% END %]
@@ -566,7 +522,7 @@ No patron matched [% message %]
Enter item barcode:
- [% IF ( NEEDSCONFIRMATION ) %]
+ [% IF NEEDSCONFIRMATION %]
[% ELSE %]
@@ -642,14 +598,20 @@ No patron matched [% message %]
[% IF ( userdebarred ) %]
- Restricted: Patron's account is restricted [% IF (userdebarreddate ) %] until [% userdebarreddate %] [% END %] [% IF (debarredcomment ) %] with the comment "[% debarredcomment %]"[% END %]
-
-
[% END %]
+ Restricted: Patron's account is restricted
+
+ [% IF ( userdebarreddate ) %]
+ until [% userdebarreddate %]
+ [% END %]
+
+ [% IF ( debarredcomment ) %]
+ with the explanation: [% debarredcomment | html_line_break %]
+ [% END %]
+
+
+ View restrictions
+
+ [% END %]
[% IF ( odues ) %]
[% IF ( nonreturns ) %]Overdues: Patron has ITEMS OVERDUE. See highlighted items below[% END %]
[% END %]
@@ -660,7 +622,7 @@ No patron matched [% message %]
[% IF ( charges_is_blocker ) %]
Checkouts are BLOCKED because fine balance is OVER THE LIMIT.
[% END %]
- Make Payment
+ Make payment
[% END %]
[% IF ( credits ) %]
@@ -749,34 +711,35 @@ No patron matched [% message %]
[% ELSE %]
0 Holds
[% END %]
+