Lines 112-119
$(document).ready(function() {
Link Here
|
112 |
<div class="yui-b"> |
112 |
<div class="yui-b"> |
113 |
|
113 |
|
114 |
<h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title | html %]</a></h1> |
114 |
<h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id %]">[% biblio.title | html %]</a></h1> |
115 |
|
115 |
[% IF no_patrons_found %] |
116 |
[% UNLESS patron %] |
116 |
<div class="dialog alert"> |
|
|
117 |
<h3>Patron not found</h3> |
118 |
<p>No patron with this name, please, try another</p> |
119 |
</div> |
120 |
[% ELSIF patrons %] |
121 |
<form id="article_request_patron_results" method="post"> |
122 |
<fieldset> |
123 |
<table id="table_borrowers"> |
124 |
<thead> |
125 |
<tr> |
126 |
<th></th> |
127 |
<th>Name</th> |
128 |
<th>Cardnumber</th> |
129 |
<th>Category</th> |
130 |
<th>Library</th> |
131 |
<th>Address</th> |
132 |
</tr> |
133 |
</thead> |
134 |
<tbody> |
135 |
[% FOREACH patron IN patrons %] |
136 |
<tr> |
137 |
<td><input type="radio" name="patron_id" value="[% patron.borrowernumber %]"/></td> |
138 |
<td>[% patron.surname %], [% patron.firstname %]</td> |
139 |
<td>[% patron.cardnumber %]</td> |
140 |
<td>[% patron.categorycode %]</td> |
141 |
<td>[% patron.branchcode %]</td> |
142 |
<td>[% patron.address %]</td> |
143 |
</tr> |
144 |
[% END %] |
145 |
</tbody> |
146 |
</table> |
147 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
148 |
<fieldset class="action"><input type="submit" value="Select" /></fieldset> |
149 |
</fieldset> |
150 |
</form> |
151 |
[% ELSIF !patron %] |
117 |
<form id="article_requests_patronsearch" action="request-article.pl" method="post"> |
152 |
<form id="article_requests_patronsearch" action="request-article.pl" method="post"> |
118 |
<fieldset class="brief"> |
153 |
<fieldset class="brief"> |
119 |
<label for="patron">Patron: </label> |
154 |
<label for="patron">Patron: </label> |
120 |
- |
|
|