Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tmpl
2007-09-12 20:54:50 -05:00

188 lines
No EOL
9.6 KiB
Cheetah
Executable file

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Circulation</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="circ-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation.pl">Circulation</a> &rsaquo; Library Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<h1>Circulation: Library Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></h1>
<!-- selector of location -->
<!-- TMPL_IF NAME="location" -->
<legend>location selected</legend>
<form name="changelocation" action="branchoverdues.pl">
<ul>
<li>
You are working actually on the overdues for the location : <b><!-- TMPL_VAR NAME="location" --></b>
<input type="submit" name="changelocation" class="button" value="change location" />
</li>
</ul>
</form>
<!-- TMPL_ELSE -->
<p>Select a location
<form name="selectlocation" action="branchoverdues.pl" method="post">
<select id="location" name="location">
<option value="">All locations</option>
<!-- TMPL_LOOP NAME="locationsloop" -->
<option value="<!-- TMPL_VAR NAME="authorised_value" -->"><!-- TMPL_VAR NAME="lib" --></option>
<!-- /TMPL_LOOP -->
</select>
<input type="submit" name="location" class="button" value="OK" />
</form>
</p>
<!-- /TMPL_IF -->
<form name="sendnotify" action="branchoverdues.pl" method="post">
<!-- TMPL_IF name="overduesloop" -->
<table>
<tr>
<th>Date_due</th>
<th>Title</th>
<th>Patron</th>
<th>Library</th>
<th>Overdue status</th>
<th>Notify by</th>
</tr>
<!-- TMPL_LOOP NAME="overduesloop" -->
<tr>
<td>
<p>
<!-- TMPL_VAR NAME="date_due" -->
</p>
</td>
<td>
<p>
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
&nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
<br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
</p>
</td>
<td>
<p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
<!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">
<!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
</p>
</td>
<td><p><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></p>
</td>
<td align="center">
<b>
<!-- TMPL_IF NAME="overdue1" -->
first overdue
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="overdue2" -->
second overdue
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="overdue3" -->
Third overdue
<!-- /TMPL_IF -->
</b>
</td>
<td align="center">
<!-- TMPL_IF NAME="overdue1" -->
<!-- TMPL_IF NAME="borroweremail" -->
<a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=mail&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">mail</a>
<!-- TMPL_ELSE -->
mail
<!-- /TMPL_IF -->
&nbsp;|&nbsp;
<a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=phone&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->
">phone</a>
&nbsp;|&nbsp;
<a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=letter&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">letter</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="overdue2" -->
<a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=letter&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">letter</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="overdue3" -->
<a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=lost&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Considered lost</a>
<!-- /TMPL_IF -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
There is no overdue for today
<!-- /TMPL_IF -->
<!-- TMPL_IF name="todayoverduesloop" -->
<fieldset id="branch_odues_today_odues">
<legend>Today's notifications</legend>
<table>
<tr>
<th>Date_due</th>
<th>Title</th>
<th>Borrower</th>
<th>Localisation</th>
<th>Overdue status</th>
<th>Notified by</th>
<th>Cancel</th>
</tr>
<!-- TMPL_LOOP NAME="todayoverduesloop" -->
<tr>
<td>
<p>
<!-- TMPL_VAR NAME="date_due" -->
</p>
</td>
<td>
<p>
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
&nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
<br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
</p>
</td>
<td>
<p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
<!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">
<!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
</p>
</td>
<td><p><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></p>
</td>
<td align="center">
<b>
<!-- TMPL_IF NAME="overdue1" -->
first overdue
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="overdue2" -->
second overdue
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="overdue3" -->
considered lost
<!-- /TMPL_IF -->
</b>
</td>
<td align="center">
<b><!-- TMPL_VAR NAME="notify_method" --></b>
</td>
<td>
<a href="branchoverdues.pl?action=remove&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=phone&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;notify_date=<!-- TMPL_VAR NAME="notify_date" -->">cancel notification</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</fieldset>
<!-- /TMPL_IF -->
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->