https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28432

--- Comment #2 from Martin Renvoize <[email protected]> ---
Pretty confident in the test.. but no idea how to resolve the actual bug..

I've tried using joins to look at the credit line status.. but for some reason
that breaks all sorts..

>  my $credits_offsets = Koha::Account::Offsets->search(
>      {
>          debit_id  => $lost_charge->id,
>          credit_id => { '!=' => undef },     # it is not the debit itself
>          'credit.credit_type_code' => { '!=' => 'Writeoff' },
>          'credit.status'           => { '!=' => 'VOID' },
>      },
>      { join => 'credit' }
>  );

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to