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