Lines 1-11
Link Here
|
|
|
1 |
[%# Parameter no_html - if 1, the html tags are NOT generated %] |
2 |
[%- IF no_html %] |
3 |
[%- span_start = '' %] |
4 |
[%- span_end = '' %] |
5 |
[%- ELSE %] |
6 |
[%- span_start = '<span class="patron-title">' %] |
7 |
[%- span_end = '</span>' %] |
8 |
[%- END %] |
1 |
[%- IF ( borrower.borrowernumber ) %] |
9 |
[%- IF ( borrower.borrowernumber ) %] |
2 |
[%- IF borrower.category_type == 'I' %] |
10 |
[%- IF borrower.category_type == 'I' %] |
3 |
[%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] |
11 |
[%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] |
4 |
[%- ELSE %] |
12 |
[%- ELSE %] |
5 |
[%- IF invert_name %] |
13 |
[%- IF invert_name %] |
6 |
[%- IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] |
14 |
[%- IF borrower.title %][% span_start %][%- borrower.title | html %][% span_end %] [% END %][%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] |
7 |
[%- ELSE %] |
15 |
[%- ELSE %] |
8 |
[%- IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %] |
16 |
[%- IF borrower.title %][% span_start %][%- borrower.title | html %][% span_end %] [% END %][%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %] |
9 |
[%- END -%] |
17 |
[%- END -%] |
10 |
[%- END -%] |
18 |
[%- END -%] |
11 |
[%- IF ( borrower.cardnumber ) -%] |
19 |
[%- IF ( borrower.cardnumber ) -%] |
Lines 16-24
Link Here
|
16 |
[%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] |
24 |
[%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] |
17 |
[%- ELSE %] |
25 |
[%- ELSE %] |
18 |
[%- IF invert_name %] |
26 |
[%- IF invert_name %] |
19 |
[%- IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] |
27 |
[%- IF title %][% span_start %][%- title | html %][% span_end %] [% END %][%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] |
20 |
[%- ELSE %] |
28 |
[%- ELSE %] |
21 |
[%- IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %] |
29 |
[%- IF title %][% span_start %][%- title | html %][% span_end %] [% END %][%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %] |
22 |
[%- END %] |
30 |
[%- END %] |
23 |
[%- END -%] |
31 |
[%- END -%] |
24 |
[%- IF ( cardnumber ) -%] |
32 |
[%- IF ( cardnumber ) -%] |