koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] More complete patron renew process


From: Owen Leonard
Subject: [Koha-devel] More complete patron renew process
Date: Fri, 21 Sep 2007 06:11:17 -0400
User-agent: Mutt/1.5.9i

Right now the method for renewing a patron (updating their expiration
date), is a javascript: link that upon confirmation redirects back to 
moremember.pl with a
reregistration=y parameter. In order to make this possible without
javascript, the logical thing to do would be to make it a real URL:

<a
href="/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber=<!--
TMPL_VAR NAME="borrowernumber" -->" onclick="confirm_reregistration();
return false;">Renew</a>

This should work fine, but leaves out the confirmation step. Is the
confirmation necessary?

Also: Should there be feedback passed back to moremember.pl to let the user
know that the patron's expiration date has been updated? Right now a bug
prevents the expiration date from even showing up on moremember.pl after
the renewal link has been clicked, but even with that bug fixed perhaps
there should be a message: "This account has been renewed until xxxx-xx-xx"

That's probably doable in the template alone. Is there ever a time when a
renewal will fail? Should there be code for passing such an error back to
the screen?

  -- Owen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]