]> git.koha-community.org Git - koha.git/commit
Bug 21491: Display 'Yes' as selected if no refundlostitemfee rules are set
authorNick Clemens <nick@bywatersolutions.com>
Wed, 21 Nov 2018 13:40:35 +0000 (13:40 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 18 Jan 2019 20:16:43 +0000 (20:16 +0000)
commit7028cb8aea3f03f120c54269554953ec7475cdd8
tree2d3dea06acecced2e5473e49ff86a043586bdc40
parent76c10a5dcd37666f641fddd43231b32793f55b1b
Bug 21491: Display 'Yes' as selected if no refundlostitemfee rules are set

To test:
1 - Delete all refund_lost_item_fee_rules form the db
    delete from refund_lost_item_fee_rules;
2 - View the Standard circ rules - Default lost item fee refund shows as
'No'
3 - View circ rules for a single library, shows as 'Default (Yes)'
4 - Return a lost item, it actually does refund (this is in the
        LostItemFeeRules code, default 1 if not set)
5 - Apply patch
6 - Rule shows as 'Yes'
7 - View a specifc rule, still says Default (Yes)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt