[Koha-bugs] [Bug 6273] SIP2 Fee Paid and Fee Paid Response support
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 19 18:43:33 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6273
Brendan Gallagher <brendan at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #25167|0 |1
is obsolete| |
--- Comment #19 from Brendan Gallagher <brendan at bywatersolutions.com> ---
Created attachment 26463
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26463&action=edit
[passed-qa] Bug 6273 - SIP2 Fee Paid and Fee Paid Response support
Adds support for recording in Koha accountlines a different accounttype
depending on how the fee was paid at the SIP2 station (cash, credit, etc)
Adds a new param to recordpayment(), $sip_paytype, which is appended to the
'Pay' type if present. The payment descriptin is also appended with " (via
SIP2)"
if this is present.
In order for other scripts to keep working as expected, "eq 'Pay'" needed to
be replaced with a regex comparison "=~ /^Pay/", so that 'Pay' and 'Pay-##'
would continue
to group together.
To test:
1. Make a payment over a SIP2 connection
2. Check the patron record in the staff client; you should see the modified
description
3. Attempt to print a invoice or a reciept for the borrower; the payment
should show up
where expected
http://bugs.koha-community.org/show_bug.cgi?id=6273
Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list