Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tmpl
Owen Leonard bebd8961d9 More cleanup and corrections for circulation reports.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-22 17:40:07 -05:00

183 lines
9.9 KiB
Cheetah
Executable file

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Circulation &rsaquo; 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> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; 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>Library</th>
<th>Overdue status</th>
<th>Notified by</th>
</tr>
<!-- TMPL_LOOP NAME="overduesloop" -->
<tr>
<td>
<!-- TMPL_VAR NAME="date_due" -->
</td>
<td>
<!-- TMPL_IF name="BiblioDefaultViewmarc" -->
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
<!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
<a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" --></a><!-- /TMPL_IF -->
&nbsp; (<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" --> &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-->
</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&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" -->">Notice</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" -->">Notice</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 -->
<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>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>
</div>
<!-- /TMPL_IF -->
</div>
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->