Owen Leonard
157d329083
This patch moves the functionality contained in biblio-default-view.inc into biblio-title.inc. biblio-title.inc can now be called with a "link = 1" parameter in order for the title to be displayed as a link which is controlled by the IntranetBiblioDefaultView preference. To test, apply the patch and test the affected pages, especially titles linked to in breadcrumbs menus Acquisitions: - Add to basket -> From existing record -> Search - Title in search results Catalog: - Search for a record - Add record to cart - Open cart - Title in brief display - Check that link opens the correct page in the main window - View bibliographic record - ISBD view - MARC view - Normal view - Local cover image detail page - Checkout history - Request article - Item details - From the "Edit" menu -> Attach item - Stock rotation rota - Place hold Cataloging: - Cataloging search -> Search results Circulation: - Article requests - Overdues with fines - Overdues - Holds queue - Holds to pull - Hold ratios - Holds awaiting pickup - Transfers to recevie - Renew - Batch checkout Lists: - View list contents Patrons: - View patron details - Holds history - Checkout history Tools: - Rotating collections - View collection - Add item - Tags - Click term to see titles tagged with that term - Batch record deletion - Submit batch Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
123 lines
6.1 KiB
Text
123 lines
6.1 KiB
Text
[% USE Branches %]
|
|
[% USE Koha %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Circulation › Overdues at [% Branches.GetLoggedInBranchname | html %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="circ_branchoverdues" class="circ">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE '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 [% Branches.GetLoggedInBranchname | html %]</div>
|
|
|
|
<div class="main container-fluid">
|
|
<div class="row">
|
|
[% IF Koha.Preference('CircSidebar') %]
|
|
<div class="col-sm-10 col-sm-push-2">
|
|
[% ELSE %]
|
|
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
|
[% END %]
|
|
<main>
|
|
|
|
<h1>Circulation: Overdues at [% Branches.GetLoggedInBranchname | html %]</h1>
|
|
|
|
<form name="selectlocation" action="branchoverdues.pl" method="post">
|
|
<label for="location">Shelving location selected: </label><select id="location" name="location">
|
|
<option value="">All shelving locations</option>
|
|
[% FOREACH locationsloo IN locationsloop %]
|
|
[% IF ( locationsloo.selected ) %]<option value="[% locationsloo.authorised_value | html %]" selected="selected">[% locationsloo.lib | html %]</option>[% ELSE %]<option value="[% locationsloo.authorised_value | html %]">[% locationsloo.lib | html %]</option>[% END %]
|
|
[% END %]
|
|
</select>
|
|
<input type="submit" name="location" class="submit" value="OK" />
|
|
</form>
|
|
|
|
[% IF ( overduesloop ) %]
|
|
<table style="width:100%;">
|
|
<tr>
|
|
<th>Date due</th>
|
|
<th>Title</th>
|
|
<th>Patron</th>
|
|
<th>Location</th>
|
|
</tr>
|
|
[% FOREACH overduesloo IN overduesloop %]
|
|
<tr>
|
|
<td>
|
|
[% overduesloo.date_due | html %]
|
|
</td>
|
|
<td>
|
|
[% INCLUDE 'biblio-title.inc' biblio=overduesloo link = 1 %] [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
|
|
|
|
<br />Barcode : [% overduesloo.barcode | html %]
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber | uri %]">[% overduesloo.borrowersurname | html %], [% overduesloo.borrowerfirstname | html %]</a>
|
|
<br />[% overduesloo.cardnumber | html %]
|
|
<br />[% overduesloo.borrowerphone | html %]<br />
|
|
[% IF ( overduesloo.borroweremail ) %]<a href="mailto:[% overduesloo.borroweremail | uri %]?subject=Overdue: [% overduesloo.title | uri %]">
|
|
[% overduesloo.borroweremail | html %]</a>[% END %]
|
|
</td>
|
|
<td>[% Branches.GetName( overduesloo.homebranch ) | html %] [% overduesloo.itemcallnumber | html %]
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
[% ELSE %]
|
|
<div class="dialog message">There are no overdues for today[% IF ( location ) %] at the selected location[% END %].</div>
|
|
[% END %]
|
|
[% IF ( 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>Cancel</th>
|
|
</tr>
|
|
[% FOREACH todayoverduesloo IN todayoverduesloop %]
|
|
<tr>
|
|
<td>
|
|
<p>
|
|
[% todayoverduesloo.date_due | html %]
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<p>
|
|
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% todayoverduesloo.biblionumber | uri %]">[% todayoverduesloo.title | html %]</a>
|
|
(<strong>[% todayoverduesloo.description | html %]</strong>)
|
|
<br />Barcode : [% todayoverduesloo.barcode | html %]
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% todayoverduesloo.borrowernumber | uri %]">[% todayoverduesloo.borrowersurname | html %] [% todayoverduesloo.borrowerfirstname | html %]</a>
|
|
<br />[% todayoverduesloo.cardnumber | html %]<br />
|
|
<br />[% todayoverduesloo.borrowerphone | html %]<br />
|
|
[% IF ( todayoverduesloo.borroweremail ) %]<a href="mailto:[% todayoverduesloo.borroweremail | uri %]?subject=Overdue: [% todayoverduesloo.title | uri %]">
|
|
[% todayoverduesloo.borroweremail | html %]</a>[% END %]
|
|
</p>
|
|
</td>
|
|
<td><p>[% Branches.GetName( todayoverduesloo.homebranch ) | html %] [% todayoverduesloo.itemcallnumber | html %]</p>
|
|
</td>
|
|
<td>
|
|
<a href="branchoverdues.pl?action=remove&borrowernumber=[% todayoverduesloo.borrowernumber | uri %]&itemnumber=[% todayoverduesloo.itemnumber | uri %]&method=phone&location=[% todayoverduesloo.location | uri %]">Cancel notification</a>
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div>
|
|
[% END %]
|
|
|
|
</main>
|
|
</div> <!-- /.col-sm-10.col-sm-push-2 -->
|
|
|
|
[% IF Koha.Preference('CircSidebar') %]
|
|
<div class="col-sm-2 col-sm-pull-10">
|
|
<aside>
|
|
[% INCLUDE 'circ-nav.inc' %]
|
|
</aside>
|
|
</div> <!-- /.col-sm-2.col-sm-pull-10 -->
|
|
[% END %]
|
|
</div> <!-- /.row -->
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|