Lines 223-229
function validate1(date) {
Link Here
|
223 |
<div class="yui-u first"> |
223 |
<div class="yui-u first"> |
224 |
<div id="patron-information" style="padding : .5em;"> |
224 |
<div id="patron-information" style="padding : .5em;"> |
225 |
|
225 |
|
226 |
[% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames | html %]”[% END %] |
226 |
[% IF ( othernames ) %]“[% othernames | html %]”[% END %] |
227 |
|
227 |
|
228 |
<div class = "address"> |
228 |
<div class = "address"> |
229 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
229 |
[% IF Koha.Preference( 'AddressFormat' ) %] |
Lines 234-279
function validate1(date) {
Link Here
|
234 |
</div> |
234 |
</div> |
235 |
|
235 |
|
236 |
<div class="rows"> |
236 |
<div class="rows"> |
237 |
<ol> |
237 |
<ol> |
238 |
[% IF ( I ) %] |
238 |
[% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %] |
239 |
[% IF ( phonepro ) %]<li><span class="label">Organization phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %] |
239 |
[% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %] |
240 |
[% IF ( emailpro ) %]<li class="email"><span class="label">Organization email: </span>[% emailpro | html %]</li>[% END %] |
240 |
[% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %] |
241 |
[% ELSE %] |
241 |
[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %] |
242 |
[% IF ( phone ) %]<li><span class="label">Primary phone: </span><a href="tel:[% phone %]">[% phone | html %]</a></li>[% END %] |
|
|
243 |
[% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span><a href="tel:[% phonepro %]">[% phonepro | html %]</a></li>[% END %] |
244 |
[% IF ( mobile ) %]<li><span class="label">Other phone: </span><a href="tel:[% mobile %]">[% mobile | html %]</a></li>[% END %] |
245 |
[% END %] |
246 |
|
247 |
[% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %] |
248 |
[% UNLESS ( I ) %] |
249 |
[% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %] |
242 |
[% IF ( email ) %]<li class="email"><span class="label">Primary email:</span><a title="[% email %]" href="mailto:[% email | url %]">[% email | html %]</a></li>[% END %] |
250 |
[% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %] |
243 |
[% IF ( emailpro ) %]<li class="email"><span class="label">Secondary email: </span><a title="[% emailpro %]" href="mailto:[% emailpro | url %]">[% emailpro | html %]</a></li>[% END %] |
251 |
[% END %] |
244 |
[% UNLESS ( I ) %] |
252 |
[% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %] |
245 |
[% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %] |
253 |
[% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
246 |
[% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth | $KohaDates %] ([% age %] years)</li>[% END %] |
254 |
[% IF ( sex ) %]<li><span class="label">Gender:</span> |
247 |
[% IF ( sex ) %]<li><span class="label">Gender:</span> |
255 |
[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %] |
248 |
[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %] |
256 |
</li>[% END %][% END %] |
249 |
</li>[% END %] |
257 |
[% IF guarantees %] |
250 |
[% END %] |
258 |
<li> |
251 |
[% IF guarantees %] |
259 |
<span class="label">Guarantees:</span> |
252 |
<li> |
260 |
<ul> |
253 |
<span class="label">Guarantees:</span> |
261 |
[% FOREACH guarantee IN guarantees %] |
254 |
<ul> |
262 |
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantee.borrowernumber %]">[% guarantee.firstname | html %] [% guarantee.surname | html %]</a></li> |
255 |
[% FOREACH guarantee IN guarantees %] |
|
|
256 |
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantee.borrowernumber %]">[% guarantee.firstname | html %] [% guarantee.surname | html %]</a></li> |
257 |
[% END %] |
258 |
</ul> |
259 |
</li> |
260 |
[% ELSIF guarantor %] |
261 |
<li> |
262 |
<span class="label">Guarantor:</span> |
263 |
[% IF guarantor.borrowernumber %] |
264 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber %]">[% guarantor.firstname | html %] [% guarantor.surname | html %]</a> |
265 |
[% ELSE %] |
266 |
[% guarantor.firstname | html %] [% guarantor.surname | html %] |
263 |
[% END %] |
267 |
[% END %] |
264 |
</ul> |
268 |
</li> |
265 |
</li> |
269 |
[% END %] |
266 |
[% ELSIF guarantor %] |
270 |
</ol> |
267 |
<li> |
|
|
268 |
<span class="label">Guarantor:</span> |
269 |
[% IF guarantor.borrowernumber %] |
270 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber %]">[% guarantor.firstname | html %] [% guarantor.surname | html %]</a> |
271 |
[% ELSE %] |
272 |
[% guarantor.firstname | html %] [% guarantor.surname | html %] |
273 |
[% END %] |
274 |
</li> |
275 |
[% END %] |
276 |
</ol> |
277 |
</div> |
271 |
</div> |
278 |
<div class="action"> |
272 |
<div class="action"> |
279 |
[% IF ( guarantor.borrowernumber ) %] |
273 |
[% IF ( guarantor.borrowernumber ) %] |
Lines 400-406
function validate1(date) {
Link Here
|
400 |
<ol> |
394 |
<ol> |
401 |
<li><span class="label">Card number: </span>[% cardnumber %]</li> |
395 |
<li><span class="label">Card number: </span>[% cardnumber %]</li> |
402 |
<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li> |
396 |
<li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li> |
403 |
<li><span class="label">Category: </span>[% description %] ([% categorycode %])</li> |
397 |
<li><span class="label">Category: </span>[% categoryname %] ([% categorycode %])</li> |
404 |
<li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li> |
398 |
<li><span class="label">Registration date: </span>[% dateenrolled | $KohaDates %]</li> |
405 |
|
399 |
|
406 |
<li><span class="label">Expiration date: </span> |
400 |
<li><span class="label">Expiration date: </span> |
Lines 471-477
function validate1(date) {
Link Here
|
471 |
</div> |
465 |
</div> |
472 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div> |
466 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div> |
473 |
|
467 |
|
474 |
[% UNLESS ( I ) %] |
|
|
475 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
468 |
<div id="patron-alternate-address" style="padding-top: 1em;"> |
476 |
<h3>Alternate address</h3> |
469 |
<h3>Alternate address</h3> |
477 |
|
470 |
|
Lines 489-495
function validate1(date) {
Link Here
|
489 |
</div> |
482 |
</div> |
490 |
</div> |
483 |
</div> |
491 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div> |
484 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div> |
492 |
[% END %] |
|
|
493 |
|
485 |
|
494 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
486 |
<div id="patron-alternative-contact" style="padding-top: 1em;"> |
495 |
<h3>Alternative contact</h3> |
487 |
<h3>Alternative contact</h3> |