Hi Jonathan Thanks for the answer, this functionality is already included in Koha, but it forgives the fine... ;) the user must pay the fine, in this case in days
We have developed a little mysql query script that checks suspension days and compare with issues and remove the restriction, if anybody wish to look at ti, just send me a mail I will share this is the trigger to know If there are suspensions that should be remove every day, is underr testing now, if this mysql returns some value it launches two mysql queries to remove suspensions from borrowers and debarred_borrowers table SELECT borrowernumber from (SELECT bd.borrowernumber from borrower_debarments bd LEFT JOIN issues i ON ( bd.borrowernumber = i.borrowernumber) WHERE bd.expiration < NOW() AND i.date_due IS NULL) as x thanks!!!!! 2015-01-29 9:07 GMT+01:00 Jonathan Druart <[email protected]>: > Hello Hugo, > > Have a look at the pref AutoRemoveOverduesRestrictions introduced by bug > 2720. > > Regards, > Jonathan > > 2015-01-28 17:45 GMT+01:00 Hugo Agud <[email protected]>: > > Dear all > > > > I wish to ask a question regardind overdue resitrctions > > > > Koha allows to unrestric an user when it has been restricted by overdue > > notice, but it forgives the fine > > > > The questions is , may somebody confirm If there is not an automatic > > desrestriction when the user finish the restriction period and all > overdued > > issues has been checked in, right? > > > > > > Thanks you in advance! > > -- > > > > *Hugo Agud - Orex Digital * > > > > *www.orex.es <http://www.orex.es>* > > > > > > Director > > > > Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70 > > [email protected] · http://www.orex.es/ > > > > > > > > No imprima este mensaje a no ser que sea necesario. Una tonelada de papel > > implica la tala de 15 árboles y el consumo de 250.000 litros de agua. > > > > > > > > Aviso de confidencialidad > > Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO > > RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni > > está autorizado a recibirlo por el remitente), no está autorizado a > copiar, > > reenviar o divulgar el mensaje o su contenido. Si ha recibido este > mensaje > > por error, por favor, notifíquenoslo inmediatamente y bórrelo de su > sistema. > > _______________________________________________ > > Koha mailing list http://koha-community.org > > [email protected] > > http://lists.katipo.co.nz/mailman/listinfo/koha > -- *Hugo Agud - Orex Digital * *www.orex.es <http://www.orex.es>* Director Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70 [email protected] · http://www.orex.es/ No imprima este mensaje a no ser que sea necesario. Una tonelada de papel implica la tala de 15 árboles y el consumo de 250.000 litros de agua. Aviso de confidencialidad Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni está autorizado a recibirlo por el remitente), no está autorizado a copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema. _______________________________________________ Koha mailing list http://koha-community.org [email protected] http://lists.katipo.co.nz/mailman/listinfo/koha

