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

(-)a/Koha/Item.pm (-2 / +1 lines)
Lines 1808-1814 sub _set_found_trigger { Link Here
1808
                    my $credit_offsets = $lost_charge->debit_offsets(
1808
                    my $credit_offsets = $lost_charge->debit_offsets(
1809
                        {
1809
                        {
1810
                            'credit_id'               => { '!=' => undef },
1810
                            'credit_id'               => { '!=' => undef },
1811
                            'credit.credit_type_code' => { '!=' => 'Writeoff' }
1811
                            'credit.credit_type_code' => { '!=' => ( 'Writeoff', 'Cancellation' ) }
1812
                        },
1812
                        },
1813
                        { join => 'credit' }
1813
                        { join => 'credit' }
1814
                    );
1814
                    );
1815
- 

Return to bug 40779