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 [%- SWITCH message.type -%]
26 <div class="dialog error">
27 <p>Cannot transfer item [% message.item.itemnumber | html %] due to transfer limits</p>
30 <div class="dialog message">
31 <p>Item [% message.item.itemnumber | html %] queued behind [% message.found_transfer.reason | html %] transfer to [% Branches.GetName(message.found_transfer.tobranch) | html %]</p>
37 [% IF ( transferSuccess ) %]
38 <div class="dialog message">
39 <p>Collection transferred successfully</p>
40 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
42 [% ELSIF ( transferFailure ) %]
43 <div class="dialog alert">
44 <p>Failed to transfer collection</p>
45 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
49 [% IF ( transferSuccess ) %]
52 <form action="transferCollection.pl" method="post">
53 <input type="hidden" name="colId" value="[% colId | html %]" />
54 <fieldset class="rows">
57 <label for="toBranch">Choose your library:</label>
58 <select id="toBranch" name="toBranch">
59 [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
64 <fieldset class="action">
65 <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
72 </div> <!-- /.col-sm-10.col-sm-push-2 -->
74 <div class="col-sm-2 col-sm-pull-10">
76 [% INCLUDE 'tools-menu.inc' %]
78 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
81 [% MACRO jsinclude BLOCK %]
82 [% Asset.js("js/tools-menu.js") | $raw %]
83 [% Asset.js("js/rotating-collections.js") | $raw %]
86 [% INCLUDE 'intranet-bottom.inc' %]