View | Details | Raw Unified | Return to bug 23012
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_23012_-_add_PROCESSING_FOUND_to_account_credit_types.pl (+12 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "23012",
5
    description => "Add PROCESSING_FOUND to account_credit_types",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{INSERT IGNORE INTO account_credit_types ( code, description, can_be_added_manually, is_system ) VALUES ('PROCESSING_FOUND', 'Lost item processing fee refund', 0, 1) });
11
    },
12
};
(-)a/installer/data/mysql/mandatory/account_credit_types.sql (-2 / +2 lines)
Lines 8-13 INSERT INTO account_credit_types ( code, description, can_be_added_manually, is_ Link Here
8
('REFUND', 'Refund', 0, 1),
8
('REFUND', 'Refund', 0, 1),
9
('LOST_FOUND', 'Lost item fee refund', 0, 1),
9
('LOST_FOUND', 'Lost item fee refund', 0, 1),
10
('PURCHASE', 'Purchase', 0, 1),
10
('PURCHASE', 'Purchase', 0, 1),
11
('CANCELLATION', 'Cancellation', 0, 1);
11
('CANCELLATION', 'Cancellation', 0, 1),
12
('PROCESSING_FOUND', 'Lost item processing fee refund', 0, 1);
12
13
13
INSERT INTO authorised_values (category,authorised_value,lib) VALUES ('PAYMENT_TYPE','CASH','Cash');
14
INSERT INTO authorised_values (category,authorised_value,lib) VALUES ('PAYMENT_TYPE','CASH','Cash');
14
- 

Return to bug 23012