1 $DBversion = 'XXX'; # will be replaced by the RM
2 if ( CheckVersion($DBversion) ) {
6 INSERT IGNORE INTO account_credit_types (code, description, can_be_added_manually, is_system)
8 ('CANCELLATION', 'A cancellation applied to a patron charge', 0, 1)
14 INSERT IGNORE INTO account_offset_types ( type ) VALUES ('CANCELLATION');
18 # Always end with this (adjust the bug info)
19 NewVersion( $DBversion, 24603, "Add CANCELLATION credit_type_code" );