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 [% WRAPPER breadcrumbs %]
16 [% WRAPPER breadcrumb_item %]
17 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
19 [% WRAPPER breadcrumb_item %]
20 <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a>
22 [% WRAPPER breadcrumb_item %]
23 <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | uri %]">Collection <em>[% colTitle | html %]</em></a>
25 [% WRAPPER breadcrumb_item bc_active= 1 %]
26 <span>Transfer collection</span>
28 [% END #/ WRAPPER breadcrumbs %]
29 [% END #/ WRAPPER sub-header.inc %]
31 <div class="main container-fluid">
33 <div class="col-sm-10 col-sm-push-2">
36 <h1>Transfer collection <em>[% colTitle | html %]</em></h1>
39 [% FOREACH message IN messages %]
40 <div class="dialog [% m.type | html %]">
41 [%- SWITCH message.code -%]
43 <p>Cannot transfer item [% message.item.itemnumber | html %] due to transfer limits</p>
44 [%- CASE 'enqueued' -%]
45 <p>Item [% message.item.itemnumber | html %] queued behind [% message.found_transfer.reason | html %] transfer to [% Branches.GetName(message.found_transfer.tobranch) | html %]</p>
51 [% IF ( transferSuccess ) %]
52 <div class="dialog message">
53 <p>Collection transferred successfully</p>
54 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
56 [% ELSIF ( transferFailure ) %]
57 <div class="dialog alert">
58 <p>Failed to transfer collection</p>
59 <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
63 [% IF ( transferSuccess ) %]
66 <form action="transferCollection.pl" method="post">
67 <input type="hidden" name="colId" value="[% colId | html %]" />
68 <fieldset class="rows">
71 <label for="toBranch">Choose your library:</label>
72 <select id="toBranch" name="toBranch">
73 [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
78 <fieldset class="action">
79 <input type="submit" class="btn btn-primary" value="Transfer collection" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
86 </div> <!-- /.col-sm-10.col-sm-push-2 -->
88 <div class="col-sm-2 col-sm-pull-10">
90 [% INCLUDE 'tools-menu.inc' %]
92 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
95 [% MACRO jsinclude BLOCK %]
96 [% Asset.js("js/tools-menu.js") | $raw %]
97 [% Asset.js("js/rotating-collections.js") | $raw %]
100 [% INCLUDE 'intranet-bottom.inc' %]