moving itemslost to reports from tools

Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
Joshua Ferraro 2007-09-18 20:23:32 -05:00 committed by Chris Cormack
parent eac5ed44a0
commit 606ae968a8
6 changed files with 11 additions and 12 deletions

View file

@ -23,7 +23,8 @@
<strong>Other</strong>
<ul>
<li><a href="/cgi-bin/koha/reports/itemslost.pl">Items lost</a></li>
<li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalogue by itemtype</a></li>
<li><a href="/cgi-bin/koha/reports/manager.pl?report_name=issues_by_borrower_category">Checkouts by patron category</a></li>
<li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
</ul>
</ul>

View file

@ -4,7 +4,6 @@
<li><a href="/cgi-bin/koha/tools/koha-news.pl">News</a></li>
<li><a href="/cgi-bin/koha/tools/inventory.pl">Inventory/stocktaking</a></li>
<li><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Clean borrowers</a></li>
<li><a href="/cgi-bin/koha/tools/itemslost.pl">Items lost</a></li>
<li><a href="/cgi-bin/koha/tools/export.pl">Export</a></li>
<li><a href="/cgi-bin/koha/tools/import.pl">Import</a></li>
<li><a href="/cgi-bin/koha/tools/letter.pl">Notices</a></li>

View file

@ -1,12 +1,12 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Tools &rsaquo; Lost Items</title>
<title>Koha &rsaquo; Reports &rsaquo; Lost Items</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/tools-home.pl">Tools</a> &rsaquo; Lost Items</div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Lost Items</div>
<div id="doc3" class="yui-t2">
@ -24,7 +24,7 @@
<!-- /TMPL_IF -->
</div>
<form name="f" action="/cgi-bin/koha/tools/itemslost.pl" method="post">
<form name="f" action="/cgi-bin/koha/reports/itemslost.pl" method="post">
<label for="orderbyfilter">Set result order by</label>
<select id="orderbyfilter" name="orderbyfilter">
<option value=""> --- </option>
@ -89,7 +89,7 @@
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
<!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->

View file

@ -39,6 +39,8 @@
<h2>Other</h2>
<ul>
<dt><a href="/cgi-bin/koha/reports/itemslost.pl">Items lost</a></dt>
<dd>Show lost items</dd>
<li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalogue by itemtype</a></li>
<li><a href="/cgi-bin/koha/reports/manager.pl?report_name=issues_by_borrower_category">Checkouts by patron category</a></li>
<li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
@ -48,4 +50,4 @@
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->

View file

@ -44,9 +44,6 @@
<dt><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Clean borrowers</a></dt>
<dd>Delete old borrowers and anonymize circulation history (deletes borrower reading history)</dd>
<dt><a href="/cgi-bin/koha/tools/itemslost.pl">Items lost</a></dt>
<dd>Show lost items</dd>
<dt><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></dt>
<dd>Browse the system logs</dd>
</dl>

View file

@ -34,11 +34,11 @@ use C4::Branch; # GetBranches
my $query = new CGI;
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
template_name => "tools/itemslost.tmpl",
template_name => "reports/itemslost.tmpl",
query => $query,
type => "intranet",
authnotrequired => 0,
flagsrequired => { tools => 1 },
flagsrequired => { reportss => 1 },
debug => 1,
}
);