+
+
+
Name:
+
Initials:
+
Other name:
+
Library:
+
Card number:
+
Category:
+
+
Address line 1:
+
Address line 2:
+
City:
+
Country:
+
State:
+
Zip code:
+
Country:
+
+
Registration date:
+
Renewal date:
+
Expiration date:
+
Date of birth:
+
Restricted:
+
Primary email:
+
Secondary email:
+
Primary phone:
+
Secondary phone:
+
Other phone:
+
Gender:
+
Updated on:
+
Username:
+
+
+ [% FOREACH p IN patrons %]
+
+
+
+[% IF ( p.surname ) %][% p.surname | html %], [% p.firstname | html %][% ELSE %]-[% END %]
+[% IF ( p.initials ) %][% p.initials | html %][% ELSE %]-[% END %]
+[% IF ( p.othernames ) %][% p.othernames | html %][% ELSE %]-[% END %]
+[% IF ( p.branchcode ) %][% p.branchcode | html %][% ELSE %]-[% END %]
+[% IF ( p.cardnumber ) %][% p.cardnumber | html %][% ELSE %]-[% END %]
+[% IF ( p.categorycode ) %][% p.categorycode | html %][% ELSE %]-[% END %]
+
+[% IF ( p.address ) %][% p.address | html %][% ELSE %]-[% END %]
+[% IF ( p.address2 ) %][% p.address2 | html %][% ELSE %]-[% END %]
+[% IF ( p.city ) %][% p.city | html %][% ELSE %]-[% END %]
+[% IF ( p.country ) %][% p.country | html %][% ELSE %]-[% END %]
+[% IF ( p.state ) %][% p.state | html %][% ELSE %]-[% END %]
+[% IF ( p.zipcode ) %][% p.zipcode | html %][% ELSE %]-[% END %]
+[% IF ( p.country ) %][% p.country | html %][% ELSE %]-[% END %]
+
+[% IF ( p.dateenrolled ) %][% p.dateenrolled | html %][% ELSE %]-[% END %]
+[% IF ( p.date_renewed ) %][% p.date_renewed | html %][% ELSE %]-[% END %]
+[% IF ( p.dateexpiry ) %][% p.dateexpiry | html %][% ELSE %]-[% END %]
+[% IF ( p.dateofbirth ) %][% p.dateofbirth | html %][% ELSE %]-[% END %]
+[% IF ( p.debarred ) %][% p.debarred | html %][% ELSE %]-[% END %]
+[% IF ( p.email ) %][% p.email | html %][% ELSE %]-[% END %]
+[% IF ( p.emailpro ) %][% p.emailpro | html %][% ELSE %]-[% END %]
+[% IF ( p.phone ) %][% p.phone | html %][% ELSE %]-[% END %]
+[% IF ( p.phonepro ) %][% p.phonepro | html %][% ELSE %]-[% END %]
+[% IF ( p.mobile ) %][% p.mobile | html %][% ELSE %]-[% END %]
+[% IF ( p.sex ) %][% p.sex | html %][% ELSE %]-[% END %]
+[% IF ( p.updated_on ) %][% p.updated_on | html %][% ELSE %]-[% END %]
+[% IF ( p.userid ) %][% p.userid | html %][% ELSE %]-[% END %]
+
+
+ [% END %]
+
+