Koha/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc
Owen Leonard fb4072feca
Bug 31936: Restore link to advanced search in acquisitions header
This patch adds back the link to the advanced order search page which
was previously in the acquisitions header search. Some CSS is tweaked to
make the form style comfortable.

To test, apply the patch and rebuild the staff interface CSS.

- Go to Acquisitions.
- In the header search form, click "Orders search"
- Click the icon in the search form to expand the additional options.
- You should see an "Advanced search" link which is the same style as
  other standard links.
- The link should take you to the order search form.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-24 13:14:19 -03:00

53 lines
2.6 KiB
HTML

<!-- Begin Acquisitions Resident Search Box -->
<div id="header_search">
<div id="supplier_search" class="residentsearch">
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
<span class="form-title">
<label class="control-label">Vendor search</label>
</span>
<span class="form-content">
<input type="text" name="supplier" id="supplier" class="head-searchbox form-control" placeholder="Search vendors" />
</span>
<button type="submit"><i class="fa fa-arrow-right"></i></button>
</form>
</div>
<div id="orders_search" class="residentsearch">
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
<span class="form-title">
<label class="control-label">Orders search</label>
</span>
<span class="form-content">
<input type="text" id="title" class="form-control" placeholder="Title" name="title" size="13" value="[% title | html %]" />
<input type="text" id="searchsupplier" class="form-control" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
<button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
<input type="hidden" id="do_search" name="do_search" value="do" />
</span>
<button type="submit"><i class="fa fa-arrow-right"></i></button>
<div class="form-extra-content">
<div>
<label for="basket" class="control-label">Basket</label>
<input type="text" class="form-control" placeholder="Basket" name="basket" id="basket" />
</div>
<div>
<label for="booksellerinvoicenumber" class="control-label">Invoice number</label>
<input type="text" class="form-control" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
</div>
<div>
<a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
</div>
</div>
</form>
</div>
<ul>
<li><a title="Vendor search" href="#supplier_search"><i class="fa fa-upload"></i> <span class="tab-title">Vendor search</span></a></li>
<li><a title="Orders search" href="#orders_search"><i class="fa fa-download"></i> <span class="tab-title">Orders search</span></a></li>
</ul>
</div><!-- /header_search -->
<!-- End Main page Resident Search Box -->