X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fadmin%2Fsmart-rules.tt;h=8d197afb3b99a71824d71164c5e61a270e0fb6d3;hb=1fcdef312be42c673d4ae017e3abe7722aba6048;hp=586d72feb419ba418bc91f600e13a2a0daf81769;hpb=b764c1ee81728ce5007b89e28b8703742d202375;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 586d72feb4..8d197afb3b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -2,13 +2,105 @@ Koha › Administration › Circulation and fine rules [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] +[% USE Branches %] @@ -57,44 +149,53 @@ $(document).ready(function() { [% IF ( definedbranch ) %]
-
[% END %] + [% END %]
- + +
+ + - - + + + + + + + + - - + + + + + + [% FOREACH rule IN rules %] - [% UNLESS ( loop.odd ) %] - - [% ELSE %] - - [% END %] + - + + + + + + + + - [% END %] - + - - + + + - + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Patron category Item type Current checkouts allowedCurrent on-site checkouts allowed Loan period Unit Hard due date Fine amount Fine charging intervalFine grace period (day)Overdue Fines Cap ($)When to chargeFine grace periodOverdue fines cap (amount)Cap fine at replacement price Suspension in days (day)Max. suspension duration (day) Renewals allowed (count)Renewal periodNo renewal beforeAutomatic renewal Holds allowed (count)Rental discount (%) On shelf holds allowedItem level holdsRental discount (%)Actions
[% IF ( rule.default_humancategorycode ) %] All [% ELSE %] [% rule.humancategorycode %] [% END %] [% IF ( rule.default_humanitemtype ) %] + [% IF rule.default_translated_description %] All [% ELSE %] - [% rule.humanitemtype %] + [% rule.translated_description %] [% END %] [% IF ( rule.unlimited_maxissueqty ) %] @@ -103,33 +204,76 @@ for="tobranch">Clone these rules to: + [% ELSIF ( rule.hardduedateexact ) %] + on [% rule.hardduedate %] + + [% ELSIF ( rule.hardduedateafter ) %] + after [% rule.hardduedate %] + + [% END %] + [% ELSE %] + None defined + [% END %] + [% rule.fine %] [% rule.chargeperiod %][% IF rule.chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %] [% rule.firstremind %] [% rule.overduefinescap FILTER format("%.2f") %] + [% IF rule.cap_fine_to_replacement_price %] + + [% ELSE %] + + [% END %] + [% rule.finedays %][% rule.maxsuspensiondays %] [% rule.renewalsallowed %][% rule.renewalperiod %][% rule.norenewalbefore %] + [% IF ( rule.auto_renew ) %] + Yes + [% ELSE %] + No + [% END %] + [% rule.reservesallowed %] + [% IF rule.onshelfholds == 1 %] + Yes + [% ELSIF rule.onshelfholds == 2 %] + If all unavailable + [% ELSE %] + If any unavailable + [% END %][% IF rule.opacitemholds == 'F'%]Force[% ELSIF rule.opacitemholds == 'Y'%]Allow[% ELSE %]Don't allow[% END %] [% rule.rentaldiscount %] - Delete + + Edit + Delete
- [% FOREACH categoryloo IN categoryloop %] @@ -137,22 +281,24 @@ for="tobranch">Clone these rules to: + - - + + + + +
[% INCLUDE 'date-format.inc' %]
+ + + + + + + + + + + +
Patron categoryItem typeCurrent checkouts allowedCurrent on-site checkouts allowedLoan periodUnitHard due dateFine amountFine charging intervalCharge when?Fine grace periodOverdue fines cap (amount)Cap fine at replacement priceSuspension in days (day)Max. suspension duration (day)Renewals allowed (count)Renewal periodNo renewal beforeAutomatic renewalHolds allowed (count)On shelf holds allowedItem level holdsRental discount (%) 
@@ -183,14 +392,16 @@ for="tobranch">Clone these rules to: + + [% IF default_hold_fulfillment_policy == 'any' %] + + [% ELSE %] + + [% END %] + + [% IF default_hold_fulfillment_policy == 'homebranch' %] + + [% ELSE %] + + [% END %] + + [% IF default_hold_fulfillment_policy == 'holdingbranch' %] + + [% ELSE %] + + [% END %] + + - - Unset + + + Unset @@ -265,6 +509,7 @@ for="tobranch">Clone these rules to: Clone these rules to: Delete + [% IF ( branch_cat_rule_loo.unlimited_maxonsiteissueqty ) %] + Unlimited + [% ELSE %] + [% branch_cat_rule_loo.maxonsiteissueqty %] + [% END %] + + + + Delete [% END %] @@ -299,12 +551,93 @@ for="tobranch">Clone these rules to: - + +