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

(-)a/installer/data/mysql/atomicupdate/bug_27779.perl (+8 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
4
    # REFUND
5
    $dbh->do( "UPDATE account_credit_types SET description = 'Refund' WHERE code = 'REFUND'" );
6
7
    NewVersion( $DBversion, 27779, "Simplify credit descriptions");
8
}
(-)a/installer/data/mysql/mandatory/account_credit_types.sql (-2 / +1 lines)
Lines 5-11 INSERT INTO account_credit_types ( code, description, can_be_added_manually, is_ Link Here
5
('FORGIVEN', 'Forgiven', 1, 1),
5
('FORGIVEN', 'Forgiven', 1, 1),
6
('CREDIT', 'Credit', 1, 1),
6
('CREDIT', 'Credit', 1, 1),
7
('DISCOUNT', 'A discount applied to a patrons fine', 0, 1),
7
('DISCOUNT', 'A discount applied to a patrons fine', 0, 1),
8
('REFUND', 'A refund applied to a patrons fine', 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
- 

Return to bug 27779