Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Holger Meißner 065926d224 Bug 7413: Code and intranet template changes
This patch modifies CanBookBeRenewed, so that based on
issuingrules.norenewalbefore a new error "too_soon" can be returned.
Also adds a new subroutine GetSoonestRenewDate.

To test:
1) Create an issuing rule with "No renewal before" set to value X
   and "Unit" set to days.
2) Test the following steps for both:
   Home > Patron > Patron details
   Home > Circulation > Checkouts
3) On the checkout page, test for today's issues as well as previous
   issues. (Check something out on one day and something else on the
   next day, then do the testing.)
4) Confirm that items can't be renewed if current date is more than
   X days before due date.
5) Confirm that the date and time of the soonest possible renewal are
   displayed in the format specified by global sysprefs "dateformat"
   and "TimeFormat".
6) Confirm that items can be renewed if "No renewal before" is
   undefined or current date is X or less days before due date.
7) Confirm that if the number of allowed renewals is exceeded
   "Not renewable" is displayed, no matter what "No renewal before"
   is set to.
8) Test the same things with "Unit" set to hours.

Sponsored-by: Hochschule für Gesundheit (hsg), Germany
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2014-04-07 18:28:57 +00:00
..
boraccount.tt Bug 2546: make description of standard fine types translatable 2013-12-05 18:44:33 +00:00
deletemem.tt
files.tt
guarantor_search.tt
mancredit.tt Bug 11554: Capitalization fix in patron account on fines tab 2014-01-15 15:33:56 +00:00
maninvoice.tt Bug 11554: Capitalization fix in patron account on fines tab 2014-01-15 15:33:56 +00:00
member-flags.tt
member-password.tt Bug 11877 - Eliminate use of deprecated jQuery .live() method 2014-03-26 19:15:01 +00:00
member.tt Bug 10318: Show primary email in patron search results 2014-01-13 21:33:09 +00:00
memberentrygen.tt Bug 108661: (follow-up) enshrine letting CardnumberLength specify just a maximum 2014-03-12 04:07:03 +00:00
members-update.tt
moremember-brief.tt
moremember-print.tt
moremember-receipt.tt
moremember.tt Bug 7413: Code and intranet template changes 2014-04-07 18:28:57 +00:00
notices.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
pay.tt Bug 11488: make string "Are you sure you want to write off ..." translatable 2014-01-31 15:51:12 +00:00
paycollect.tt
printfeercpt.tt
printinvoice.tt
purchase-suggestions.tt Bug 11802 - corrects for the patron purchase suggestions page 2014-03-10 15:11:53 +00:00
readingrec.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00
routing-lists.tt
search.tt
statistics.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00
update-child.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00