@@ -, +, @@ --- .../prog/en/modules/admin/smart-rules.tt | 298 +++++++++--------- 1 file changed, 149 insertions(+), 149 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -73,6 +73,154 @@

The circulation and fine rules are applied based on the CircControl system preference which is set to [% Koha.Preference('CircControl') | html %] and the HomeOrHoldingBranch system preference which is set to [% Koha.Preference('HomeOrHoldingBranch') | html %].

+
+ Circulation and fine rules test tool +
+

Circulation and fine rules test tool

+

This test tool lets you search a row of circulation and fine rules for a specific patron, item and library.

+

Dropdown value for Library is determined via system preference CircControl. If the preference is set to item's library, then system preference HomeOrHoldingBranch defines the branch to use. You can test with any library by selecting the last option Library.

+ + + + + + + + + + + + + + + + + +
PatronItemLibraryActions
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LibraryPatron categoryItem typeCurrent checkouts allowedCurrent on-site checkouts allowedLoan periodUnitHard due dateFine amountFine charging intervalWhen to chargeFine grace periodOverdue fines cap (amount)Cap fine at replacement priceSuspension in days (day)Max. suspension duration (day)Renewals allowed (count)Renewal periodNo renewal beforeAutomatic renewalNo automatic renewal afterNo automatic renewal after (hard limit)Holds allowed (count)Holds per record (count)On shelf holds allowedItem level holdsArticle requestsRental discount (%)
+
+
+
+
[% UNLESS restricted_to_own_library %]
@@ -612,153 +760,6 @@
-
- Circulation and fine rules test tool -
-

Circulation and fine rules test tool

-

This test tool lets you search a row of circulation and fine rules for a specific patron, item and library.

-

Dropdown value for Library is determined via system preference CircControl. If the preference is set to item's library, then system preference HomeOrHoldingBranch defines the branch to use. You can test with any library by selecting the last option Library.

- - - - - - - - - - - - - - - - - -
PatronItemLibraryActions
- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
LibraryPatron categoryItem typeCurrent checkouts allowedCurrent on-site checkouts allowedLoan periodUnitHard due dateFine amountFine charging intervalWhen to chargeFine grace periodOverdue fines cap (amount)Cap fine at replacement priceSuspension in days (day)Max. suspension duration (day)Renewals allowed (count)Renewal periodNo renewal beforeAutomatic renewalNo automatic renewal afterNo automatic renewal after (hard limit)Holds allowed (count)Holds per record (count)On shelf holds allowedItem level holdsArticle requestsRental discount (%)
-
-
-

Default checkout, hold and return policy[% IF humanbranch %] for [% Branches.GetName( humanbranch ) | html %][% END %]

@@ -1628,7 +1629,6 @@ } function tester_submit() { - var url = "/api/v1/issuingrules/effective"; var query_params = {}; $.each($("input[name^=tester_input_], select[name^=tester_input_]"), function () { if ($(this).parent().css("display") === "none") { @@ -1640,7 +1640,7 @@ } }); $.ajax({ - url: "/api/v1/issuingrules/effective?"+$.param(query_params), + url: "/api/v1/circulation_rules?"+$.param(query_params), method: "GET", statusCode: { 200: function(response) { --