[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/members memberen
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/members memberentry.tmpl,1.33.2.3,1.33.2.4 |
Date: |
Thu, 19 May 2005 14:52:48 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/members
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28891/koha-tmpl/intranet-tmpl/default/en/members
Modified Files:
Tag: rel_2_2
memberentry.tmpl
Log Message:
* better management of joining & expiry dates :
- dates can be manually typed when adding a borrower.
- Empty fields are automatically calculated (joining = today & expiry
date calculated from borrower category)
- Expiry date can be modified
* checking expiry date when trying to issue a book & forbidding issuing when
expiry date reached. ** IMPORTANT ** This check was not done before. Thus, you
may be unable to issue books where you could before. You can update your
database borrower by borrower or with the following SQL command on the server :
"update borrowers set expiry='2005-31-12'". You can limit the update to a
borrower category with "update borrowers set expiry='2005-31-12' where
categorycode='A'" (all SQL commands must be typed without any ")
Index: memberentry.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/members/memberentry.tmpl,v
retrieving revision 1.33.2.3
retrieving revision 1.33.2.4
diff -C2 -r1.33.2.3 -r1.33.2.4
*** memberentry.tmpl 25 Mar 2005 16:55:38 -0000 1.33.2.3
--- memberentry.tmpl 19 May 2005 21:52:46 -0000 1.33.2.4
***************
*** 40,45 ****
<!-- /TMPL_IF -->
<form action="/cgi-bin/koha/members/memberentry.pl" method="post">
- <input type="hidden" name="joining" value="<!-- TMPL_VAR
NAME="dateenrolled" -->">
- <input type="hidden" name="expiry" value="<!-- TMPL_VAR
NAME="expiry" -->">
<input type="hidden" name="type" value="borrowers">
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR
NAME="borrowernumber" -->">
--- 40,43 ----
***************
*** 239,242 ****
--- 237,251 ----
</tr>
<tr>
+ <!-- TMPL_IF NAME="addAction" -->
+ <td>Joining date (leave blank for
today)</td>
+ <td><input type="text" name="joining"
size="12" maxlength="10" value="<!-- TMPL_VAR name="joining" -->"></td>
+ <!-- TMPL_ELSE -->
+ <td>Joining date</td>
+ <td><!-- TMPL_VAR name="joining"
--></td>
+ <!-- /TMPL_IF -->
+ <td>Expiry date (leave blank for auto calc)</td>
+ <td><input type="text" name="expiry" size="12"
maxlength="10" value="<!-- TMPL_VAR name="expiry" -->"></td>
+ </tr>
+ <tr>
<td>Borrower message (appears in OPAC)</td>
<td colspan="4"><textarea name="textmessaging"
cols="70" rows="3"><!-- TMPL_VAR NAME="textmessaging" --></textarea></td>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/members memberentry.tmpl,1.33.2.3,1.33.2.4,
Paul POULAIN <=