[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/members moremember-print.tmpl,NONE,1.1.2.1 moremember-receipt.tmpl,NONE,1.1.2.1 moremember.tmpl,1.5.2.1,1.5.2.2

Owen Leonard oleonard at users.sourceforge.net
Thu Feb 10 20:27:20 CET 2005


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/members
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8394/koha-tmpl/intranet-tmpl/npl/en/members

Modified Files:
      Tag: rel_2_2
	moremember.tmpl 
Added Files:
      Tag: rel_2_2
	moremember-print.tmpl moremember-receipt.tmpl 
Log Message:
Adding two print versions of the member details screen, and links to those version in moremember
- moremember-print.tmpl is a full-page view with information about the patron, issues, and reserves
- moremember-receipt.tmpl is a brief view with information about issues, designed to be appropriate for a slip printer.

Each version is accessed by passing a new parameter to moremember.pl, print=page or print=slip.

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Summary for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- TMPL_INCLUDE NAME="doc-head-close-print.inc" -->

<!-- main site -->
<div id="main">
<h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=<!-- TMPL_VAR NAME="cardnumber" -->">Account Summary: <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</a></h3>

<ul><li><!-- TMPL_VAR NAME="streetaddress" --></li><li><!-- TMPL_VAR NAME="city" -->, <!-- TMPL_VAR NAME="zipcode" --></li>
<li><!-- TMPL_IF NAME="phone" --><!-- TMPL_VAR NAME="phone" --><!-- TMPL_ELSE -->(no phone number on file)<!-- /TMPL_IF --></li>
<li><!-- TMPL_IF NAME="emailaddress" --><!-- TMPL_VAR NAME="emailaddress" --><!-- TMPL_ELSE -->(no email on file)<!-- /TMPL_IF --></li>
</ul>

<table>
	<caption>Items Checked Out</caption>
	<tr>
		<th>Title</th>
		<th>Author</th>
		<th>Format</th>
		<th>Date Due</th>
		<th>Status</th>
	</tr>

	<!-- TMPL_loop name="issueloop" -->
	<tr<!-- TMPL_IF name="red" --> class="overdue"</TMPL_IF>>
		<td>
		<!-- TMPL_VAR NAME="title" -->
		<a href="/cgi-bin/koha/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->">
		</a>
		</td>
		<td><!-- TMPL_VAR NAME="author" --></td>
		<td><!-- TMPL_VAR NAME="itemtype" --></td>
		<td><!-- TMPL_VAR NAME="date_due" --></td>
		<td><!-- TMPL_IF NAME="red" -->Overdue!<!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
	</tr>
	<!-- /TMPL_LOOP -->
	</table>
	
<table>
	<caption>Items on Reserve</caption>
	<tr>
		<th>Title</th>
		<th>Author</th>
		<th>Format</th>
		<th>Requested</th>
	</tr>

<!-- TMPL_loop name="reserveloop" -->
	<tr>
		<td><a href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a></td>
		<td><!-- TMPL_VAR NAME="author" --></td>
		<td><!-- TMPL_VAR NAME="description" --></td>
		<td><!-- TMPL_VAR NAME="reservedate2" --></td>
	</tr>
	<!-- /tmpl_loop -->

</table>

</div>
<!-- endmenu -->

<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Print Receipt for <!-- TMPL_VAR NAME="cardnumber" --><!-- TMPL_INCLUDE NAME="doc-head-close-receipt.inc" -->

<!-- main site -->
<div id="main">
<h3>Athens County Library</h3>
<!-- TMPL_IF NAME="branchname" --><!-- TMPL_VAR NAME="branchname" --><br><!-- /TMPL_IF -->
Issued To <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=<!-- TMPL_VAR NAME="cardnumber">"><!-- TMPL_VAR NAME="cardnumber" --></a><br>
<!-- TMPL_VAR NAME="todaysdate" --><br>
<table>
	<caption>Issues</caption>
	<tr>
		<th>Date Due</th>
		<th>Title</th>
	</tr>

	<!-- TMPL_loop name="issueloop" -->
	<!-- TMPL_IF name="red" --><!-- TMPL_ELSE -->
		<tr>
		<td><!-- TMPL_VAR NAME="date_due" --></td>
		<td><a href="/cgi-bin/koha/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
		</tr>
	<!-- /TMPL_IF -->
	<!-- /TMPL_LOOP -->
	</table>
	
	<table>
	<caption>Overdues</caption>
	<tr>
	<th>Date Due</th>
	<th>Title</th>
	</tr>
	<!-- TMPL_LOOP NAME="issueloop" -->
	<!-- TMPL_IF NAME="red" --><tr>
	<td><!-- TMPL_VAR NAME="date_due" --></td>
	<td><a href="/cgi-bin/koha/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
	</tr>
	<!-- /TMPL_IF -->
	<!-- /TMPL_LOOP -->
	</table>

</div>
<!-- endmenu -->

<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

Index: moremember.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/members/moremember.tmpl,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -C2 -r1.5.2.1 -r1.5.2.2
*** moremember.tmpl	9 Feb 2005 22:10:38 -0000	1.5.2.1
--- moremember.tmpl	10 Feb 2005 19:27:16 -0000	1.5.2.2
***************
*** 6,10 ****
  <!-- main site -->
  <div id="main">
! <h1><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h1>
  <div class="tabitem">
  			 <form method="post" action="/cgi-bin/koha/circ/circulation.pl"><input name="findborrower" type="hidden" value="<!-- TMPL_VAR NAME="cardnumber" -->" /><input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" /><input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->" /> <input type="submit" class="submit" value="Issue" /></form>
--- 6,10 ----
  <!-- main site -->
  <div id="main">
! <h1><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) <span class="print"><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page">(Print Page)</a> <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip">(Print Slip)</a></span></h1>
  <div class="tabitem">
  			 <form method="post" action="/cgi-bin/koha/circ/circulation.pl"><input name="findborrower" type="hidden" value="<!-- TMPL_VAR NAME="cardnumber" -->" /><input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" /><input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->" /> <input type="submit" class="submit" value="Issue" /></form>
***************
*** 30,34 ****
  		<!-- TMPL_IF NAME="lost" --><li>Patron's card has been reported <span class="error">lost</span>.</li><!-- /TMPL_IF -->
  	</ul>
! <!-- TMPL_IF name="borrowernotes" --><dl><dt>Notes:</dt> <dd><!-- TMPL_VAR name="borrowernotes" --></dd></dl></div><!-- /TMPL_IF -->
  <!-- /TMPL_IF -->
  
--- 30,34 ----
  		<!-- TMPL_IF NAME="lost" --><li>Patron's card has been reported <span class="error">lost</span>.</li><!-- /TMPL_IF -->
  	</ul>
! <!-- TMPL_IF name="borrowernotes" --><dl><dt>Notes:</dt> <dd class="error"><!-- TMPL_VAR name="borrowernotes" --></dd></dl></div><!-- /TMPL_IF -->
  <!-- /TMPL_IF -->
  





More information about the Koha-cvs mailing list