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

(-)a/admin/smart-rules.pl (+2 lines)
Lines 126-131 elsif ($op eq 'add') { Link Here
126
    my $finedays     = $input->param('finedays');
126
    my $finedays     = $input->param('finedays');
127
    my $maxsuspensiondays = $input->param('maxsuspensiondays');
127
    my $maxsuspensiondays = $input->param('maxsuspensiondays');
128
    $maxsuspensiondays = undef if $maxsuspensiondays eq q||;
128
    $maxsuspensiondays = undef if $maxsuspensiondays eq q||;
129
    my $suspension_chargeperiod = $input->param('suspension_chargeperiod') || 1;
129
    my $firstremind  = $input->param('firstremind');
130
    my $firstremind  = $input->param('firstremind');
130
    my $chargeperiod = $input->param('chargeperiod');
131
    my $chargeperiod = $input->param('chargeperiod');
131
    my $chargeperiod_charge_at = $input->param('chargeperiod_charge_at');
132
    my $chargeperiod_charge_at = $input->param('chargeperiod_charge_at');
Lines 169-174 elsif ($op eq 'add') { Link Here
169
        fine                          => $fine,
170
        fine                          => $fine,
170
        finedays                      => $finedays,
171
        finedays                      => $finedays,
171
        maxsuspensiondays             => $maxsuspensiondays,
172
        maxsuspensiondays             => $maxsuspensiondays,
173
        suspension_chargeperiod       => $suspension_chargeperiod,
172
        firstremind                   => $firstremind,
174
        firstremind                   => $firstremind,
173
        chargeperiod                  => $chargeperiod,
175
        chargeperiod                  => $chargeperiod,
174
        chargeperiod_charge_at        => $chargeperiod_charge_at,
176
        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 159-164 Link Here
159
                            </td>
160
                            </td>
160
							<td>[% rule.finedays %]</td>
161
							<td>[% rule.finedays %]</td>
161
                            <td>[% rule.maxsuspensiondays %]</td>
162
                            <td>[% rule.maxsuspensiondays %]</td>
163
                            <td>[% rule.suspension_chargeperiod %]</td>
162
							<td>[% rule.renewalsallowed %]</td>
164
							<td>[% rule.renewalsallowed %]</td>
163
                            <td>[% rule.renewalperiod %]</td>
165
                            <td>[% rule.renewalperiod %]</td>
164
                            <td>[% rule.norenewalbefore %]</td>
166
                            <td>[% rule.norenewalbefore %]</td>
Lines 254-259 Link Here
254
                    <td><input type="checkbox" name="cap_fine_to_replacement_price" id="cap_fine_to_replacement_price" /></td>
256
                    <td><input type="checkbox" name="cap_fine_to_replacement_price" id="cap_fine_to_replacement_price" /></td>
255
                    <td><input type="text" name="finedays" id="fined" size="3" /> </td>
257
                    <td><input type="text" name="finedays" id="fined" size="3" /> </td>
256
                    <td><input type="text" name="maxsuspensiondays" id="maxsuspensiondays" size="3" /> </td>
258
                    <td><input type="text" name="maxsuspensiondays" id="maxsuspensiondays" size="3" /> </td>
259
                    <td><input type="text" name="suspension_chargeperiod" id="suspension_chargeperiod" size="3" /> </td>
257
                    <td><input type="text" name="renewalsallowed" id="renewalsallowed" size="2" /></td>
260
                    <td><input type="text" name="renewalsallowed" id="renewalsallowed" size="2" /></td>
258
                    <td><input type="text" name="renewalperiod" id="renewalperiod" size="3" /></td>
261
                    <td><input type="text" name="renewalperiod" id="renewalperiod" size="3" /></td>
259
                    <td><input type="text" name="norenewalbefore" id="norenewalbefore" size="3" /></td>
262
                    <td><input type="text" name="norenewalbefore" id="norenewalbefore" size="3" /></td>
Lines 316-321 Link Here
316
                      <th>Overdue fines cap (amount)</th>
319
                      <th>Overdue fines cap (amount)</th>
317
                      <th>Cap fine at replacement price</th>
320
                      <th>Cap fine at replacement price</th>
318
                      <th>Suspension in days (day)</th>
321
                      <th>Suspension in days (day)</th>
322
                      <th>Fine day charging interval</th>
319
                      <th>Max. suspension duration (day)</th>
323
                      <th>Max. suspension duration (day)</th>
320
                      <th>Renewals allowed (count)</th>
324
                      <th>Renewals allowed (count)</th>
321
                      <th>Renewal period</th>
325
                      <th>Renewal period</th>
322
- 

Return to bug 19804