Bug 15091: DEBT is IMPOSSIBLE, not NEEDSCONFIRMATION
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / subscriptions-search.inc
1 <div id="advsearch">
2     <form action="" method="get">
3         <fieldset class="brief">
4             <a id="unfold_advsearch" style="cursor:pointer" onclick="$('#advsearch_form').slideToggle(400);">Advanced search</a>
5             <div id="advsearch_form" style="display:none">
6             <ol>
7               <li>
8                 <label for="issn">ISSN:</label>
9                 <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" />
10               </li>
11               <li>
12                 <label for="title">Title:</label>
13                 <input type="text" id="title" name="title_filter" value="[% title_filter %]" />
14               </li>
15               [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
16               <li>
17                 <label for="ean">EAN:</label>
18                 <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" />
19               </li>
20               [% END %]
21               <li>
22                 <label for="publisher">Publisher:</label>
23                 <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" />
24               </li>
25               <li>
26                 <label for="supplier">Vendor:</label>
27                 <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter %]" />
28               </li>
29               <li>
30                 <label for="branch">Library:</label>
31                 <select id="branch" name="branch_filter">
32                   <option value="">All</option>
33                   [% FOREACH branch IN branches_loop %]
34                     [% IF (branch.selected) %]
35                       <option selected="branch.selected" value="[% branch.branchcode %]">[% branch.branchname %]</option>
36                     [% ELSE %]
37                       <option value="[% branch.branchcode %]">[% branch.branchname %]</option>
38                     [% END %]
39                   [% END %]
40                 </select>
41               </li>
42             </ol>
43             <input type="hidden" name="searched" value="1" />
44             [% IF (booksellerid) %]
45                 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
46             [% END %]
47             [% IF (basketno) %]
48                 <input type="hidden" name="basketno" value="[% basketno %]" />
49             [% END %]
50             <fieldset class="action">
51               <input type="submit" value="Search" />
52             </fieldset>
53             </div>
54         </fieldset>
55     </form>
56 </div>