Koha/members
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
..
boraccount.pl Bug 6273: add support for recording type of payment made via SIP2 2014-04-30 16:38:09 +00:00
default_messageprefs.pl
deletemem.pl Bug 10277 - Add C4::Context->IsSuperLibrarian() 2013-12-30 15:47:23 +00:00
files.pl Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
guarantor_search.pl
mancredit.pl Bug 9448: Add separate permission for writing off fees 2014-04-17 15:41:23 +00:00
maninvoice.pl Bug 9448: Add separate permission for writing off fees 2014-04-17 15:41:23 +00:00
member-flags.pl Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
member-password.pl Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
member.pl Bug 11855: Tiny code cleanup in members 2014-04-08 23:42:46 +00:00
memberentry.pl Bug 11184: correct attribute cloning for the patron editor 2014-04-09 22:42:54 +00:00
members-home.pl Bug 11855: Tiny code cleanup in members 2014-04-08 23:42:46 +00:00
members-update-do.pl Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
members-update.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
mod_debarment.pl Bug 12069: redirect to staff login if you access members/mod_debarment.pl when logged out 2014-04-12 18:00:18 +00:00
moremember.pl Bug 11869: Add more informations to the patron account printing page 2014-04-18 14:34:20 +00:00
notices.pl Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
patronimage.pl Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
pay.pl Bug 9448: Add separate permission for writing off fees 2014-04-17 15:41:23 +00:00
paycollect.pl Bug 9448: Add separate permission for writing off fees 2014-04-17 15:41:23 +00:00
printfeercpt.pl Bug 6273: add support for recording type of payment made via SIP2 2014-04-30 16:38:09 +00:00
printinvoice.pl Bug 6273: add support for recording type of payment made via SIP2 2014-04-30 16:38:09 +00:00
printslip.pl
purchase-suggestions.pl Bug 11802 - corrects for the patron purchase suggestions page 2014-03-10 15:11:53 +00:00
readingrec.pl Bug 11009: (follow-up) tweak wording and remove potential log noise 2013-12-10 20:20:37 +00:00
routing-lists.pl Bug 7372: Move road types from the roadtype table to the ROADTYPE AV 2014-02-21 16:00:53 +00:00
setstatus.pl Bug 9406: ensure confirmation of patron renewal is displayed 2013-03-30 21:22:00 -04:00
statistics.pl Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
update-child.pl Bug 10453: fix unintended password reset when updating child to adult 2013-12-26 15:29:40 +00:00