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

(-)a/Koha/Cash/Register/Cashup.pm (-3 / +5 lines)
Lines 80-89 sub summary { Link Here
80
        : { 'date' => { '<'        => $self->timestamp } };
80
        : { 'date' => { '<'        => $self->timestamp } };
81
81
82
    my $payout_transactions = $self->register->accountlines->search(
82
    my $payout_transactions = $self->register->accountlines->search(
83
        { %{$conditions}, credit_type_code => undef },
83
        {
84
            %{$conditions}, credit_type_code => undef, debit_type_code => { '!=' => 'VOID' },
85
            status => [ { '!=' => 'VOID' }, undef ],
86
        },
84
    );
87
    );
85
    my $income_transactions = $self->register->accountlines->search(
88
    my $income_transactions = $self->register->accountlines->search(
86
        { %{$conditions}, debit_type_code => undef },
89
        { %{$conditions}, debit_type_code => undef, status => [ { '!=' => 'VOID' }, undef ], },
87
    );
90
    );
88
91
89
    my $income_summary = Koha::Account::Offsets->search(
92
    my $income_summary = Koha::Account::Offsets->search(
90
- 

Return to bug 40871