Owen Leonard
a9c90b6dfb
Note that this new include builds only the first half of the anchor tag (<a>). Because title and subtitle are output differently on some pages, rendering of the second half of the tag is left to individual pages. Includes fixes for staff client templates. Change to basket.pl fixes a bug wherein the OPAC's bibliodefaultview preference was being checked instead of the staff client's. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
178 lines
9.3 KiB
Cheetah
178 lines
9.3 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Circulation › Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></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> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></div>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-g">
|
|
|
|
|
|
<h1>Circulation: Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></h1>
|
|
|
|
<!-- selector of location -->
|
|
<!-- TMPL_IF NAME="location" -->
|
|
<h4>Location selected</h4>
|
|
<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="submit" value="change location" />
|
|
</li>
|
|
</ul>
|
|
</form>
|
|
<!-- TMPL_ELSE -->
|
|
<form name="selectlocation" action="branchoverdues.pl" method="post">
|
|
<label for="location">Select a location: </label><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="submit" value="OK" />
|
|
</form>
|
|
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="overduesloop" -->
|
|
<table style="width:100%;">
|
|
<tr>
|
|
<th>Date due</th>
|
|
<th>Title</th>
|
|
<th>Patron</th>
|
|
<th>Location</th>
|
|
<th>Overdue status</th>
|
|
<th>Notified by</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="overduesloop" -->
|
|
<tr>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="date_due" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_INCLUDE NAME="biblio-default-view.inc" -->
|
|
(<b><!-- TMPL_VAR NAME="description" --></b>)
|
|
<br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> <!-- 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" ESCAPE="html" -->">
|
|
<!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
|
|
</td>
|
|
<td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" -->
|
|
</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&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&method=mail&location=<!-- TMPL_VAR NAME="location" -->&overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Mail</a>
|
|
<!-- TMPL_ELSE -->
|
|
Mail
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
<a href="branchoverdues.pl?action=add&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&method=phone&location=<!-- TMPL_VAR NAME="location" -->&overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&notifyId=<!-- TMPL_VAR NAME="notify_id" -->
|
|
">Phone</a>
|
|
|
|
|
<a href="branchoverdues.pl?action=add&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&method=letter&location=<!-- TMPL_VAR NAME="location" -->&overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
|
|
&notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Notice</a>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="overdue2" -->
|
|
<a href="branchoverdues.pl?action=add&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&method=letter&location=<!-- TMPL_VAR NAME="location" -->&overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Notice</a>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="overdue3" -->
|
|
<a href="branchoverdues.pl?action=add&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&method=lost&location=<!-- TMPL_VAR NAME="location" -->&overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
|
|
&notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Considered lost</a>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
<div class="dialog message">There are no overdues for today.</div>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="todayoverduesloop" -->
|
|
<div id="branch_odues_today_odues">
|
|
<table style="width:100%;">
|
|
<caption>Today's notifications</caption>
|
|
<tr>
|
|
<th>Date due</th>
|
|
<th>Title</th>
|
|
<th>Borrower</th>
|
|
<th>Location</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" escape="html" --></a>
|
|
(<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" --> <!-- 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" ESCAPE="html" -->">
|
|
<!-- 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&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&method=phone&location=<!-- TMPL_VAR NAME="location" -->&notify_date=<!-- TMPL_VAR NAME="notify_date" -->">Cancel notification</a>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|