From 5ee536c715f90262c344b2afc9a9456382c858b1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 13 Dec 2017 18:05:50 -0300 Subject: [PATCH] Bug 19804: Add the new column to the circ rules interface Signed-off-by: Hugo Agud Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- admin/smart-rules.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index 718b68235c..fe0c9c29f1 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -125,6 +125,7 @@ elsif ($op eq 'add') { my $finedays = $input->param('finedays'); my $maxsuspensiondays = $input->param('maxsuspensiondays'); $maxsuspensiondays = undef if $maxsuspensiondays eq q||; + my $suspension_chargeperiod = $input->param('suspension_chargeperiod') || 1; my $firstremind = $input->param('firstremind'); my $chargeperiod = $input->param('chargeperiod'); my $chargeperiod_charge_at = $input->param('chargeperiod_charge_at'); @@ -168,6 +169,7 @@ elsif ($op eq 'add') { fine => $fine, finedays => $finedays, maxsuspensiondays => $maxsuspensiondays, + suspension_chargeperiod => $suspension_chargeperiod, firstremind => $firstremind, chargeperiod => $chargeperiod, chargeperiod_charge_at => $chargeperiod_charge_at, 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 ffa8776491..03a8bdcf7d 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 @@ -78,6 +78,7 @@ Cap fine at replacement price Suspension in days (day) Max. suspension duration (day) + Fine day charging interval Renewals allowed (count) Renewal period No renewal before @@ -165,6 +166,7 @@ [% rule.finedays %] [% rule.maxsuspensiondays %] + [% rule.suspension_chargeperiod %] [% rule.renewalsallowed %] [% rule.renewalperiod %] [% rule.norenewalbefore %] @@ -269,6 +271,7 @@ + @@ -331,6 +334,7 @@ Overdue fines cap (amount) Cap fine at replacement price Suspension in days (day) + Fine day charging interval Max. suspension duration (day) Renewals allowed (count) Renewal period -- 2.39.5