View | Details | Raw Unified | Return to bug 39658
Collapse All | Expand All

(-)a/members/moremember.pl (-1 / +15 lines)
Lines 114-119 $template->param( Link Here
114
    guarantor_relationships => $guarantor_relationships,
114
    guarantor_relationships => $guarantor_relationships,
115
    guarantees              => \@guarantees,
115
    guarantees              => \@guarantees,
116
);
116
);
117
118
# Get linked accounts if feature is enabled
119
my @linked_accounts;
120
my $linked_accounts_debt = 0;
121
if ( C4::Context->preference('EnablePatronAccountLinking') ) {
122
    @linked_accounts = $patron->linked_accounts->as_list;
123
    if (@linked_accounts) {
124
        $linked_accounts_debt = $patron->linked_accounts_debt;
125
    }
126
}
127
$template->param(
128
    linked_accounts      => \@linked_accounts,
129
    linked_accounts_debt => $linked_accounts_debt,
130
);
131
117
if (    C4::Context->preference('ChildNeedsGuarantor')
132
if (    C4::Context->preference('ChildNeedsGuarantor')
118
    and ( $patron->is_child or $category->can_be_guarantee )
133
    and ( $patron->is_child or $category->can_be_guarantee )
119
    and $patron->contactname eq ""
134
    and $patron->contactname eq ""
120
- 

Return to bug 39658