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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-2 / +2 lines)
Lines 142-149 Link Here
142
    [% IF error_claim %]
142
    [% IF error_claim %]
143
        [% IF error_claim == 'no_vendor_email' %]
143
        [% IF error_claim == 'no_vendor_email' %]
144
            <div class="dialog alert">This vendor has no email defined for late issues.</div>
144
            <div class="dialog alert">This vendor has no email defined for late issues.</div>
145
        [% ELSIF error_claim == 'no_loggedin_user_email' %]
145
        [% ELSIF error_claim == 'bad_or_missing_sender' %]
146
            <div class="dialog alert">No email is configured for your user.</div>
146
            <div class="dialog alert">Bad or missing sender address; check your branch email address or preference KohaAdminEmailAddress.</div>
147
        [% ELSE %]
147
        [% ELSE %]
148
            <div class="dialog alert">[% error_claim %]</div>
148
            <div class="dialog alert">[% error_claim %]</div>
149
        [% END %]
149
        [% END %]
(-)a/serials/claims.pl (-2 / +1 lines)
Lines 80-86 if (@serialnums) { # i.e. they have been flagged to generate claims Link Here
80
        if ( $err->{error} eq "no_email" ) {
80
        if ( $err->{error} eq "no_email" ) {
81
            $template->param( error_claim => 'no_vendor_email' );
81
            $template->param( error_claim => 'no_vendor_email' );
82
        } elsif ( $err->{error} =~ m|Bad or missing From address| ) {
82
        } elsif ( $err->{error} =~ m|Bad or missing From address| ) {
83
            $template->param( error_claim => 'no_loggedin_user_email' );
83
            $template->param( error_claim => 'bad_or_missing_sender' );
84
        }
84
        }
85
    } else {
85
    } else {
86
        $template->param( info_claim => 1 );
86
        $template->param( info_claim => 1 );
87
- 

Return to bug 17866