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=b2f62f746532388edc842901bd9f9933159dad8b;hpb=381794ff4eeae020e96cfdae1c28572440853d34;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 b2f62f7465..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 @@ -4,11 +4,83 @@ [% INCLUDE 'calendar.inc' %] @@ -38,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.

    @@ -57,11 +129,13 @@ $(document).ready(function() { [% IF ( definedbranch ) %]
    -
    [% END %] + [% END %]
    - + +
    + @@ -72,18 +146,21 @@ for="tobranch">Clone these rules to:  + + [% FOREACH rule IN rules %] [% UNLESS ( loop.odd ) %] - + [% ELSE %] - + [% END %] + + [% END %] - + - - + + + - - - - - - - - - - + + + + + + + + + + +
    Patron category Item type
    [% IF ( rule.default_humancategorycode ) %] All @@ -107,29 +184,40 @@ 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,22 +225,23 @@ for="tobranch">Clone these rules to: + + + - - @@ -160,21 +249,27 @@ for="tobranch">Clone these rules to:
    [% INCLUDE 'date-format.inc' %]
    + + + +
    -

    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.

    @@ -230,7 +325,7 @@ for="tobranch">Clone these rules to: [% END %] - Item returns to issuing branch + Item returns to issuing library [% IF ( default_returnbranch == 'noreturn' ) %]