[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/circ returns.tmp
From: |
Henri-Damien LAURENT |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ returns.tmpl,NONE,1.1 |
Date: |
Wed, 29 Jan 2003 14:44:42 -0800 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/circ
In directory
sc8-pr-cvs1:/tmp/cvs-serv23432/koha-tmpl/intranet-tmpl/default/en/circ
Added Files:
returns.tmpl
Log Message:
Templating :returns.pl
--- NEW FILE ---
<TMPL_INCLUDE Name="circulation-top.inc">
<table align="right"><tr><td>
<a href=circulation.pl>
<img src="/images/button-issues.gif" width="99" height="42" border="0"
alt="Issues"></a>
 <a href=branchtransfers.pl><img src="/images/button-transfers.gif"
width="127" height="42" border="0" alt="Issues"></a>
</td></tr></table>
<FONT SIZE=6><em>Circulation: Returns</em></FONT><br>
<b>Branch:</b> <TMPL_VAR Name="genbrname">  <b>Printer:</b> <TMPL_VAR
Name="genprname"><br>
<a href=selectbranchprinter.pl>Change Settings</a>
<input type=hidden name=branch value=<TMPL_VAR Name="branch">>
<input type=hidden name=printer value=<TMPL_VAR Name="printer">>
<p>
<table cellpadding=5 cellspacing=0 width=100%>
<TMPL_IF Name="found">
<tr>
<td colspan=2>
<table border=1 cellpadding=5 cellspacing=0 bgcolor='#dddddd'>
<tr><th bgcolor=<TMPL_VAR Name="hdrbckgdcolor">
background=<TMPL_VAR Name="bckgdimg">><font>Reserve Found</font></th></tr>
<tr><td>
<TMPL_IF Name="waiting">
<font color='red' size='+2'>Item marked
Waiting:</font><br>
Item <TMPL_VAR Name="itemtitle"> (<TMPL_VAR Name="itemauthor">)
<br>
is marked waiting at <b><TMPL_VAR Name="branchname"></b> for <TMPL_VAR
Name="name"> (<a href=/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR
Name="bornum"> onClick='openWindow(this,'Member', 480, 640)'><TMPL_VAR
Name="borcnum"></a>).
<center><form method=post action='returns.pl'>
<TMPL_LOOP Name="inputloop">
<input type=hidden name=ri-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="barcode">>
<input type=hidden name=dd-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="duedate">>
<input type=hidden name=bn-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="bornum">>
</TMPL_LOOP>
<input type=hidden name=barcode value=0>
<input type=submit value="OK">
</form></center>
</TMPL_IF>
<TMPL_IF Name="diffbranch">
<font color='red' size='+2'>Item marked
Waiting:</font><br>
Item: <TMPL_VAR Name="itemtitle"> (<TMPL_VAR Name="itemauthor">)<br>
needs to be transfered to <b><TMPL_VAR Name="branchname"></b> <br>
to be picked up by <TMPL_VAR Name="name"> (<a
href=/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR Name="bornum">
onClick='openWindow(this,'Member', 480, 640)'><TMPL_VAR Name="borcnum"></a>).
<center><form method=post action='returns.pl'>
<TMPL_LOOP Name="inputloop">
<TMPL_UNLESS Name="first">
<input type=hidden name=ri-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="barcode">>
<input type=hidden name=dd-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="duedate">>
<input type=hidden name=bn-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="bornum">>
</TMPL_UNLESS>
</TMPL_LOOP>
<input type=hidden name=barcode value=0>
<input type=submit value="OK">
</form></center>
</TMPL_IF>
<TMPL_IF Name="reserved">
<font color='red' size='+2'>Reserve found:</font> Item:
<TMPL_VAR Name="itemtitle"> (<TMPL_VAR Name="itemauthor">) <a
href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR Name="itembiblionumber">&type=intra
onClick=\"openWindow(this, 'Item', 480, 640)\"><TMPL_VAR
Name="itembarcode"></a> <br>
for <TMPL_VAR Name="name"> (<a
href=/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR Name="bornum">
onClick='openWindow(this,'Member', 480, 640)'><TMPL_VAR Name="borcnum"></a>) to
be collected at <b><TMPL_VAR Name="branchname"></b>.
<table cellpadding=5 cellspacing=0>
<tr><td valign="top">Change status to waiting and
print<a href="" onClick='alert(document.forms[0].resslip.value); return
false'>slip</a>?: </td>
<td valign="top">
<form method=post action='returns.pl'>
<TMPL_LOOP Name="inputloop">
<input type=hidden name=ri-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="barcode">>
<input type=hidden name=dd-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="duedate">>
<input type=hidden name=bn-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="bornum">>
</TMPL_LOOP>
<input type=hidden name=itemnumber value=<TMPL_VAR
Name="itemnumber">>
<input type=hidden name=borrowernumber value=<TMPL_VAR
Name="borrowernumber">>
<input type=hidden name=resbarcode value=<TMPL_VAR
Name="barcode">>
<input type=hidden name=resslip
value="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Date: <TMPL_VAR Name="today">
ITEM RESERVED:<TMPL_VAR Name="itemtitle"> (<TMPL_VAR Name="itemauthor">)
barcode: <TMPL_VAR Name="itembarcode">
itemtype: <TMPL_VAR Name="itemtype">
COLLECT AT: <TMPL_VAR Name="branchname">
BORROWER:
<TMPL_VAR Name="bortitle"> <TMPL_VAR Name="borfirstname"> <TMPL_VAR
Name="borsurname">
card number: <TMPL_VAR Name="borcnum">
Phone: <TMPL_VAR Name="borphone">
<TMPL_VAR Name="borstraddress">
<TMPL_VAR Name="borsub">
<TMPL_VAR Name="bortown">
<TMPL_VAR Name="boremail">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
">
<input type=submit value="Print">
</form>
</td></tr>
</table>
</TMPL_IF>
</td></tr></table>
</td>
</tr>
<tr>
<td colspan=2>
<TMPL_ELSE>
<tr>
<td valign=top align=left>
<form method=post action=/cgi-bin/koha/circ/returns.pl>
<table border=1 cellpadding=5 cellspacing=0>
<tr><td colspan=2 bgcolor=<TMPL_VAR
Name="hdrbckgdcolor"> align=center background=<TMPL_VAR Name="bckgdimg">>
<font color=black><b>Enter Book
Barcode</b></font></td></tr>
<tr><td>Item Barcode:</td><td><input name=barcode
size=10></td></tr>
</table>
<TMPL_LOOP Name="inputloop">
<input type=hidden name=ri-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="barcode">>
<input type=hidden name=dd-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="duedate">>
<input type=hidden name=bn-<TMPL_VAR
Name="counter"> value=<TMPL_VAR Name="bornum">>
</TMPL_LOOP>
</form>
</td>
<td valign=top align=left>
</TMPL_IF>
<table border=1 cellpadding=5 cellspacing=0 bgcolor='#dddddd'>
<tr><th bgcolor=<TMPL_VAR Name="hdrbckgdcolor">
background=<TMPL_VAR Name="bckgdimg">><font>Messages</font></th></tr>
<tr><td>
<TMPL_LOOP Name="errmsgloop">
<font color='red' size='+2'>
<TMPL_IF Name="badbarcode">
No Item with barcode: <TMPL_VAR
Name="msg">
</TMPL_IF>
<TMPL_IF Name="ispermanent">
Please return to <TMPL_VAR Name="msg">
</TMPL_IF>
<TMPL_IF Name="notissued">
Not On Issue.
</TMPL_IF>
<TMPL_IF Name="waslost">
Item was lost, now found.
</TMPL_IF>
<TMPL_IF Name="withdrawn">
Item Cancelled
</TMPL_IF>
</font>
<BR>
</TMPL_LOOP>
</td></tr></table>
</td>
</tr>
<TMPL_IF Name="returned">
<tr>
<td valign=top align=left>
<table border=1 cellpadding=5 cellspacing=0>
<tr><th bgcolor=<TMPL_VAR Name="hdrbckgdcolor">
background=<TMPL_VAR Name="bckgdimg">>
<font color=black>Returned Item Information</font></th></tr>
<tr><td>
Title: <TMPL_VAR Name="itemtitle"><br>
</td></tr>
</table>
</td>
<td valign=top align=left>
<table border=1 cellpadding=5 cellspacing=0>
<tr><td colspan=2 bgcolor=<TMPL_VAR Name="hdrbckgdcolor">
background=<TMPL_VAR Name="bckgdimg">>
<font color=black><b>Borrower Information</b></font></td></tr>
<tr><td colspan=2>
<a href=/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR
Name="ribornum"> onClick="openWindow(this,'Member', 480, 640)"><TMPL_VAR
Name="riborcnum"></a>
<TMPL_VAR Name="riborsurname">, <TMPL_VAR Name="ribortitle">
<TMPL_VAR Name="riborfirstname"><br>
</td></tr>
<TMPL_IF Name="flagset">
<tr><td bgcolor=<TMPL_VAR Name="hdrbckgdcolor">
background=<TMPL_VAR Name="bckgdimg"> colspan=2>
<b>Flags</b></td></tr>
<TMPL_LOOP Name="flagloop">
<tr><td valign=top><TMPL_IF
Name="redfont"><font color="red"></TMPL_IF><TMPL_VAR Name="flag"><TMPL_IF
Name="redfont"></font></TMPL_IF></td>
<TMPL_IF Name="charges">
<td bgcolor=<TMPL_VAR
Name="color">><b><TMPL_VAR Name="msg"></b><a
href=/cgi-bin/koha/pay.pl?bornum=<TMPL_VAR Name="borrowernumber">
onClick="openWindow(this, 'Payment', 480,640)">Payment</a></td></tr>
</TMPL_IF>
<TMPL_IF Name="waiting">
<td bgcolor=<TMPL_VAR Name="color">>
<TMPL_LOOP Name="itemloop">
<a
href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR
Name="biblionum">&type=intraonClick="openWindow(this, 'Item', 480,
640)"><TMPL_VAR Name="barcode"></a><TMPL_VAR Name="title">(<TMPL_VAR
Name="brname">)<br>
</TMPL_LOOP>
</td></tr>
</TMPL_IF>
<TMPL_IF Name="overdue">
<td bgcolor=<TMPL_VAR Name="color">>
<TMPL_LOOP Name="itemloop">
<font color=red><TMPL_VAR
Name="duedate"></font>
<a
href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR Name="biblionum">&type='intra'
onClick="openWindow(this, 'Item', 480, 640)">
<TMPL_VAR
Name="barcode">
</a>
<TMPL_VAR Name="title">
<br>
</TMPL_LOOP>
</td></tr>
</TMPL_IF>
<TMPL_IF Name="other">
<td bgcolor=<TMPL_VAR
Name="color">><b><TMPL_VAR Name="msg"></b></td></tr>
</TMPL_IF>
</TMPL_LOOP>
</TMPL_IF>
</td>
<tr>
</TMPL_IF>
<TMPL_IF Name="returneditems">
<tr><td colspan=2>
<table border=1 cellpadding=5 cellspacing=0>
<tr><th colspan=6 bgcolor=<TMPL_VAR Name="hdrbckgdcolor">
background=<TMPL_VAR Name="bckgdimg">>
<font color=black>Returned Items</font></th></tr>
<tr><th>Due Date</th><th>Bar
Code</th><th>Title</th><th>Author</th><th>Type</th><th>Borrower</th></tr>
<TMPL_LOOP Name="returneditemloop">
<tr><td bgcolor=<TMPL_VAR Name="color">>
<TMPL_IF Name="duedate">
<TMPL_IF Name="early">
<font color=red>
</TMPL_IF>
<TMPL_VAR
Name="year">/<TMPL_VAR Name="month">/<TMPL_VAR Name="day">
<TMPL_IF Name="early">
</font>
</TMPL_IF>
<TMPL_ELSE>
Not on Issue.
</TMPL_IF>
</td>
<td bgcolor=<TMPL_VAR Name="color">> align=center>
<a href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR
Name="itembiblionumber">&type=intra onClick=\"openWindow(this, 'Item', 480,
640)\"><TMPL_VAR Name="barcode"></a></td>
<td bgcolor=<TMPL_VAR Name="color">><TMPL_VAR
Name="itemtitle"></td>
<td bgcolor=<TMPL_VAR Name="color">><TMPL_VAR
Name="itemauthor"></td>
<td bgcolor=<TMPL_VAR Name="color">
align=center><TMPL_VAR Name="itemtype"></td>
<td bgcolor=<TMPL_VAR Name="color">>
<TMPL_IF Name="duedate">
<a
href=/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR Name="bornum">
onClick=\"openWindow(this,'Member', 480, 640)\">
<TMPL_VAR Name="borcnum">
</a> <TMPL_VAR Name="borfirstname"> <TMPL_VAR
Name="borsurname">
<TMPL_ELSE>
<TMPL_VAR Name="bornum">
</TMPL_IF>
</td></tr>
</TMPL_LOOP>
</table>
</td></tr>
</TMPL_IF>
</table>
<TMPL_INCLUDE Name="circulation-bottom.inc">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ returns.tmpl,NONE,1.1,
Henri-Damien LAURENT <=