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 | html %]
[% 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 | html %]
- Material: [% housebound_profile.fav_itemtypes | html %]
- Subjects: [% housebound_profile.fav_subjects | html %]
- Authors: [% housebound_profile.fav_authors | html %]
- Referral: [% housebound_profile.referral | html %]
- Notes: [% housebound_profile.notes | html %]
Deliveries
[% housebound_visits = housebound_profile.housebound_visits %] [% IF housebound_visits.size > 0 %]ID | Date | Chooser | Deliverer | Actions |
---|---|---|---|---|
[% entry.id | html %] | [% entry.appointment_date | $KohaDates %] ([% entry.day_segment | html %]) | [% INCLUDE 'patron-title.inc' patron = entry.chooser invert_name = 0 %] | [% INCLUDE 'patron-title.inc' patron = entry.deliverer invert_name = 0 %] | Edit Delete |