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

--- Comment #1 from Martin Renvoize <[email protected]> ---
Hmm, I see what you mean.

I'm not sure how to resolve this one.. we don't really have easy access to how
the outstanding amount was offset at this level.

The current code looks for any debit lines that have been at least partially
'paid'.. but 'paid' in this case means 'offset' and a discount is an offset the
same way a payment or credit it.

[% IF CAN_user_updatecharges_refund && account.is_debit && (
account.amountoutstanding != account.amount ) && !(account.status ==
'REFUNDED') && !(account.debit_type_code == 'PAYOUT') %]

I'll have a think

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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