Lines 84-90
$template->param( messagingview => 1,
Link Here
|
84 |
message_queue => $message_queue, |
84 |
message_queue => $message_queue, |
85 |
DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), |
85 |
DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), |
86 |
borrowernumber => $borrowernumber, |
86 |
borrowernumber => $borrowernumber, |
87 |
branchcode => $borrower->{'branchcode'}, |
|
|
88 |
branchname => GetBranchName($borrower->{'branchcode'}), |
87 |
branchname => GetBranchName($borrower->{'branchcode'}), |
89 |
dateformat => C4::Context->preference("dateformat"), |
88 |
dateformat => C4::Context->preference("dateformat"), |
90 |
categoryname => $borrower->{'description'}, |
89 |
categoryname => $borrower->{'description'}, |
Lines 94-100
$template->param( messagingview => 1,
Link Here
|
94 |
#$messaging_preferences->{'SMSnumber'}{'value'} = defined $borrower->{'smsalertnumber'} |
93 |
#$messaging_preferences->{'SMSnumber'}{'value'} = defined $borrower->{'smsalertnumber'} |
95 |
# ? $borrower->{'smsalertnumber'} : $borrower->{'mobile'}; |
94 |
# ? $borrower->{'smsalertnumber'} : $borrower->{'mobile'}; |
96 |
|
95 |
|
97 |
$template->param( BORROWER_INFO => [ $borrower ], |
96 |
$template->param( %{ $borrower } ); |
|
|
97 |
$template->param( |
98 |
messagingview => 1, |
98 |
messagingview => 1, |
99 |
is_child => ($borrower->{'category_type'} eq 'C'), |
99 |
is_child => ($borrower->{'category_type'} eq 'C'), |
100 |
); |
100 |
); |