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 [% WRAPPER 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
14 [% WRAPPER 'sub-header.inc' %]
15 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
21 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
24 <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a>
27 <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]">Collection <em>[% colTitle | html %]</em></a>
30 <a href="#" aria-current="page">
38 <div class="main container-fluid">
40 <div class="col-sm-10 col-sm-push-2">
43 <h1>Transfer collection <em>[% colTitle | html %]</em></h1>
46 [% FOREACH message IN messages %]
47 <div class="dialog [% m.type | html %]">
48 [%- SWITCH message.code -%]
50 <p>Cannot transfer item [% message.item.itemnumber | html %] due to transfer limits</p>
51 [%- CASE 'enqueued' -%]
52 <p>Item [% message.item.itemnumber | html %] queued behind [% message.found_transfer.reason | html %] transfer to [% Branches.GetName(message.found_transfer.tobranch) | html %]</p>
58 [% IF ( transferSuccess ) %]
59 <div class="dialog message">
60 <p>Collection transferred successfully</p>
61 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
63 [% ELSIF ( transferFailure ) %]
64 <div class="dialog alert">
65 <p>Failed to transfer collection</p>
66 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
70 [% IF ( transferSuccess ) %]
73 <form action="transferCollection.pl" method="post">
74 <input type="hidden" name="colId" value="[% colId | html %]" />
75 <fieldset class="rows">
78 <label for="toBranch">Choose your library:</label>
79 <select id="toBranch" name="toBranch">
80 [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
85 <fieldset class="action">
86 <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
93 </div> <!-- /.col-sm-10.col-sm-push-2 -->
95 <div class="col-sm-2 col-sm-pull-10">
97 [% INCLUDE 'tools-menu.inc' %]
99 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
100 </div> <!-- /.row -->
102 [% MACRO jsinclude BLOCK %]
103 [% Asset.js("js/tools-menu.js") | $raw %]
104 [% Asset.js("js/rotating-collections.js") | $raw %]
107 [% INCLUDE 'intranet-bottom.inc' %]