Lines 7-12
Link Here
|
7 |
[%- SET data.surname = patron.surname -%] |
7 |
[%- SET data.surname = patron.surname -%] |
8 |
[%- SET data.othernames = patron.othernames -%] |
8 |
[%- SET data.othernames = patron.othernames -%] |
9 |
[%- SET data.firstname = patron.firstname -%] |
9 |
[%- SET data.firstname = patron.firstname -%] |
|
|
10 |
[%- SET data.preferred_name = patron.preferred_name -%] |
11 |
[%- SET data.effective_name = patron.effective_name -%] |
10 |
[%- SET data.cardnumber = patron.cardnumber -%] |
12 |
[%- SET data.cardnumber = patron.cardnumber -%] |
11 |
[%- SET data.borrowernumber = patron.borrowernumber -%] |
13 |
[%- SET data.borrowernumber = patron.borrowernumber -%] |
12 |
[%- SET data.title = patron.title -%] |
14 |
[%- SET data.title = patron.title -%] |
Lines 15-20
Link Here
|
15 |
[%- SET data.surname = borrower.surname -%] |
17 |
[%- SET data.surname = borrower.surname -%] |
16 |
[%- SET data.othernames = borrower.othernames -%] |
18 |
[%- SET data.othernames = borrower.othernames -%] |
17 |
[%- SET data.firstname = borrower.firstname -%] |
19 |
[%- SET data.firstname = borrower.firstname -%] |
|
|
20 |
[%- SET data.preferred_name = borrower.preferred_name -%] |
21 |
[%- SET data.effective_name = borrower.effective_name -%] |
18 |
[%- SET data.cardnumber = borrower.cardnumber -%] |
22 |
[%- SET data.cardnumber = borrower.cardnumber -%] |
19 |
[%- SET data.borrowernumber = borrower.borrowernumber -%] |
23 |
[%- SET data.borrowernumber = borrower.borrowernumber -%] |
20 |
[%- SET data.title = borrower.title -%] |
24 |
[%- SET data.title = borrower.title -%] |
Lines 23-32
Link Here
|
23 |
[%- SET data.surname = surname -%] |
27 |
[%- SET data.surname = surname -%] |
24 |
[%- SET data.othernames = othernames -%] |
28 |
[%- SET data.othernames = othernames -%] |
25 |
[%- SET data.firstname = firstname -%] |
29 |
[%- SET data.firstname = firstname -%] |
|
|
30 |
[%- SET data.preferred_name = preferred_name -%] |
31 |
[%- SET data.effective_name = effective_name -%] |
26 |
[%- SET data.cardnumber = cardnumber -%] |
32 |
[%- SET data.cardnumber = cardnumber -%] |
27 |
[%- SET data.borrowernumber = borrowernumber -%] |
33 |
[%- SET data.borrowernumber = borrowernumber -%] |
28 |
[%- SET data.title = title -%] |
34 |
[%- SET data.title = title -%] |
29 |
[%- END -%] |
35 |
[%- END -%] |
|
|
36 |
[%- UNLESS data.effective_name -%] |
37 |
[%- SET data.effective_name = data.preferred_name || data.firstname -%] |
38 |
[%- END -%] |
30 |
[%# Parameter no_html - if 1, the html tags are NOT generated %] |
39 |
[%# Parameter no_html - if 1, the html tags are NOT generated %] |
31 |
[%- IF no_title %][% SET data.title = "" %][% END -%] |
40 |
[%- IF no_title %][% SET data.title = "" %][% END -%] |
32 |
[%- IF data.title %] |
41 |
[%- IF data.title %] |
Lines 61-69
Link Here
|
61 |
[%- IF data.category_type == 'I' -%] |
70 |
[%- IF data.category_type == 'I' -%] |
62 |
[%- data.surname | html %] [% IF data.othernames %] ([% data.othernames | html %])[% END -%] |
71 |
[%- data.surname | html %] [% IF data.othernames %] ([% data.othernames | html %])[% END -%] |
63 |
[%- ELSIF invert_name -%] |
72 |
[%- ELSIF invert_name -%] |
64 |
[% data.title | $raw %][%- data.surname | html %][% IF ( data.firstname ) %], [% data.firstname | html %][% END %][% IF data.othernames %] ([% data.othernames | html %]) [% END -%] |
73 |
[% data.title | $raw %][%- data.surname | html %][% IF ( data.effective_name ) %], [% data.effective_name | html %][% END %][% IF data.othernames %] ([% data.othernames | html %]) [% END -%] |
65 |
[%- ELSE -%] |
74 |
[%- ELSE -%] |
66 |
[% data.title | $raw %][%- data.firstname | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END %] [% data.surname | html -%] |
75 |
[% data.title | $raw %][%- data.effective_name | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END %] [% data.surname | html -%] |
67 |
[%- END -%] |
76 |
[%- END -%] |
68 |
[%- IF display_cardnumber AND data.cardnumber %] ([% data.cardnumber | html %])[% END -%] |
77 |
[%- IF display_cardnumber AND data.cardnumber %] ([% data.cardnumber | html %])[% END -%] |
69 |
[%- ELSIF display_cardnumber -%] |
78 |
[%- ELSIF display_cardnumber -%] |