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

(-)a/reports/cash_register_stats.pl (-2 / +1 lines)
Lines 69-75 if ($do_it) { Link Here
69
    if ($transaction_type eq 'ALL') { #All Transactons
69
    if ($transaction_type eq 'ALL') { #All Transactons
70
        $whereTType = q{};
70
        $whereTType = q{};
71
    } elsif ($transaction_type eq 'ACT') { #Active
71
    } elsif ($transaction_type eq 'ACT') { #Active
72
        $whereTType = q{ AND credit_type_code IN ('PAYMENT','CREDIT') };
72
        $whereTType = q{ AND credit_type_code IN ('PAYMENT','CREDIT') AND status !='VOID' };
73
    } elsif ($transaction_type eq 'FORW') {
73
    } elsif ($transaction_type eq 'FORW') {
74
        $whereTType = q{ AND credit_type_code IN ('FORGIVEN','WRITEOFF') };
74
        $whereTType = q{ AND credit_type_code IN ('FORGIVEN','WRITEOFF') };
75
    } else {
75
    } else {
76
- 

Return to bug 29664