View | Details | Raw Unified | Return to bug 19804
Collapse All | Expand All

(-)a/admin/smart-rules.pl (+2 lines)
Lines 125-130 elsif ($op eq 'add') { Link Here
125
    my $finedays     = $input->param('finedays');
125
    my $finedays     = $input->param('finedays');
126
    my $maxsuspensiondays = $input->param('maxsuspensiondays');
126
    my $maxsuspensiondays = $input->param('maxsuspensiondays');
127
    $maxsuspensiondays = undef if $maxsuspensiondays eq q||;
127
    $maxsuspensiondays = undef if $maxsuspensiondays eq q||;
128
    my $suspension_chargeperiod = $input->param('suspension_chargeperiod') || 1;
128
    my $firstremind  = $input->param('firstremind');
129
    my $firstremind  = $input->param('firstremind');
129
    my $chargeperiod = $input->param('chargeperiod');
130
    my $chargeperiod = $input->param('chargeperiod');
130
    my $chargeperiod_charge_at = $input->param('chargeperiod_charge_at');
131
    my $chargeperiod_charge_at = $input->param('chargeperiod_charge_at');
Lines 168-173 elsif ($op eq 'add') { Link Here
168
        fine                          => $fine,
169
        fine                          => $fine,
169
        finedays                      => $finedays,
170
        finedays                      => $finedays,
170
        maxsuspensiondays             => $maxsuspensiondays,
171
        maxsuspensiondays             => $maxsuspensiondays,
172
        suspension_chargeperiod       => $suspension_chargeperiod,
171
        firstremind                   => $firstremind,
173
        firstremind                   => $firstremind,
172
        chargeperiod                  => $chargeperiod,
174
        chargeperiod                  => $chargeperiod,
173
        chargeperiod_charge_at        => $chargeperiod_charge_at,
175
        chargeperiod_charge_at        => $chargeperiod_charge_at,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-1 / +4 lines)
Lines 78-83 Link Here
78
                <th>Cap fine at replacement price</th>
78
                <th>Cap fine at replacement price</th>
79
                <th>Suspension in days (day)</th>
79
                <th>Suspension in days (day)</th>
80
                <th>Max. suspension duration (day)</th>
80
                <th>Max. suspension duration (day)</th>
81
                <th>Fine day charging interval</th>
81
                <th>Renewals allowed (count)</th>
82
                <th>Renewals allowed (count)</th>
82
                <th>Renewal period</th>
83
                <th>Renewal period</th>
83
                <th>No renewal before</th>
84
                <th>No renewal before</th>
Lines 165-170 Link Here
165
                            </td>
166
                            </td>
166
							<td>[% rule.finedays %]</td>
167
							<td>[% rule.finedays %]</td>
167
                            <td>[% rule.maxsuspensiondays %]</td>
168
                            <td>[% rule.maxsuspensiondays %]</td>
169
                            <td>[% rule.suspension_chargeperiod %]</td>
168
							<td>[% rule.renewalsallowed %]</td>
170
							<td>[% rule.renewalsallowed %]</td>
169
                            <td>[% rule.renewalperiod %]</td>
171
                            <td>[% rule.renewalperiod %]</td>
170
                            <td>[% rule.norenewalbefore %]</td>
172
                            <td>[% rule.norenewalbefore %]</td>
Lines 269-274 Link Here
269
                    <td><input type="checkbox" name="cap_fine_to_replacement_price" id="cap_fine_to_replacement_price" /></td>
271
                    <td><input type="checkbox" name="cap_fine_to_replacement_price" id="cap_fine_to_replacement_price" /></td>
270
                    <td><input type="text" name="finedays" id="fined" size="3" /> </td>
272
                    <td><input type="text" name="finedays" id="fined" size="3" /> </td>
271
                    <td><input type="text" name="maxsuspensiondays" id="maxsuspensiondays" size="3" /> </td>
273
                    <td><input type="text" name="maxsuspensiondays" id="maxsuspensiondays" size="3" /> </td>
274
                    <td><input type="text" name="suspension_chargeperiod" id="suspension_chargeperiod" size="3" /> </td>
272
                    <td><input type="text" name="renewalsallowed" id="renewalsallowed" size="2" /></td>
275
                    <td><input type="text" name="renewalsallowed" id="renewalsallowed" size="2" /></td>
273
                    <td><input type="text" name="renewalperiod" id="renewalperiod" size="3" /></td>
276
                    <td><input type="text" name="renewalperiod" id="renewalperiod" size="3" /></td>
274
                    <td><input type="text" name="norenewalbefore" id="norenewalbefore" size="3" /></td>
277
                    <td><input type="text" name="norenewalbefore" id="norenewalbefore" size="3" /></td>
Lines 331-336 Link Here
331
                      <th>Overdue fines cap (amount)</th>
334
                      <th>Overdue fines cap (amount)</th>
332
                      <th>Cap fine at replacement price</th>
335
                      <th>Cap fine at replacement price</th>
333
                      <th>Suspension in days (day)</th>
336
                      <th>Suspension in days (day)</th>
337
                      <th>Fine day charging interval</th>
334
                      <th>Max. suspension duration (day)</th>
338
                      <th>Max. suspension duration (day)</th>
335
                      <th>Renewals allowed (count)</th>
339
                      <th>Renewals allowed (count)</th>
336
                      <th>Renewal period</th>
340
                      <th>Renewal period</th>
337
- 

Return to bug 19804