<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"></BLOCKQUOTE><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">----- "Tomasz Holdowanski" <<A href="mailto:mordazy@poczta.onet.pl">mordazy@poczta.onet.pl</A>> wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi all,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">How Koha handles free days, especially national holidays in the middle</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">of a week? Is there a list where I can write down all dates when my<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">library is closed, so the system will not allow to set return date to</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">any day from the list, but instead set it to the first "open" day</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">after<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the "closed" one? I guess I could change the return date manually, but</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">it`s rather bad idea when there are up to 300 patrons<SPAN class="Apple-converted-space"> </SPAN>and up to 1500</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">transactions per day... Any suggestions?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Regards,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tomasz.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Koha mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</A></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV>Hi Tomaz,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Tumer Garip (and friends ;) wrote the original holidays code for koha-3.0.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>But I have been doing some recent work back-porting it to dev_week, and rel-2.2.</DIV><DIV>So hopefully i can answer some of your questions...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>There are basically 4 different ways that Koha handles due-dates that fall on a holiday,</DIV><DIV>these a set by a syspref called 'useDaysMode'</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The most common (i think) holidays mode is 'DateDue', this mode does exactly what you described above.</DIV><DIV>You can define a national holiday as an 'anually repeating' holiday</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Heres paste from the sys-pref description.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>---</DIV><DIV>useDaysMode -</DIV><DIV>"How to calculate return dates : 'Calendar' means that loan-length is increased by ALL holidays occuring between issuing date and due-date, 'Datedue' means that due-date will be increased until next non-calendar day, 'Days' means that holidays rules are ignored"</DIV><DIV>---</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We are still currently testing it on the 'devweek' branch wth the NPL templates, and we'll hopefully get some of the newer changes over to rel-2.2 in the next few weeks</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>FYI: it looks like Antoine has got holidays currently included with the latest 2.2 release, using the 'default' templates. <BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">Hope that helps you :)<BR class="Apple-interchange-newline"><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Mason James <A href="mailto:mason.james@liblime.com">mason.james@liblime.com</A></DIV><DIV>Programmer <A href="http://www.liblime.com">www.liblime.com</A></DIV><DIV>LibLime +64 21 542 117</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>