[% INCLUDE 'members-toolbar.inc' %]
Housebound details for [% INCLUDE 'patron-title.inc' %]
[% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'error_on_profile_store' %]
An error occurred whilst updating this housebound profile.
[% CASE 'error_on_profile_create' %]
An error occurred whilst creating this housebound profile.
[% CASE 'error_on_visit_load' %]
An error occurred whilst loading the housebound visit.
[% CASE 'error_on_visit_delete' %]
An error occurred whilst deleting a housebound visit.
[% CASE 'error_on_visit_store' %]
An error occurred whilst updating a housebound visit.
[% CASE 'error_on_visit_create' %]
An error occurred whilst creating a new housebound visit.
[% CASE %]
[% m.code %]
[% END %]
Please try again later.
[% END %]
[% IF ( method == 'update_or_create' ) %]
Manage housebound profile
[% ELSIF ( method == 'visit_update_or_create' ) %]
Manage housebound deliveries
[% ELSIF ( housebound_profile ) %]
-
Delivery day:
[% hpd = housebound_profile.day %]
[% IF hpd == 'any' %]
Any
[% ELSIF hpd == 'monday' %]
Monday
[% ELSIF hpd == 'tuesday' %]
Tuesday
[% ELSIF hpd == 'wednesday' %]
Wednesday
[% ELSIF hpd == 'thursday' %]
Thursday
[% ELSIF hpd == 'friday' %]
Friday
[% ELSIF hpd == 'saturday' %]
Saturday
[% ELSIF hpd == 'sunday' %]
Sunday
[% END %]
-
Frequency:
[% AuthorisedValues.GetByCode( 'HSBND_FREQ', housebound_profile.frequency, 0 ) || housebound_profile.frequency %]
-
Material:
[% housebound_profile.fav_itemtypes %]
-
Subjects:
[% housebound_profile.fav_subjects %]
-
Authors:
[% housebound_profile.fav_authors %]
-
Referral:
[% housebound_profile.referral %]
-
Notes:
[% housebound_profile.notes %]
Deliveries
[% housebound_visits = housebound_profile.housebound_visits %]
[% IF housebound_visits.size > 0 %]
[% END %]
[% END %]