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

--- Comment #11 from Martin Renvoize <[email protected]> ---
Right, 

I've gotten to the bottom of this.. it's tester error :).. man SIP is 'fun' to
test.

So, I tested with:

perl misc/sip_cli_emulator.pl --sip_user=staff --sip_pass=staff --patron=dir
--fee-identifier=697 --fee-amount=0.50 --payment-type=02 -m fee_paid -a
127.0.0.1 -p 6001 -l MAIN

Note the 'payment-type' as apposed to 'fee-type' used in your version.. to be
entirely honest I have no idea what fee-type is used for here.. I would suggest
it's not for payment but for creation of new fee's only?

Anywho.. the code does appear to work as expected (defaulting to 'Cash' when no
payment-type is specified, but using the payment type if one is).

Just about to upload a Unit test now too.

Thanks again for testing Liz :)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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