Koha-clms/C4/SIP/ILS
Ian Walls c8e99f313f Bug 6273: add support for recording type of payment made via SIP2
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 description 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

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-30 16:38:09 +00:00
..
Transaction Bug 6273: add support for recording type of payment made via SIP2 2014-04-30 16:38:09 +00:00
Item.pm Bug 11351 - Add support for SIP2 media types 2014-04-28 17:54:42 +00:00
Item.pod bug 3435: SIP Checkin extension for 3M SmartChute - partial 2009-07-30 11:06:47 -04:00
Patron.pm Bug 11783: ensure CD field in SIP patron information response is populated 2014-02-19 16:55:13 +00:00
Patron.pod adding openncip / opensip SIP2 service 2007-11-06 06:32:53 -06:00
Transaction.pm Abstraction layer implementation for Transactions. 2008-06-05 22:43:35 -05:00