A new request with request id 8618 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :
Title : Koha-devel Digest, Vol 200, Issue 11
Category :
Description : Send Koha-devel mailing list submissions to
koha-devel@lists.koha-community.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
koha-devel-request@lists.koha-community.org
You can reach the person managing the list at
koha-devel-owner@lists.koha-community.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."
Today's Topics:
1. Can we set arbitrary due date via SIP2 end-point
(Indranil Das Gupta)
----------------------------------------------------------------------
Message: 1
Date: Sun, 10 Jul 2022 13:02:01 +0530
From: Indranil Das Gupta <indradg@l2c2.co.in>
To: Koha-devel <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] Can we set arbitrary due date via SIP2 end-point
Message-ID:
<CAJ0y-Dd_7-H9FOxA-ctJPq7B-KZ1WpG+UB6hB4mEkfftroixSw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi all,
The case: Koha 21.05.x on Debian 10.12 (standard package installation).
Circ rules are defined, 15 days per checkout. SIP2 is also working. The
RFID vendor wants to provide options of "1 day" / "15 days" / "365 days" to
any itemtype from the SC RFID kiosk (based on the fact that from Koha's
checkout page we can set arbitrary due dates overriding the calendar and
issuelength rules.
This is what I have tried so far from the server CLI telnetting to port
8023:
INPUT - 11NY20220710 02583620230710 000000AOMAIN|AA1|AB22918|AC|CH|
RESPONSE - 121NNY20220710 124122AOMAIN|AA1|AB22918|AJECOLOGICAL
METHODS|AH20220725 235900|
As can be seen from AH in response it is being set at 15 days (instead of
365 days as supplied with "nb due date" in the CHECKOUT msg)
Looking at the SIP2 code i see $overriden_duedate is going in as undef
Am I missing something OR is it how it is atm?
thanks in advance
Indranil Das Gupta
L2C2 Technologies
Phone : +91-98300-20971
WWW : http://www.l2c2.co.in
Blog : http://blog.l2c2.co.in
IRC : indradg on irc://irc.freenode.net
Twitter : indradg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220710/3b160a77/attachment-0001.htm>
------------------------------
Subject: Digest Footer
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/
------------------------------
End of Koha-devel Digest, Vol 200, Issue 11
*******************************************
NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.