1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Budget Owner Search</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <style type="text/css">
5 #custom-doc { width:44.46em;*width:43.39em;min-width:578px; margin:auto; text-align:left; }
8 <script type="text/javascript">
11 // modify parent window owner element
12 function returnOwner(ownerId, ownerName){
13 var top1 = top.opener;
14 top1.document.getElementById('budget_owner_name').innerhtml = ownerName;
15 top1.document.getElementById('budget_owner_id').value = ownerId;
24 <div id="custom-doc" class="yui-t7">
29 <h3>Search for Budget Owner</h3>
30 <form action="/cgi-bin/koha/admin/aqbudget_owner_search.pl" method="post">
32 <input type="text" name="member" id="member" value="[% member %]" class="focus" />
37 <select name="orderby">
38 <option value="surnamecommafirstname">Surname</option>
39 <option value="cardnumber">Cardnumber</option>
43 <input type="submit" class="button" value="Search" /></fieldset>
44 <div class="hint">Only staff with superlibrarian or acquisitions permissions are returned in the search results</div>
50 <p>Searched for <span class="ex">[% member %]</span>, [% numresults %] patron(s) found:</p>
60 [% FOREACH resultsloo IN resultsloop %]
61 [% IF ( resultsloo.toggle ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
62 <td>[% resultsloo.cardnumber %]</td>
63 <td>[% resultsloo.surname %], [% resultsloo.firstname %]</td>
64 <td>[% resultsloo.branchcode %]</td>
65 <td>[% resultsloo.categorycode %]</td>
67 <input type="button" value="Select" onclick="returnOwner('[% resultsloo.budget_owner_id %]', '[% resultsloo.budget_owner_name %]');" />
74 <div id="closewindow"><a href="#" class="close">Cancel</a></div>
77 [% INCLUDE 'intranet-bottom.inc' %]