@@ -, +, @@ --- C4/Letters.pm | 2 +- acqui/lateorders.pl | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) --- a/C4/Letters.pm +++ a/C4/Letters.pm @@ -474,7 +474,7 @@ sub SendAlerts { }; if (!@$externalid){ - carp "No Order seleted"; + carp "No Order selected"; return { error => "no_order_selected" }; } --- a/acqui/lateorders.pl +++ a/acqui/lateorders.pl @@ -115,8 +115,8 @@ if ($op and $op eq "send_alert"){ $template->param(error_claim => $@); } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_email" ) { $template->{VARS}->{'error_claim'} = "no_email"; - } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_seleted"){ - $template->{VARS}->{'error_claim'} = "no_order_seleted"; + } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_selected"){ + $template->{VARS}->{'error_claim'} = "no_order_selected"; } else { $template->{VARS}->{'info_claim'} = 1; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -86,7 +86,7 @@ $(document).ready(function() { [% IF error_claim %] [% IF ( error_claim == "no_email" ) %]
This vendor has no email
- [% ELSIF ( error_claim == "no_order_seleted" ) %] + [% ELSIF ( error_claim == "no_order_selected" ) %]
No order selected
[% ELSE %]
[% error_claim %]
--