@@ -, +, @@ --- admin/smart-rules.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) --- a/admin/smart-rules.pl +++ a/admin/smart-rules.pl @@ -143,6 +143,7 @@ elsif ($op eq 'add') { $no_auto_renewal_after_hard_limit = output_pref( { dt => $no_auto_renewal_after_hard_limit, dateonly => 1, dateformat => 'iso' } ) if ( $no_auto_renewal_after_hard_limit ); my $reservesallowed = $input->param('reservesallowed'); my $holds_per_record = $input->param('holds_per_record'); + my $holds_per_day = $input->param('holds_per_day'); my $onshelfholds = $input->param('onshelfholds') || 0; $maxissueqty =~ s/\s//g; $maxissueqty = undef if $maxissueqty !~ /^\d+/; @@ -182,6 +183,7 @@ elsif ($op eq 'add') { no_auto_renewal_after_hard_limit => $no_auto_renewal_after_hard_limit, reservesallowed => $reservesallowed, holds_per_record => $holds_per_record, + holds_per_day => $holds_per_day, issuelength => $issuelength, lengthunit => $lengthunit, hardduedate => $hardduedate, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -187,7 +187,8 @@ $(document).ready(function() { Automatic renewal No automatic renewal after No automatic renewal after (hard limit) - Holds allowed (count) + Holds allowed (total) + Holds allowed (daily) Holds per record (count) On shelf holds allowed Item level holds @@ -270,6 +271,7 @@ $(document).ready(function() { [% rule.no_auto_renewal_after %] [% rule.no_auto_renewal_after_hard_limit %] [% rule.reservesallowed %] + [% rule.holds_per_day %] [% rule.holds_per_record %] [% IF rule.onshelfholds == 1 %] @@ -361,6 +363,7 @@ $(document).ready(function() {
[% INCLUDE 'date-format.inc' %]
+