5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Transfer collection › Rotating collections › Tools › Koha</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="rcoll_transferCollection" class="tools rcoll">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
13 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
22 <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a>
25 <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]">Collection <em>[% colTitle | html %]</em></a>
28 <a href="#" aria-current="page">
35 <div class="main container-fluid">
37 <div class="col-sm-10 col-sm-push-2">
40 <h1>Transfer collection <em>[% colTitle | html %]</em></h1>
43 [% FOREACH message IN messages %]
44 <div class="dialog [% m.type | html %]">
45 [%- SWITCH message.code -%]
47 <p>Cannot transfer item [% message.item.itemnumber | html %] due to transfer limits</p>
48 [%- CASE 'enqueued' -%]
49 <p>Item [% message.item.itemnumber | html %] queued behind [% message.found_transfer.reason | html %] transfer to [% Branches.GetName(message.found_transfer.tobranch) | html %]</p>
55 [% IF ( transferSuccess ) %]
56 <div class="dialog message">
57 <p>Collection transferred successfully</p>
58 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
60 [% ELSIF ( transferFailure ) %]
61 <div class="dialog alert">
62 <p>Failed to transfer collection</p>
63 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
67 [% IF ( transferSuccess ) %]
70 <form action="transferCollection.pl" method="post">
71 <input type="hidden" name="colId" value="[% colId | html %]" />
72 <fieldset class="rows">
75 <label for="toBranch">Choose your library:</label>
76 <select id="toBranch" name="toBranch">
77 [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
82 <fieldset class="action">
83 <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
90 </div> <!-- /.col-sm-10.col-sm-push-2 -->
92 <div class="col-sm-2 col-sm-pull-10">
94 [% INCLUDE 'tools-menu.inc' %]
96 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
99 [% MACRO jsinclude BLOCK %]
100 [% Asset.js("js/tools-menu.js") | $raw %]
101 [% Asset.js("js/rotating-collections.js") | $raw %]
104 [% INCLUDE 'intranet-bottom.inc' %]