5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Tools › Rotating collections › Transfer collection</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 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> › <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | html %]">Collection <em>[% colTitle | html %]</em></a> › Transfer collection</div>
15 <div class="main container-fluid">
17 <div class="col-sm-10 col-sm-push-2">
20 <h1>Transfer collection <em>[% colTitle | html %]</em></h1>
23 [% FOREACH message IN messages %]
24 <div class="dialog [% m.type | html %]">
25 [%- SWITCH message.code -%]
27 <p>Cannot transfer item [% message.item.itemnumber | html %] due to transfer limits</p>
28 [%- CASE 'enqueued' -%]
29 <p>Item [% message.item.itemnumber | html %] queued behind [% message.found_transfer.reason | html %] transfer to [% Branches.GetName(message.found_transfer.tobranch) | html %]</p>
35 [% IF ( transferSuccess ) %]
36 <div class="dialog message">
37 <p>Collection transferred successfully</p>
38 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
40 [% ELSIF ( transferFailure ) %]
41 <div class="dialog alert">
42 <p>Failed to transfer collection</p>
43 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
47 [% IF ( transferSuccess ) %]
50 <form action="transferCollection.pl" method="post">
51 <input type="hidden" name="colId" value="[% colId | html %]" />
52 <fieldset class="rows">
55 <label for="toBranch">Choose your library:</label>
56 <select id="toBranch" name="toBranch">
57 [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
62 <fieldset class="action">
63 <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
70 </div> <!-- /.col-sm-10.col-sm-push-2 -->
72 <div class="col-sm-2 col-sm-pull-10">
74 [% INCLUDE 'tools-menu.inc' %]
76 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
79 [% MACRO jsinclude BLOCK %]
80 [% Asset.js("js/tools-menu.js") | $raw %]
81 [% Asset.js("js/rotating-collections.js") | $raw %]
84 [% INCLUDE 'intranet-bottom.inc' %]