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

(-)a/reports/cash_register_stats.pl (-2 / +1 lines)
Lines 75-81 if ($do_it) { Link Here
75
        $whereTType = q{ AND accounttype IN ('Pay','C') };
75
        $whereTType = q{ AND accounttype IN ('Pay','C') };
76
    } else { #Single transac type
76
    } else { #Single transac type
77
        if ($transaction_type eq 'FORW') {
77
        if ($transaction_type eq 'FORW') {
78
            $whereTType = q{ AND accounttype = 'FOR' OR accounttype = 'W' };
78
            $whereTType = q{ AND accounttype IN ('FOR','W') };
79
        } else {
79
        } else {
80
            $whereTType = q{ AND accounttype = ? };
80
            $whereTType = q{ AND accounttype = ? };
81
            push @extra_params, $transaction_type;
81
            push @extra_params, $transaction_type;
82
- 

Return to bug 19551