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=49e4ef2e8eeeb239cfd56ec9f83d602ec4ef4d21;hpb=3ce542ce2668770a5669d2fb98b666f42a5bd388;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 49e4ef2e8e..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 %] @@ -38,10 +130,10 @@ $(document).ready(function() {
  • same library, same patron type, all item types
  • same library, all patron types, same item type
  • same library, all patron types, all item types
  • -
  • all libraries, same patron type, same item type
  • -
  • all libraries, same patron type, all item types
  • -
  • all libraries, all patron types, same item type
  • -
  • all libraries, all patron types, all item types
  • +
  • default (all libraries), same patron type, same item type
  • +
  • default (all libraries), same patron type, all item types
  • +
  • default (all libraries), all patron types, same item type
  • +
  • default (all libraries), all patron types, all item types
  • To modify a rule, create a new one with the same patron type and item type.

    @@ -57,43 +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)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 ) %] @@ -102,32 +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 %] @@ -135,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 (%) 
    -

    Default checkout, hold and return policy for [% IF ( humanbranch ) %][% humanbranch %][% ELSE %]all libraries[% END %]

    +

    Default checkout, hold and return policy[% IF ( humanbranch ) %] for [% humanbranch %][% END %]

    You can set a default maximum number of checkouts, hold policy and return policy that will be used if none is defined below for a particular item type or category.

    @@ -180,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 %] + + [% END %] - Item returns to issuing branch + Item returns to issuing library [% IF ( default_returnbranch == 'noreturn' ) %]
    [% END %] + +
    + [% IF current_branch == '*' %] +

    Default lost item fee refund on return policy

    + [% ELSE %] +

    Lost item fee refund on return policy for [% Branches.GetName(current_branch) %]

    + [% END %] +

    Specify the default policy for lost item fees on return. +

    +
    + + + + + + + + + + + + +
    Refund lost item fee 
    + + + +
    +
    +
    +
    -

    Holds policy by item type for [% IF ( humanbranch ) %][% humanbranch %][% ELSE %]all libraries[% END %]

    +

    [% IF humanbranch %]Holds policy by item type for [% humanbranch %][% ELSE %]Default holds policy by item type[% END %]

    For this library, you can edit rules for given itemtypes, regardless of the patron's category. @@ -317,11 +653,8 @@ for="tobranch">Clone these rules to: @@ -331,6 +664,7 @@ for="tobranch">Clone these rules to: Clone these rules to: Clone these rules to: Clone these rules to: Delete + + Delete [% END %] @@ -373,7 +715,7 @@ for="tobranch">Clone these rules to: [% FOREACH itemtypeloo IN itemtypeloop %] - + [% END %] @@ -384,14 +726,29 @@ for="tobranch">Clone these rules to: No holds allowed + + + - +