Bug 23618

Summary: Make addition SIP2 fields available to self service to add cost of items checked out to check out slip
Product: Koha Reporter: Niamh <niamh.walker-headon>
Component: SIP2Assignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: clodagh.kerin, colin.campbell, niamh.walker-headon
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Niamh 2019-09-16 13:44:23 UTC
We can’t include the total cost of items checked out in a session on the selfcheck out receipt, like we can on the check out digest e-mail. 



Describe in detail.
We would like the SIP2 checkout string to include some enhanced fields. Specifically the item’s 952$g and 952$v. This would involving modification to the SIP2 specification allowing for extra fields. For example, $v => CM , $g => CX field. So a checkout string might look something similar to:

11NN20190401	175709              	AOTA|AAX1234567|AB123456789|BON|CM15.99|CX24.99|AC
So the idea is to include a note at the bottom of the slip that goes:

By using the library today you saved [total replacement cost of items borrowed today]
By using the library this year you saved [total replacement cost of items borrowed year]
By using the library have you saved [total replacement cost of items borrowed total ever]

The alternative is to possibly use the item replacement price [ checkout.item.replacementprice]  and total it for a time period, and for all time.
Comment 1 Colin Campbell 2020-01-09 14:17:26 UTC
Historically additions to the protocol have been driven by the vendors of selfcheck routines, have any expressed intrest in implementing this? 
Note CM as a code is already in use for Hold Pickup Date

The note example you give includes data not available, to the unit from the item.price and item.replacementprice
Comment 2 Niamh 2020-01-17 17:24:38 UTC
I have seen this done on check out receipts from other systems. 
I am looking for the additional fields to be added that will create the message. It doesn't have to be the ones that I've mentioned previously, so long as the outcome is the desired one.