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 198-203 $(document).ready(function() { Link Here
198
                <th>Cap fine at replacement price</th>
198
                <th>Cap fine at replacement price</th>
199
                <th>Suspension in days (day)</th>
199
                <th>Suspension in days (day)</th>
200
                <th>Max. suspension duration (day)</th>
200
                <th>Max. suspension duration (day)</th>
201
                <th>Fine day charging interval</th>
201
                <th>Renewals allowed (count)</th>
202
                <th>Renewals allowed (count)</th>
202
                <th>Renewal period</th>
203
                <th>Renewal period</th>
203
                <th>No renewal before</th>
204
                <th>No renewal before</th>
Lines 279-284 $(document).ready(function() { Link Here
279
                            </td>
280
                            </td>
280
							<td>[% rule.finedays %]</td>
281
							<td>[% rule.finedays %]</td>
281
                            <td>[% rule.maxsuspensiondays %]</td>
282
                            <td>[% rule.maxsuspensiondays %]</td>
283
                            <td>[% rule.suspension_chargeperiod %]</td>
282
							<td>[% rule.renewalsallowed %]</td>
284
							<td>[% rule.renewalsallowed %]</td>
283
                            <td>[% rule.renewalperiod %]</td>
285
                            <td>[% rule.renewalperiod %]</td>
284
                            <td>[% rule.norenewalbefore %]</td>
286
                            <td>[% rule.norenewalbefore %]</td>
Lines 374-379 $(document).ready(function() { Link Here
374
                    <td><input type="checkbox" name="cap_fine_to_replacement_price" id="cap_fine_to_replacement_price" /></td>
376
                    <td><input type="checkbox" name="cap_fine_to_replacement_price" id="cap_fine_to_replacement_price" /></td>
375
                    <td><input type="text" name="finedays" id="fined" size="3" /> </td>
377
                    <td><input type="text" name="finedays" id="fined" size="3" /> </td>
376
                    <td><input type="text" name="maxsuspensiondays" id="maxsuspensiondays" size="3" /> </td>
378
                    <td><input type="text" name="maxsuspensiondays" id="maxsuspensiondays" size="3" /> </td>
379
                    <td><input type="text" name="suspension_chargeperiod" id="suspension_chargeperiod" size="3" /> </td>
377
                    <td><input type="text" name="renewalsallowed" id="renewalsallowed" size="2" /></td>
380
                    <td><input type="text" name="renewalsallowed" id="renewalsallowed" size="2" /></td>
378
                    <td><input type="text" name="renewalperiod" id="renewalperiod" size="3" /></td>
381
                    <td><input type="text" name="renewalperiod" id="renewalperiod" size="3" /></td>
379
                    <td><input type="text" name="norenewalbefore" id="norenewalbefore" size="3" /></td>
382
                    <td><input type="text" name="norenewalbefore" id="norenewalbefore" size="3" /></td>
Lines 436-441 $(document).ready(function() { Link Here
436
                      <th>Overdue fines cap (amount)</th>
439
                      <th>Overdue fines cap (amount)</th>
437
                      <th>Cap fine at replacement price</th>
440
                      <th>Cap fine at replacement price</th>
438
                      <th>Suspension in days (day)</th>
441
                      <th>Suspension in days (day)</th>
442
                      <th>Fine day charging interval</th>
439
                      <th>Max. suspension duration (day)</th>
443
                      <th>Max. suspension duration (day)</th>
440
                      <th>Renewals allowed (count)</th>
444
                      <th>Renewals allowed (count)</th>
441
                      <th>Renewal period</th>
445
                      <th>Renewal period</th>
442
- 

Return to bug 19804