|
Lines 1-56
Link Here
|
|
|
1 |
[% USE raw %] |
| 2 |
[% PROCESS 'html_helpers.inc' %] |
| 1 |
<!-- acquisitions-search.inc --> |
3 |
<!-- acquisitions-search.inc --> |
| 2 |
<div id="header_search" role="tablist"> |
4 |
[% FILTER collapse %] |
| 3 |
<div class="tab-content"> |
5 |
[% WRAPPER tabs id="header_search" %] |
| 4 |
<div id="supplier_search" role="tabpanel" class="tab-pane active"> |
|
|
| 5 |
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post"> |
| 6 |
<div class="form-title"> |
| 7 |
<label class="control-label" for="supplier"><span class="control-text">Vendor search</span> <i class="fa fa-fw fa-upload" aria-hidden="true"></i></label> |
| 8 |
</div> |
| 9 |
|
6 |
|
| 10 |
<div class="form-content"> |
7 |
[% WRAPPER tab_panels %] |
| 11 |
<input type="text" name="supplier" id="supplier" class="head-searchbox form-control" placeholder="Search vendors" /> |
8 |
[% WRAPPER tab_panel tabname="supplier_search" bt_active= 1 %] |
| 12 |
</div> |
9 |
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post"> |
| 13 |
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button> |
10 |
<div class="form-title"> |
| 14 |
</form> |
11 |
<label class="control-label" for="supplier"><span class="control-text">Vendor search</span> <i class="fa fa-fw fa-upload" aria-hidden="true"></i></label> |
| 15 |
</div> |
12 |
</div> |
| 16 |
|
|
|
| 17 |
<div id="orders_search" role="tabpanel" class="tab-pane"> |
| 18 |
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post"> |
| 19 |
<div class="form-title"> |
| 20 |
<label class="control-label" for="order_title"><span class="control-text">Orders search</span> <i class="fa fa-fw fa-download" aria-hidden="true"></i></label> |
| 21 |
</div> |
| 22 |
|
| 23 |
<div class="form-content"> |
| 24 |
<input type="text" id="order_title" class="form-control" placeholder="Title" name="title" size="13" value="[% title | html %]" /> |
| 25 |
<input type="text" id="searchsupplier" class="form-control" placeholder="Vendor" name="name" size="13" value="[% name | html %]" /> |
| 26 |
<button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button> |
| 27 |
<input type="hidden" id="do_search" name="do_search" value="do" /> |
| 28 |
</div> |
| 29 |
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button> |
| 30 |
|
13 |
|
| 31 |
<div class="form-extra-content"> |
14 |
<div class="form-content"> |
| 32 |
<div> |
15 |
<input type="text" name="supplier" id="supplier" class="head-searchbox form-control" placeholder="Search vendors" /> |
| 33 |
<label for="basket" class="control-label">Basket</label> |
|
|
| 34 |
<input type="text" class="form-control" placeholder="Basket" name="basket" id="basket" /> |
| 35 |
</div> |
16 |
</div> |
| 36 |
<div> |
17 |
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button> |
| 37 |
<label for="booksellerinvoicenumber" class="control-label">Invoice number</label> |
18 |
</form> |
| 38 |
<input type="text" class="form-control" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" /> |
19 |
[% END # /tab_panel# %] |
|
|
20 |
[% WRAPPER tab_panel tabname="orders_search" %] |
| 21 |
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post"> |
| 22 |
<div class="form-title"> |
| 23 |
<label class="control-label" for="order_title"><span class="control-text">Orders search</span> <i class="fa fa-fw fa-download" aria-hidden="true"></i></label> |
| 39 |
</div> |
24 |
</div> |
| 40 |
<div> |
25 |
|
| 41 |
<a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a> |
26 |
<div class="form-content"> |
|
|
27 |
<input type="text" id="order_title" class="form-control" placeholder="Title" name="title" size="13" value="[% title | html %]" /> |
| 28 |
<input type="text" id="searchsupplier" class="form-control" placeholder="Vendor" name="name" size="13" value="[% name | html %]" /> |
| 29 |
<button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button> |
| 30 |
<input type="hidden" id="do_search" name="do_search" value="do" /> |
| 42 |
</div> |
31 |
</div> |
| 43 |
</div> |
32 |
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button> |
| 44 |
</form> |
33 |
|
| 45 |
</div> |
34 |
<div class="form-extra-content"> |
| 46 |
</div><!-- /.tab-content --> |
35 |
<div> |
| 47 |
<ul class="nav nav-tabs" role="tablist"> |
36 |
<label for="basket" class="control-label">Basket</label> |
| 48 |
<li role="presentation" class="active"> |
37 |
<input type="text" class="form-control" placeholder="Basket" name="basket" id="basket" /> |
| 49 |
<a title="Vendor search" href="#supplier_search" aria-controls="supplier_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-upload" aria-hidden="true"></i> <span class="tab-title">Vendor search</span></a> |
38 |
</div> |
| 50 |
</li> |
39 |
<div> |
| 51 |
<li role="presentation"> |
40 |
<label for="booksellerinvoicenumber" class="control-label">Invoice number</label> |
| 52 |
<a title="Orders search" href="#orders_search" aria-controls="orders_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download" aria-hidden="true"></i> <span class="tab-title">Orders search</span></a> |
41 |
<input type="text" class="form-control" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" /> |
| 53 |
</li> |
42 |
</div> |
| 54 |
</ul> |
43 |
<div> |
| 55 |
</div><!-- /#header_search --> |
44 |
<a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a> |
|
|
45 |
</div> |
| 46 |
</div> |
| 47 |
</form> |
| 48 |
[% END # /tab_panel# %] |
| 49 |
[% END # /WRAPPER tab_panels %] |
| 50 |
|
| 51 |
[% WRAPPER tabs_nav %] |
| 52 |
[% WRAPPER tab_item tabname= "supplier_search" bt_active= 1 %] |
| 53 |
<i class="fa fa-upload" aria-hidden="true"></i> <span class="tab-title">Vendor search</span> |
| 54 |
[% END %] |
| 55 |
[% WRAPPER tab_item tabname= "orders_search" %] |
| 56 |
<i class="fa fa-download" aria-hidden="true"></i> <span class="tab-title">Orders search</span> |
| 57 |
[% END %] |
| 58 |
[% END # /WRAPPER tabs_nav %] |
| 59 |
|
| 60 |
[% END # /WRAPPER tabs %] |
| 61 |
[% END %] |
| 62 |
|
| 56 |
<!-- /acquisitions-search.inc --> |
63 |
<!-- /acquisitions-search.inc --> |