Lines 14-19
Link Here
|
14 |
[% INCLUDE 'header.inc' %] |
14 |
[% INCLUDE 'header.inc' %] |
15 |
[% INCLUDE 'patron-search.inc' %] |
15 |
[% INCLUDE 'patron-search.inc' %] |
16 |
|
16 |
|
|
|
17 |
[% BLOCK 'homebound-details' %] |
18 |
<div class="rows"> |
19 |
<ol> |
20 |
<li> |
21 |
<span class="label" class="required"> Delivery day:</span> |
22 |
[% hpd = housebound_profile.day %] |
23 |
[% IF hpd == 'any' %] |
24 |
Any |
25 |
[% ELSIF hpd == 'monday' %] |
26 |
Monday |
27 |
[% ELSIF hpd == 'tuesday' %] |
28 |
Tuesday |
29 |
[% ELSIF hpd == 'wednesday' %] |
30 |
Wednesday |
31 |
[% ELSIF hpd == 'thursday' %] |
32 |
Thursday |
33 |
[% ELSIF hpd == 'friday' %] |
34 |
Friday |
35 |
[% ELSIF hpd == 'saturday' %] |
36 |
Saturday |
37 |
[% ELSIF hpd == 'sunday' %] |
38 |
Sunday |
39 |
[% END %] |
40 |
</li> |
41 |
<li> |
42 |
<span class="label" class="required">Frequency:</span> |
43 |
[% AuthorisedValues.GetByCode( 'HSBND_FREQ', housebound_profile.frequency, 0 ) || housebound_profile.frequency | html %] |
44 |
</li> |
45 |
<li> |
46 |
<span class="label">Material:</span><br /> |
47 |
[% housebound_profile.fav_itemtypes | html | html_line_break %] |
48 |
</li> |
49 |
<li> |
50 |
<span class="label">Subjects:</span><br /> |
51 |
[% housebound_profile.fav_subjects | html | html_line_break %] |
52 |
</li> |
53 |
<li> |
54 |
<span class="label">Authors:</span><br /> |
55 |
[% housebound_profile.fav_authors | html | html_line_break %] |
56 |
</li> |
57 |
<li> |
58 |
<span class="label">Referral:</span><br /> |
59 |
[% housebound_profile.referral | html | html_line_break %] |
60 |
</li> |
61 |
<li> |
62 |
<span class="label">Notes:</span><br /> |
63 |
[% housebound_profile.notes | html | html_line_break %] |
64 |
</li> |
65 |
</ol> |
66 |
</div> |
67 |
[% END %] |
68 |
|
17 |
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> |
69 |
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> |
18 |
<ol> |
70 |
<ol> |
19 |
<li> |
71 |
<li> |
Lines 324-384
Link Here
|
324 |
</a> |
376 |
</a> |
325 |
</fieldset> |
377 |
</fieldset> |
326 |
</form> |
378 |
</form> |
327 |
|
379 |
<h3>Housebound details</h3> |
|
|
380 |
[% PROCESS 'homebound-details' %] |
328 |
<!-- Display a housebound_profile --> |
381 |
<!-- Display a housebound_profile --> |
329 |
[% ELSIF ( housebound_profile ) %] |
382 |
[% ELSIF ( housebound_profile ) %] |
330 |
<div class="rows"> |
383 |
[% PROCESS 'homebound-details' %] |
331 |
<ol> |
|
|
332 |
<li> |
333 |
<span class="label" class="required"> Delivery day:</span> |
334 |
[% hpd = housebound_profile.day %] |
335 |
[% IF hpd == 'any' %] |
336 |
Any |
337 |
[% ELSIF hpd == 'monday' %] |
338 |
Monday |
339 |
[% ELSIF hpd == 'tuesday' %] |
340 |
Tuesday |
341 |
[% ELSIF hpd == 'wednesday' %] |
342 |
Wednesday |
343 |
[% ELSIF hpd == 'thursday' %] |
344 |
Thursday |
345 |
[% ELSIF hpd == 'friday' %] |
346 |
Friday |
347 |
[% ELSIF hpd == 'saturday' %] |
348 |
Saturday |
349 |
[% ELSIF hpd == 'sunday' %] |
350 |
Sunday |
351 |
[% END %] |
352 |
</li> |
353 |
<li> |
354 |
<span class="label" class="required">Frequency:</span> |
355 |
[% AuthorisedValues.GetByCode( 'HSBND_FREQ', housebound_profile.frequency, 0 ) || housebound_profile.frequency | html %] |
356 |
</li> |
357 |
<li> |
358 |
<span class="label">Material:</span><br /> |
359 |
[% housebound_profile.fav_itemtypes | html | html_line_break %] |
360 |
</li> |
361 |
<li> |
362 |
<span class="label">Subjects:</span><br /> |
363 |
[% housebound_profile.fav_subjects | html | html_line_break %] |
364 |
</li> |
365 |
<li> |
366 |
<span class="label">Authors:</span><br /> |
367 |
[% housebound_profile.fav_authors | html | html_line_break %] |
368 |
</li> |
369 |
<li> |
370 |
<span class="label">Referral:</span><br /> |
371 |
[% housebound_profile.referral | html | html_line_break %] |
372 |
</li> |
373 |
<li> |
374 |
<span class="label">Notes:</span><br /> |
375 |
[% housebound_profile.notes | html | html_line_break %] |
376 |
</li> |
377 |
</ol> |
378 |
<div class="action"> |
384 |
<div class="action"> |
379 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber | html %]&method=update_or_create"><i class="fa fa-pencil"></i> Edit</a> |
385 |
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber | html %]&method=update_or_create"><i class="fa fa-pencil"></i> Edit</a> |
380 |
</div> |
386 |
</div> |
381 |
</div> |
|
|
382 |
<div> |
387 |
<div> |
383 |
<h3>Deliveries</h3> |
388 |
<h3>Deliveries</h3> |
384 |
[% housebound_visits = housebound_profile.housebound_visits %] |
389 |
[% housebound_visits = housebound_profile.housebound_visits %] |
385 |
- |
|
|