3 |
if ( column_exists( 'refund_lost_item_fee_rules', 'refund' ) ) { |
3 |
if ( column_exists( 'refund_lost_item_fee_rules', 'refund' ) ) { |
5 |
INSERT INTO circulation_rules ( categorycode, branchcode, itemtype, rule_name, rule_value ) |
5 |
INSERT INTO circulation_rules ( categorycode, branchcode, itemtype, rule_name, rule_value ) |
6 |
SELECT NULL, branchcode, NULL, 'refund', refund |
6 |
SELECT NULL, IF(branchcode='*', NULL, branchcode), NULL, 'refund', refund |