X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fadmin%2Fsmart-rules.tt;h=1c83cc042fe94d5ec958c14ed6ab8829f8ec86c1;hb=2d0bdc80fda5344cd3ef6613d26676267a82142a;hp=0edcece15c255e543afd25aa8bd5b8c861e6f3e7;hpb=7aa3a055914d4c8757455898208848619f5aaec5;p=koha_fer 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 0edcece15c..1c83cc042f 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 @@ -1,29 +1,95 @@ [% INCLUDE 'doc-head-open.inc' %] -Koha › Administration › Circulation and Fine Rules +Koha › Administration › Circulation and fine rules [% INCLUDE 'doc-head-close.inc' %] - +[% INCLUDE 'calendar.inc' %] - - - - - - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
@@ -44,10 +110,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.

    @@ -63,31 +129,38 @@ $(document).ready(function() { [% IF ( definedbranch ) %]
    -
    [% END %] + [% END %]
    - + +
    + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + [% FOREACH rule IN rules %] [% UNLESS ( loop.odd ) %] - + [% ELSE %] - + [% END %] + + + [% END %] - + - - - + + + + + + + + + + + + + - - - - - - - - +
    Patron CategoryItem TypeCurrent Checkouts AllowedLoan Period (day)Hard Due DateFine AmountFine Charging IntervalFine Grace period (day)Suspension in Days (day)Renewals Allowed (count)Holds Allowed (count)Rental Discount (%) Patron categoryItem typeCurrent checkouts allowedLoan periodUnitHard due dateFine amountFine charging intervalFine grace period (day)Overdue fines cap (amount)Suspension in days (day)Renewals allowed (count)Renewal periodHolds allowed (count)Rental discount (%) 
    [% IF ( rule.default_humancategorycode ) %] All @@ -108,28 +181,43 @@ 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 %] [% rule.firstremind %][% rule.overduefinescap FILTER format("%.2f") %] [% rule.finedays %] [% rule.renewalsallowed %][% rule.renewalperiod %] [% rule.reservesallowed %] [% rule.rentaldiscount %]Edit Delete
    - [% FOREACH categoryloo IN categoryloop %] @@ -137,61 +225,61 @@ for="tobranch">Clone these rules to: + + + + - - [% INCLUDE 'date-format.inc' %] - Show Calendar - + +
    [% INCLUDE 'date-format.inc' %]
    +
    + + +
    -

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

    -

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

    +

    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.

    - - + + + @@ -205,21 +293,46 @@ for="tobranch">Clone these rules to: [% END %] - From Any Library + From any library [% IF ( default_holdallowed_same ) %] [% IF ( default_holdallowed_none ) %] + + + @@ -233,7 +346,7 @@ for="tobranch">Clone these rules to: -

    Checkout limit by patron category for [% IF ( humanbranch ) %][% humanbranch %][% ELSE %]all libraries[% END %]

    +

    [% IF humanbranch %]Checkout limit by patron category for [% humanbranch %][% ELSE %]Default checkout limit by patron category[% END %]

    For this library, you can specify the maximum number of loans that a patron of a given category can make, regardless of the item type.

    @@ -245,8 +358,8 @@ for="tobranch">Clone these rules to:
     Total Current Checkouts AllowedHold PolicyTotal current checkouts allowedHold policyReturn policy    
    +
    - - + + [% FOREACH branch_cat_rule_loo IN branch_cat_rule_loop %] @@ -268,7 +381,7 @@ for="tobranch">Clone these rules to:Delete + Delete [% END %] @@ -288,7 +401,7 @@ for="tobranch">Clone these rules to: -

    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. @@ -298,9 +411,9 @@ for="tobranch">Clone these rules to: Clone these rules to:

    Patron CategoryTotal Current Checkouts AllowedPatron categoryTotal current checkouts allowed  
    - - + + + [% FOREACH branch_item_rule_loo IN branch_item_rule_loop %] @@ -331,15 +445,25 @@ for="tobranch">Clone these rules to:Delete + Delete [% END %] @@ -353,9 +477,16 @@ for="tobranch">Clone these rules to: - - - + + + + + +
    Item TypeHold PolicyItem typeHold policyReturn policy  
    +