Lines 45-51
function add_item(borrowernum,batch_id,type_id){
Link Here
|
45 |
<div id="custom-doc" class="yui-t7"> |
45 |
<div id="custom-doc" class="yui-t7"> |
46 |
<div id="bd"> |
46 |
<div id="bd"> |
47 |
<div class="yui-g"> |
47 |
<div class="yui-g"> |
48 |
<h3>Patron Search</h3> |
48 |
<h3>Patron search</h3> |
49 |
|
49 |
|
50 |
<div class="browse"> |
50 |
<div class="browse"> |
51 |
Browse by last name: |
51 |
Browse by last name: |
Lines 58-71
function add_item(borrowernum,batch_id,type_id){
Link Here
|
58 |
<input type="hidden" name="batch_id" value="[% batch_id %]" /> |
58 |
<input type="hidden" name="batch_id" value="[% batch_id %]" /> |
59 |
<input type="hidden" name="type" value="[% type %]" /> |
59 |
<input type="hidden" name="type" value="[% type %]" /> |
60 |
<label for="member">Name: </label> |
60 |
<label for="member">Name: </label> |
61 |
<input id="member" name="member" /> |
61 |
<input id="member" name="member" value="[% member %]" /> |
62 |
<label for="category">Category code: </label> |
62 |
|
63 |
<input id="category" name="category" /> |
63 |
[% UNLESS ( no_categories ) %] |
|
|
64 |
<label for="category">Category: </label> |
65 |
<select name="category" id="category"> |
66 |
<option value="">Any</option> |
67 |
[% FOREACH categorie IN categories %] |
68 |
[% IF ( categorie.categorycode == category ) %] |
69 |
<option value="[% categorie.categorycode %]" selected="selected">[% categorie.description |html_entity %]</option> |
70 |
[% ELSE %] |
71 |
<option value="[% categorie.categorycode %]">[% categorie.description |html_entity %]</option> |
72 |
[% END %] |
73 |
[% END %] |
74 |
</select> |
75 |
[% END %] |
76 |
|
64 |
<input type="submit" value="Search" /></p> |
77 |
<input type="submit" value="Search" /></p> |
65 |
</form> |
78 |
</form> |
66 |
|
79 |
|
67 |
[% IF ( resultsloop ) %] |
80 |
[% IF ( resultsloop ) %] |
68 |
<div id="searchheader"> <h3>Results [% from %] to [% to %] of [% numresults %] found for [% IF ( member ) %]name: '<span class="ex">[% member %][% ELSIF ( category_type ) %]category code: '<span class="ex">[% category_type %][% END %]</span>'</h3></div> |
81 |
<div id="searchheader"> <h3>Results [% from %] to [% to %] of [% numresults %] found [% IF ( member ) %]for name: '<span class="ex">[% member %]</span>'[% END %] [% IF ( category ) %]with category code: '<span class="ex">[% category %]</span>'[% END %]</h3></div> |
69 |
[% IF ( paginationbar ) %]<div id="pagination_top" class="pages">[% paginationbar %]</div>[% END %] |
82 |
[% IF ( paginationbar ) %]<div id="pagination_top" class="pages">[% paginationbar %]</div>[% END %] |
70 |
<form name="resultform" action="/cgi-bin/koha/patroncards/members-search.pl" method="get" class="checkboxed"><div style="float: right; margin-top: .5em;"><input type="submit" class="icon addchecked" value="Add checked" onclick="add_item('checked',[% batch_id %]); return false" /> <input type="button" class="close" value="Done" /></div> |
83 |
<form name="resultform" action="/cgi-bin/koha/patroncards/members-search.pl" method="get" class="checkboxed"><div style="float: right; margin-top: .5em;"><input type="submit" class="icon addchecked" value="Add checked" onclick="add_item('checked',[% batch_id %]); return false" /> <input type="button" class="close" value="Done" /></div> |
71 |
<div style="line-height: 2em; margin-left: .7em;"><a id="CheckAll" href="/cgi-bin/koha/patroncards/members-search.pl">Select All</a><a id="CheckNone" href="/cgi-bin/koha/patroncards/members-search.pl">Clear All</a></div> |
84 |
<div style="line-height: 2em; margin-left: .7em;"><a id="CheckAll" href="/cgi-bin/koha/patroncards/members-search.pl">Select All</a><a id="CheckNone" href="/cgi-bin/koha/patroncards/members-search.pl">Clear All</a></div> |
Lines 74-83
function add_item(borrowernum,batch_id,type_id){
Link Here
|
74 |
<table style="float: left; margin: .5em 0;"> |
87 |
<table style="float: left; margin: .5em 0;"> |
75 |
<tr> |
88 |
<tr> |
76 |
<th>Select</th> |
89 |
<th>Select</th> |
77 |
<th><a href="members-search.pl?member=[% member %]&category=[% category_type %]&batch_id=[% batch_id %]&orderby=cardnumber">Card</a></th> |
90 |
<th><a href="members-search.pl?member=[% member %]&category=[% category %]&batch_id=[% batch_id %]&orderby=cardnumber">Card</a></th> |
78 |
<th><a href="members-search.pl?member=[% member %]&category=[% category_type %]&batch_id=[% batch_id %]&orderby=surname">Name</a></th> |
91 |
<th><a href="members-search.pl?member=[% member %]&category=[% category %]&batch_id=[% batch_id %]&orderby=surname">Name</a></th> |
79 |
<th><a href="members-search.pl?member=[% member %]&category=[% category_type %]&batch_id=[% batch_id %]&orderby=borrowers.categorycode">Category</a></th> |
92 |
<th><a href="members-search.pl?member=[% member %]&category=[% category %]&batch_id=[% batch_id %]&orderby=borrowers.categorycode">Category</a></th> |
80 |
<th><a href="members-search.pl?member=[% member %]&category=[% category_type %]&batch_id=[% batch_id %]&orderby=branchcode">Library</a></th> |
93 |
<th><a href="members-search.pl?member=[% member %]&category=[% category %]&batch_id=[% batch_id %]&orderby=branchcode">Library</a></th> |
81 |
<th>Expires on</th> |
94 |
<th>Expires on</th> |
82 |
<th>Notes</th> |
95 |
<th>Notes</th> |
83 |
<th></th> |
96 |
<th></th> |