Bug 30471: Correct display of default rules
To test: 1 - Browse to 'Administration->Circulation and fines rules' 2 - Make sure you are editing 'Standard rules for all libraries' 3 - Set 'Lost item fee refund on return policy' to 'Refund lost item charge and charge new overdue fine' 4 - Swtich to edit rules for a specific library, click on the dropdown for 'Lost item fee refund on return policy' and note default says 'Use default (Refund lost item charge and restore overdue fine)' 5 - Switch default/all libraries rule to 'Refund lost item charge and restore overdue fine' 6 - On specific branch note the default option is now 'Use default (Refund lost item charge and charge new overdue fine)' 7 - Apply patch and repeat, note the default descriptions now display correctly Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
0df59817bf
commit
417d8df61b
|
|
@ -1017,9 +1017,9 @@
|
|||
[% IF defaultRefundRule == 'refund' %]
|
||||
<span>Use default (Refund lost item charge)</span>
|
||||
[% ELSIF defaultRefundRule == 'charge' %]
|
||||
<span>Use default (Refund lost item charge and restore overdue fine)</span>
|
||||
[% ELSIF defaultRefundRule == 'restore' %]
|
||||
<span>Use default (Refund lost item charge and charge new overdue fine)</span>
|
||||
[% ELSIF defaultRefundRule == 'restore' %]
|
||||
<span>Use default (Refund lost item charge and restore overdue fine)</span>
|
||||
[% ELSE %]
|
||||
<span>Use default (Leave lost item charge)</span>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue