Lines 54-60
if ( defined $query->param('modify') && $query->param('modify') eq 'yes' ) {
Link Here
|
54 |
# If they've modified the SMS number, record it. |
54 |
# If they've modified the SMS number, record it. |
55 |
if ( ( defined $query->param('SMSnumber') ) && ( $query->param('SMSnumber') ne $borrower->{'mobile'} ) ) { |
55 |
if ( ( defined $query->param('SMSnumber') ) && ( $query->param('SMSnumber') ne $borrower->{'mobile'} ) ) { |
56 |
ModMember( borrowernumber => $borrowernumber, |
56 |
ModMember( borrowernumber => $borrowernumber, |
57 |
smsalertnumber => $query->param('SMSnumber') ); |
57 |
smsalertnumber => $query->param('SMSnumber'), |
|
|
58 |
sms_provider_id => $query->param('sms_provider_id') |
59 |
); |
58 |
$borrower = GetMemberDetails( $borrowernumber ); |
60 |
$borrower = GetMemberDetails( $borrowernumber ); |
59 |
} |
61 |
} |
60 |
|
62 |
|
Lines 70-73
$template->param( BORROWER_INFO => [ $borrower ],
Link Here
|
70 |
SMSSendDriver => C4::Context->preference("SMSSendDriver"), |
72 |
SMSSendDriver => C4::Context->preference("SMSSendDriver"), |
71 |
TalkingTechItivaPhone => C4::Context->preference("TalkingTechItivaPhoneNotification") ); |
73 |
TalkingTechItivaPhone => C4::Context->preference("TalkingTechItivaPhoneNotification") ); |
72 |
|
74 |
|
|
|
75 |
if ( C4::Context->preference("SMSSendDriver") eq 'Email' ) { |
76 |
my @providers = Koha::SMS::Provider->all(); |
77 |
$template->param( sms_providers => \@providers, sms_provider_id => $borrower->{'sms_provider_id'} ); |
78 |
} |
79 |
|
73 |
output_html_with_http_headers $query, $cookie, $template->output; |
80 |
output_html_with_http_headers $query, $cookie, $template->output; |
74 |
- |
|
|