@@ -, +, @@ - Locate a patron and edit their record. - In the "Housebound roles" section, check both "Chooser" and "Deliverer." - Locate another patron and click on the "Housebound" menu item in the left-hand sidebar. - On the "Manage housebound profile" page, set a delivery day and frequency and save changes. - On the "Housebound details for..." page the details section at the top should be correctly styled. - Click "Add a new delivery." - Fill out some delivery details and click "Save." - Now the "Housebound details for..." page should show a "Deliveries" section which is correctly styled. --- .../prog/en/modules/members/housebound.tt | 91 ++++++++++--------- 1 file changed, 48 insertions(+), 43 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt @@ -369,51 +369,56 @@ -

Housebound details

- [% PROCESS 'homebound-details' %] - +
+

Housebound details

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

Deliveries

- [% housebound_visits = housebound_profile.housebound_visits %] - [% IF housebound_visits.count > 0 %] - - - - - [% FOREACH entry IN housebound_visits %] - - - - - - - +
+ [% PROCESS 'homebound-details' %] +
+ Edit +
+
+ +
+

Deliveries

+ [% housebound_visits = housebound_profile.housebound_visits %] + [% IF housebound_visits.count > 0 %] +
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 -
+ + + + [% 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 %] -
- - Add a new delivery - -
-
+
+ + Add a new delivery + +
+ [% END %] --