[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE AuthorisedValues %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Details for [% INCLUDE 'patron-title.inc' no_html = 1 %] › Housebound › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search-header.inc' %] [% BLOCK 'homebound-details' %]
  1. 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 %]
  2. Frequency: [% AuthorisedValues.GetByCode( 'HSBND_FREQ', housebound_profile.frequency, 0 ) || housebound_profile.frequency | html %]
  3. Material:
    [% housebound_profile.fav_itemtypes | html | html_line_break %]
  4. Subjects:
    [% housebound_profile.fav_subjects | html | html_line_break %]
  5. Authors:
    [% housebound_profile.fav_authors | html | html_line_break %]
  6. Referral:
    [% housebound_profile.referral | html | html_line_break %]
  7. Notes:
    [% housebound_profile.notes | html | html_line_break %]
[% END %]
[% 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 | html %] [% END %] Please try again later
[% END %] [% IF ( method == 'update_or_create' ) %]

Manage housebound profile

[% IF ( housebound_profile ) %] [% ELSE %] [% END %]
Housebound details
  1. Required
  2. Required
  3. [% IF ( housebound_profile ) %] [% ELSE %] [% END %]
  4. [% IF ( housebound_profile ) %] [% ELSE %] [% END %]
  5. [% IF ( housebound_profile ) %] [% ELSE %] [% END %]
  6. [% IF ( housebound_profile ) %] [% ELSE %] [% END %]
  7. [% IF ( housebound_profile ) %] [% ELSE %] [% END %]
Cancel
[% ELSIF ( method == 'visit_update_or_create' ) %]

Manage housebound deliveries

[% IF ( visit ) %] [% ELSE %] [% END %]
Delivery details
  1. [% IF ( visit ) %] [% ELSE %] [% END %] Required
    [% INCLUDE 'date-format.inc' %]
  2. Required
  3. Required
  4. Required
Cancel

Housebound details

[% PROCESS 'homebound-details' %] [% ELSIF ( housebound_profile ) %] [% PROCESS 'homebound-details' %]

Deliveries

[% housebound_visits = housebound_profile.housebound_visits %] [% IF housebound_visits.count > 0 %] [% FOREACH entry IN housebound_visits %] [% END %]
IDDateChooserDelivererActions
[% 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
[% END %]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]