Bug 5670: Use Koha.Preference to retrieve syspref from templates
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
56fbbe237f
commit
c517689bb6
|
|
@ -1013,7 +1013,7 @@ $(document).ready(function() {
|
|||
[% END %]
|
||||
|
||||
[% IF ( step_4 ) %]
|
||||
[% IF ( HouseboundModule ) %]
|
||||
[% IF Koha.Preference('HouseboundModule') %]
|
||||
<fieldset class="rows" id="memberentry_housebound_roles">
|
||||
<legend id="housebound_roles">Housebound roles</legend>
|
||||
<ol class="radio">
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ function validate1(date) {
|
|||
|
||||
<!-- End Upload Patron Image Section -->
|
||||
|
||||
[% IF ( HouseboundModule ) %]
|
||||
[% IF Koha.Preference('HouseboundModule') %]
|
||||
<div id="houseboundroles">
|
||||
<h3>Housebound roles</h3>
|
||||
<div class="rows">
|
||||
|
|
|
|||
|
|
@ -750,7 +750,6 @@ $template->param(
|
|||
|
||||
# HouseboundModule data
|
||||
$template->param(
|
||||
HouseboundModule => C4::Context->preference("HouseboundModule"),
|
||||
housebound_role => Koha::Patron::HouseboundRoles->find($borrowernumber),
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -340,7 +340,6 @@ $template->param(
|
|||
samebranch => $samebranch,
|
||||
quickslip => $quickslip,
|
||||
housebound_role => $patron->housebound_role,
|
||||
HouseboundModule => C4::Context->preference('HouseboundModule'),
|
||||
privacy_guarantor_checkouts => $data->{'privacy_guarantor_checkouts'},
|
||||
activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
|
||||
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue