Lines 115-122
if ($op and $op eq "send_alert"){
Link Here
|
115 |
$template->param(error_claim => $@); |
115 |
$template->param(error_claim => $@); |
116 |
} elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_email" ) { |
116 |
} elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_email" ) { |
117 |
$template->{VARS}->{'error_claim'} = "no_email"; |
117 |
$template->{VARS}->{'error_claim'} = "no_email"; |
118 |
} elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_seleted"){ |
118 |
} elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_selected"){ |
119 |
$template->{VARS}->{'error_claim'} = "no_order_seleted"; |
119 |
$template->{VARS}->{'error_claim'} = "no_order_selected"; |
120 |
} else { |
120 |
} else { |
121 |
$template->{VARS}->{'info_claim'} = 1; |
121 |
$template->{VARS}->{'info_claim'} = 1; |
122 |
} |
122 |
} |