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

(-)a/installer/data/mysql/atomicupdate/bug_17140_add_pref_to_round_fines_at_payment.perl (-1 / +12 lines)
Line 0 Link Here
0
- 
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q|
4
        INSERT IGNORE INTO systempreferences
5
        (variable,value,explanation,options,type)
6
        VALUES
7
        ('RoundFinesAtPayment','0','If enabled any fines with fractions of a cent will be rounded to the nearest cent when payments are collected. e.g. 1.004 will be paid off by a 1.00 payment','0','YesNo')
8
    |);
9
10
    SetVersion( $DBversion );
11
    print "Upgrade to $DBversion done (Bug 17140 - Add pref to allow rounding fines at payment)\n";
12
}

Return to bug 17140