|
Line 0
Link Here
|
| 0 |
- |
1 |
[% USE raw %] |
|
|
2 |
[% USE Asset %] |
| 3 |
[% USE Koha %] |
| 4 |
[% USE KohaDates %] |
| 5 |
[% USE Branches %] |
| 6 |
[% SET footerjs = 1 %] |
| 7 |
[% INCLUDE 'doc-head-open.inc' %] |
| 8 |
<title>Koha › Circulation › Transfers to send</title> |
| 9 |
[% INCLUDE 'doc-head-close.inc' %] |
| 10 |
</head> |
| 11 |
|
| 12 |
<body id="circ_transferstosend" class="circ"> |
| 13 |
[% INCLUDE 'header.inc' %] |
| 14 |
[% INCLUDE 'circ-search.inc' %] |
| 15 |
|
| 16 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Transfers to send</div> |
| 17 |
|
| 18 |
<div class="main container-fluid"> |
| 19 |
<div class="row"> |
| 20 |
<div class="col-sm-12"> |
| 21 |
<main> |
| 22 |
<div class="row"> |
| 23 |
|
| 24 |
[% IF Koha.Preference('CircSidebar') %] |
| 25 |
<div class="col-sm-10 col-sm-push-2"> |
| 26 |
[% ELSE %] |
| 27 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
| 28 |
[% END %] |
| 29 |
|
| 30 |
<h1>Transfers requested of your library as of [% show_date | $KohaDates %]</h1> |
| 31 |
[% IF ( branchesloop ) %] |
| 32 |
<p>Your library is the origin for the following transfer(s)</p> |
| 33 |
<div id="resultlist"> |
| 34 |
[% FOREACH branchesloo IN branchesloop %] |
| 35 |
[% IF ( branchesloo.branchcode ) %] |
| 36 |
<table style="width: 100%" id="transferst[% branchesloo.branchcode | html %]"> |
| 37 |
<caption>Sending to [% branchesloo.branchname | html %]</caption> |
| 38 |
<thead><tr> |
| 39 |
<th class="title-string">Date of request</th> |
| 40 |
<th class="anti-the">Title</th> |
| 41 |
<th>On hold for</th> |
| 42 |
<th>Home library</th> |
| 43 |
<th>Call no.</th> |
| 44 |
<th> </th> |
| 45 |
</tr></thead> |
| 46 |
<tbody>[% FOREACH transfer IN branchesloo.inbound_transfers %] |
| 47 |
<tr> |
| 48 |
<td><p><span title="[% transfer.datesent | html %]">[% transfer.datesent | $KohaDates %]</span></p></td> |
| 49 |
<td> |
| 50 |
[% INCLUDE 'biblio-default-view.inc' biblionumber = transfer.item.biblionumber %][% transfer.item.biblio.title | html %] [% IF ( transfer.item.biblio.subtitles ) %] [% FOREACH subtitle IN transfer.item.biblio.subtitles %][% subtitle.subfield | html %][% END %][% END %]</a> [% IF ( transfer.item.biblio.author ) %]by [% transfer.item.biblio.author | html %][% END %] |
| 51 |
[% IF ( transfer.item.effective_itemtype ) %] (<b>[% transfer.item.effective_itemtype | html %]</b>)[% END %] |
| 52 |
<br />Barcode: [% transfer.item.barcode | html %] |
| 53 |
</td> |
| 54 |
<td><p>None</p></td> |
| 55 |
<td>[% Branches.GetName( transfer.item.homebranch ) | html %]</td> |
| 56 |
<td>[% transfer.item.itemcallnumber | html %]</td> |
| 57 |
<td class="actions"> |
| 58 |
[% IF transfer.comments == 'StockrotationAdvance' %] |
| 59 |
<a href="/cgi-bin/koha/catalogue/stockrotation.pl?op=toggle_in_demand&stage_id=4&item_id=[% transfer.itemnumber %]&biblionumber=[% transfer.item.biblionumber %]" class="btn btn-default btn-xs"><i class="fa fa-fire"></i> Mark "In demand"</a> |
| 60 |
[% END %] |
| 61 |
</td> |
| 62 |
</tr> |
| 63 |
[% END %]</tbody> |
| 64 |
</table> |
| 65 |
[% END %] |
| 66 |
[% END %] |
| 67 |
</div> |
| 68 |
[% ELSE %] |
| 69 |
<p>No transfers to send</p> |
| 70 |
[% END %] |
| 71 |
|
| 72 |
[% IF Koha.Preference('CircSidebar') %] |
| 73 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
| 74 |
<div class="col-sm-2 col-sm-pull-10"> |
| 75 |
<aside> |
| 76 |
[% INCLUDE 'circ-nav.inc' %] |
| 77 |
</aside> |
| 78 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
| 79 |
</div> <!-- /.row --> |
| 80 |
[% END %] |
| 81 |
|
| 82 |
</main> |
| 83 |
</div> <!-- /.col-sm-12 --> |
| 84 |
</div> <!-- /.row --> |
| 85 |
|
| 86 |
[% MACRO jsinclude BLOCK %] |
| 87 |
[% INCLUDE 'datatables.inc' %] |
| 88 |
<script> |
| 89 |
$(document).ready(function() { |
| 90 |
[% FOREACH branchesloo IN branchesloop %] |
| 91 |
$("#transferst[% branchesloo.branchcode | html %]").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 92 |
"aoColumnDefs": [ |
| 93 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
| 94 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
| 95 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
| 96 |
], |
| 97 |
"sDom": 't', |
| 98 |
"bPaginate": false |
| 99 |
})); |
| 100 |
[% END %] |
| 101 |
}); |
| 102 |
</script> |
| 103 |
[% END %] |
| 104 |
|
| 105 |
[% INCLUDE 'intranet-bottom.inc' %] |