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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt (-8 / +6 lines)
Lines 59-72 Link Here
59
                            [% IF failure %]
59
                            [% IF failure %]
60
                                <p> There was an error during the discharge process </p>
60
                                <p> There was an error during the discharge process </p>
61
                            [% END %]
61
                            [% END %]
62
                            <div class="alert alert-info">You cannot be discharged because:
62
                            <div class="alert alert-info"
63
                            <ul>
63
                                >You cannot be discharged because:
64
                                [% IF discharge_problems.checkouts %]
64
                                <ul>
65
                                    <li>
65
                                    [% IF discharge_problems.checkouts %]
66
                                        You have [% discharge_problems.checkouts | html %] item(s) checked out.
66
                                        <li> You have [% discharge_problems.checkouts | html %] item(s) checked out. Please return your checked out items before reapplying. </li>
67
                                        Please return your checked out items before reapplying.
67
                                    [% END %]
68
                                    </li>
69
                                [% END %]
70
68
71
                                    [% IF discharge_problems.debt %]
69
                                    [% IF discharge_problems.debt %]
72
                                        <li> You have unpaid charges of [% discharge_problems.debt | $Price %]. Please pay your charges before reapplying. </li>
70
                                        <li> You have unpaid charges of [% discharge_problems.debt | $Price %]. Please pay your charges before reapplying. </li>
(-)a/opac/opac-discharge.pl (-2 / +1 lines)
Lines 78-84 if ( $op eq 'cud-request' ) { Link Here
78
    if ($success) {
78
    if ($success) {
79
        $template->param( success => 1 );
79
        $template->param( success => 1 );
80
    } else {
80
    } else {
81
        $template->param( failure    => 1 );
81
        $template->param( failure => 1 );
82
    }
82
    }
83
} elsif ( $op eq 'get' ) {
83
} elsif ( $op eq 'get' ) {
84
    unless ($available) {
84
    unless ($available) {
85
- 

Return to bug 14250